Updating greyhole to 0.9.7

geekraver
Posts: 43
Joined: Fri Aug 14, 2009 9:06 am

Updating greyhole to 0.9.7

Postby geekraver » Sun May 22, 2011 1:48 pm

I notice the version that ships with Amahi is 0.9.2 but there was a bugfix in 0.9.7 I really need. Is it safe to uninstall hda-greyhole and install greyhole-0.9.7, or are there customizations in hda-greyhole I will lose?

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

Re: Updating greyhole to 0.9.7

Postby bigfoot65 » Mon May 23, 2011 5:03 am

I NOT would recommend it. The Amahi version integrates with the dashboard. There may be other minor customizations, but recommend you wait for the Amahi version to be upgraded.

Of course its your box, so you can try it if you choose. Be aware we will be unable to provide support.
ßîgƒσστ65
Applications Manager

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

geekraver
Posts: 43
Joined: Fri Aug 14, 2009 9:06 am

Re: Updating greyhole to 0.9.7

Postby geekraver » Mon May 23, 2011 8:36 am

I'll wait. For now I have turned off making additional copies to prevent the bug from happening.

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

Re: Updating greyhole to 0.9.7

Postby bigfoot65 » Mon May 23, 2011 2:25 pm

Not sure what the bug is as I have not had any issues with the current version. Probably a good idea to wait though.
ßîgƒσστ65
Applications Manager

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

geekraver
Posts: 43
Joined: Fri Aug 14, 2009 9:06 am

Re: Updating greyhole to 0.9.7

Postby geekraver » Mon May 23, 2011 9:14 pm

You can get into a state where there are tombstones that are marked as pending that don't get out of that state.

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: Updating greyhole to 0.9.7

Postby gboudreau » Fri May 27, 2011 4:02 am

You can find the 0.9.7 hda-greyhole RPM in the Archives page: http://www.greyhole.net/download/archives.html

Specifically, install with:

Code: Select all

rpm -Uvh http://www.greyhole.net/releases/hda-greyhole-0.9.7-1.`uname -i`.rpm
- Guillaume Boudreau

t0bbe
Posts: 38
Joined: Mon Apr 26, 2010 5:09 am

Re: Updating greyhole to 0.9.7

Postby t0bbe » Thu Jun 02, 2011 12:03 pm

I was trying to install the latest version by the instructions above, but I get the following error message.
I assume from the error message that I first have to update samba, how do I go about doing that, and is it safe to do or do I risk breaking something in Amahi?

Code: Select all

rpm -Uvh http://www.greyhole.net/releases/hda-greyhole-0.9.7-1.`uname -i`.rpm Retrieving http://www.greyhole.net/releases/hda-greyhole-0.9.7-1.i386.rpm error: Failed dependencies: samba >= 3.4.3 is needed by hda-greyhole-0.9.7-1.i386

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: Updating greyhole to 0.9.7

Postby gboudreau » Thu Jun 02, 2011 12:10 pm

Code: Select all

sudo yum update samba
Perfectly safe to do, and you should do it.
Anything below that is just not compatible with Greyhole: there is a bug in those older versions that will prevent you from being able to delete files from Greyhole shares.
- Guillaume Boudreau

t0bbe
Posts: 38
Joined: Mon Apr 26, 2010 5:09 am

Re: Updating greyhole to 0.9.7

Postby t0bbe » Thu Jun 02, 2011 12:56 pm

Thanks for the quick reply!
I updated samba, then greyhole, then rebooted.
But now greyhole doesn't start, there seems to be a problem connecting to the database.
From /var/log/greyhole.log:

Code: Select all

Jun 02 21:55:27 4 daemon: PHP Warning [8]: Undefined property: stdClass::$host in /usr/bin/greyhole on line 999 Jun 02 21:55:27 4 daemon: PHP Warning [8]: Undefined property: stdClass::$user in /usr/bin/greyhole on line 999 Jun 02 21:55:27 4 daemon: PHP Warning [8]: Undefined property: stdClass::$pass in /usr/bin/greyhole on line 999 Jun 02 21:55:27 4 daemon: PHP Warning [2]: mysql_connect(): Access denied for user 'root'@'localhost' (using password: NO) in /usr/bin/greyhole on line 999 Jun 02 21:55:27 2 daemon: Can't connect to sqlite database.

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: Updating greyhole to 0.9.7

Postby gboudreau » Thu Jun 02, 2011 1:04 pm

- Guillaume Boudreau

Who is online

Users browsing this forum: No registered users and 65 guests