Changes

From Amahi Wiki
Jump to: navigation, search
502 bytes removed ,  01:28, 25 March 2016
{{MessageBox|backgroundcolor =#FBB|image = Disclaimer Warning.png|heading =WARNING|message =Amahi releases new versions of Greyhole (GH) after they've been tested. If you follow this guide to update your GH install Greyhole manually you do so on your own risk. If it breaks, it's on you. All the steps below should be executed as root.}}== Fedora ==Amahi releases new versions of Greyhole (GH) after they've been tested.<br />
'''Official Greyhole for Amahi on Fedora 14To update to the latest version available, do the following:''' 0.9.2
All the steps below should be executed as * [[open_terminal|As root.user]], execute yum update amahi-greyhole
== Option 1 - Use '''NOTE:''' The <b>ONLY</b> officially supported Greyhole package for Amahi 7 or greater is available from the Amahi repository. The Greyhole YUM repository ==web site no longer provides updates for Amahi. If you attempt to install anything other than amahi-greyhole, it could render your HDA inoperable.
1==Ubuntu==Amahi releases new versions of Greyhole (GH) after they've been tested. If you didn't already, add the ''Official Greyhole YUM repository to your YUM configuration.{{Code|curl -o /etc/yumfor Amahi on Ubuntu 12.repos04.d/greyhole.repo httpx://www.greyhole.net/releases/rpm/greyhole''' 0.repo9.disabled}}22
2=== Greyhole Repo ===Use the Greyhole APT repository. If you want didn't already, add the Greyhole APT repository to use this repository every time yum is used (including for Amahi automatic updates), change ''''your APT configuration. sudo sh -c 'echo "deb <nowiki>http://www.greyhole.net/releases/deb</nowiki> stable main" > /etc/yumapt/sources.reposlist.d/greyhole.repolist''''' from:{{Text|Text=enabled curl -s <nowiki>=http://www.greyhole.net/releases/deb/greyhole-debsig.asc</nowiki>0}}to {{Text|Text=enabled<nowiki>=</nowiki>1}}sudo apt-key add -'''NOTE:''' You can safely skip this step if you want to manually sudo apt-get update in the future.
3. Update hda-greyhole to the latest version: {{Code|yum --enablerepo<nowiki>=</nowiki>greyhole update hda-greyhole}} == Option 2 - Manual install ===Manually install the latest RPM ==DEB package.
1. Find current version:
{{Code|rpm -q hda- sudo greyhole}} 2. Is there a new version?<br><blockquote>http://www.greyhole.net/download/</blockquote> 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> 4. Back to terminal, make sure you are root (su). Example update command:<br>{{Code|rpm -Uvh http://www.greyhole.net/releases/rpm/`uname -i`/hda-greyhole-0.9.13-1.`uname -i`.rpm}} 
52. Check Is there a new version? Browse the GH log for any errors that might have occurred after the upgrade{{Code|tail -f [http://www.greyhole.net/varreleases/logdeb/archive] and copy the link for the latest greyhole.log}}<br>
63. ReBack to terminal, make sure you execute as root (sudo). Example update command for 64-check the version of your newly updated Greyhole install, and enjoy!bit:<br>{{Code|rpm wget <nowiki>http://www.greyhole.net/releases/deb/greyhole-q hda0.9.31-1.amd64.deb</nowiki> sudo dpkg -i greyhole}}-0.9.31-1.amd64.deb
=== Troubleshooting ==='''Can't access your shares after you upgraded ?'''Try to re-install the same RPM a second time4. Sometimes, the script included in the RPM can't create Check the Greyhole module GH log 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 any errors that issue. Use the following command to reinstall might have occurred after the currently installed RPM:<br>upgrade{{Code|rpm -Uvh - tail -force http://www.greyhole.net/releasesf /rpmvar/`uname -i`log/`rpm -qa hda-greyhole`.rpm}}log
Use 5. Re-check the following command to verify that the Samba symlink was indeed created:version of your newly updated Greyhole install, and enjoy!{{Code|ls -l /usr/lib*/samba/vfs/ sudo greyhole.so}}
12,424

edits