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

evylrat
Posts: 106
Joined: Sun Jan 02, 2011 6:37 pm

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

Postby evylrat » Tue Feb 28, 2017 3:47 pm

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.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

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

Postby bigfoot65 » Tue Feb 28, 2017 4:45 pm

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

evylrat
Posts: 106
Joined: Sun Jan 02, 2011 6:37 pm

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

Postby evylrat » Thu Mar 02, 2017 5:38 am

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!

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

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

Postby bigfoot65 » Thu Mar 02, 2017 6:02 am

No problem.

Marking as resolved.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Camperdownfamily
Posts: 44
Joined: Tue May 31, 2016 4:29 pm

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

Postby Camperdownfamily » Thu Jul 13, 2017 12:22 pm

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

evylrat
Posts: 106
Joined: Sun Jan 02, 2011 6:37 pm

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

Postby evylrat » Thu Jul 13, 2017 1:45 pm

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!

Camperdownfamily
Posts: 44
Joined: Tue May 31, 2016 4:29 pm

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

Postby Camperdownfamily » Fri Jul 14, 2017 12:31 am

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.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

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

Postby bigfoot65 » Fri Jul 14, 2017 1:51 pm

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 15 guests