Difference between revisions of "Greyhole updating"

From Amahi Wiki
Jump to: navigation, search
Line 11: Line 11:
 
3. Browse the archive and copy the link for the latest hda-greyhole (Amahi needs hda-greyhole, the regular greyhole will conflict)
 
3. Browse the archive and copy the link for the latest hda-greyhole (Amahi needs hda-greyhole, the regular greyhole will conflict)
 
<blockquote>http://www.greyhole.net/download/archives.html</blockquote>
 
<blockquote>http://www.greyhole.net/download/archives.html</blockquote>
 
: Unsure whether you have i386 or x86_64? Run in terminal:
 
{{Code|uname -i}}
 
  
 
4. Back to terminal, make sure you are root (su). Example update command:<br>
 
4. Back to terminal, make sure you are root (su). Example update command:<br>

Revision as of 18:24, 11 September 2011

Disclaimer

Amahi releases new versions of Greyhole (GH) after they've been tested. If you follow this guide to update your GH install manually you do so on your own risk. If it breaks, it's on you.

Instructions

1. Find current version:

bash code
​rpm -q hda-greyhole​


2. Is there a new version?

http://www.greyhole.net/download/

3. Browse the archive and copy the link for the latest hda-greyhole (Amahi needs hda-greyhole, the regular greyhole will conflict)

http://www.greyhole.net/download/archives.html

4. Back to terminal, make sure you are root (su). Example update command:

bash code
​rpm -Uvh http://www.greyhole.net/releases/hda-greyhole-0.9.12-1.`uname -i`.rpm​

5. Check the GH log for any errors that might have occurred after the upgrade

bash code
​nano /var/log/greyhole.log​


6. Re-check the version of your newly updated Greyhole install, and enjoy!

bash code
​rpm -q hda-greyhole​


Troubleshooting

Can't access your shares after you upgraded ? Try to re-install the same RPM a second time. Sometimes, the script included in the RPM can't create the Greyhole module for Samba where it should, and this will cause your Greyhole pooled shares to become unaccessible. Re-installing the same RPM a second time always fix that issue. Use the same command but add the --force parameter

bash code
​rpm -Uvh http://www.greyhole.net/releases/hda-greyhole-0.9.12-1.`uname -i`.rpm --force​

Use the following command to verify that the Samba symlink was indeed created:

bash code
​ls -l /usr/lib*/samba/vfs/greyhole.so​