Page 1 of 1

SOLVED: WARN initialize: Deprecated option found in greyhole.conf

Posted: Tue Feb 28, 2017 3:47 pm
by evylrat
Today when I noticed some files disappearing overnight (-fsck -o restored them) I noticed an issue in the logfile.

Entry in /var/log/greyhole.log

Code: Select all

WARN initialize: Deprecated option found in greyhole.conf: storage_pool_directory. You should change that to: storage_pool_drive
This is repeated several times a minute, the log file is growing rapidly.

Entries in /etc/greyhole.conf

Code: Select all

storage_pool_directory = /var/hda/files/drives/nas1/gh, min_free: 10gb storage_pool_directory = /var/hda/files/drives/nas2/gh, min_free: 10gb storage_pool_directory = /var/hda/files/drives/nas3/gh, min_free: 10gb
Can't find the entry in /var/hda/platform/html/config/greyhole.yml that affects this.

Versions

Code: Select all

4.4.9-300.fc23.x86_64 samba-4.3.9-0.fc23.x86_64 amahi-greyhole-0.10.2-1.x86_64
result from
mysql -u root -phda -e "select * from disk_pool_partitions" hda_production

Code: Select all

+----+------------------------------+--------------+---------------------+---------------------+ | id | path | minimum_free | created_at | updated_at | +----+------------------------------+--------------+---------------------+---------------------+ | 1 | /var/hda/files/drives/nas1 | 10 | 2016-05-15 20:56:07 | 2016-05-15 20:56:07 | | 3 | /var/hda/files/drives/drive3 | 10 | 2016-05-15 21:05:36 | 2016-05-15 21:05:36 | | 6 | /var/hda/files/drives/nas2 | 10 | 2016-05-17 17:59:30 | 2016-05-17 17:59:30 | | 8 | /var/hda/files/drives/nas3 | 10 | 2016-05-18 17:52:39 | 2016-05-18 17:52:39 | +----+------------------------------+--------------+---------------------+---------------------+
/var/hda/files/drives/drive1, /var/hda/files/drives/drive2 and /var/hda/files/drives/drive3 where from a previous version of Amahi and don't exist physically

Results from mysql -u root -phda -e "select concat(path, '/gh') from disk_pool_partitions" \
hda_production | grep -v 'concat(' | xargs ls -la

Code: Select all

ls: cannot access /var/hda/files/drives/drive3/gh: No such file or directory /var/hda/files/drives/nas1/gh: total 108 /var/hda/files/drives/nas2/gh: total 108 /var/hda/files/drives/nas3/gh: total 96
Any advice? Anyone else seen this in their logfile? Thanks in advance.

Re: WARN initialize: Deprecated option found in greyhole.conf

Posted: Tue Feb 28, 2017 4:45 pm
by bigfoot65
Can't find the entry in /var/hda/platform/html/config/greyhole.yml that affects this.
You can manually change it in /etc/greyhole.conf file.

The greyhole-ui App has already been updated.

You would need to uninstall/reinstall the app. But remember you will have to redo your settings.

Recommend you make the manual change and restart Greyhole. If you are not using then app then no further action is needed. Otherwise, you will need to update to the latest app version.

Re: WARN initialize: Deprecated option found in greyhole.conf

Posted: Thu Mar 02, 2017 5:38 am
by evylrat
I haven't utilized the app much. I will make the manual change (considered that yesterday, decided to check with the masters). I'll probably update the app at some point, so I'll make sure I've got all the settings recorded somewhere.

Just confirmed. greyhole.conf edited, service restarted, warning message no longer there.

Thanks!

Re: WARN initialize: Deprecated option found in greyhole.conf

Posted: Thu Mar 02, 2017 6:02 am
by bigfoot65
No problem.

Marking as resolved.

Re: SOLVED: WARN initialize: Deprecated option found in greyhole.conf

Posted: Thu Jul 13, 2017 12:22 pm
by Camperdownfamily
Hi, I am having the same error appearing, but I don't know how to edit the greyhole.conf file. I am very inexperienced when it comes to Linux.

Can anyone give me some step-by-step instructions of what to do?

Thank you in advance

Re: SOLVED: WARN initialize: Deprecated option found in greyhole.conf

Posted: Thu Jul 13, 2017 1:45 pm
by evylrat
Well, being a bit scared of Linux myself I cheat and use WinSCP from my windows PC to edit the file (as root user I think). Then I just used putty to remote to the box and restart greyhole. BUT I imagine there'll be much better advice to follow this post!

Re: SOLVED: WARN initialize: Deprecated option found in greyhole.conf

Posted: Fri Jul 14, 2017 12:31 am
by Camperdownfamily
I'm sorry, but even that level of detail doesn't tell me what to do.

I run Amahi on a VMWare virtual server, so through VMWare console I can access the command line interface on the Amahi server. All my PCs are Windows PCs so I can also access the server dashboard through a browser. I am familiar with tinkering in DOS and Windows, but I'm afraid when you say you use putty, for example - I have no idea what that is.

I literally need someone to give me step by step instructions as I have no familiarity with the Linux terms.

Re: SOLVED: WARN initialize: Deprecated option found in greyhole.conf

Posted: Fri Jul 14, 2017 1:51 pm
by bigfoot65
If you intend to run a Linux server, recommend you learn some basic Linux commands. There are many tutorials on the internet on how to edit files. Just like Windows, there comes a time when you have to learn command line syntax.

We typically don't provide that level of detail unless you want to obtain paid support.

Maybe the community can assist with the details you need.

BTW we'd appreciate if you started a new thread in the future vs using one marked as SOLVED. Minimizes confusion for all.