Changes

From Amahi Wiki
Jump to: navigation, search
446 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 />
All To update to the steps below should be executed as root.latest version available, do the following:
== Option 1 * [[open_terminal|As root user]], execute yum update amahi- Use the Greyhole YUM repository ==greyhole
1'''NOTE:''' The <b>ONLY</b> officially supported Greyhole package for Amahi 7 or greater is available from the Amahi repository. The Greyhole web site no longer provides updates for Amahi. If you didn't already, add the Greyhole YUM repository attempt to your YUM configuration.{{Code|curl install anything other than amahi-o /etc/yum.repos.d/greyhole, it could render your HDA inoperable.repo http://www.greyhole.net/releases/rpm/greyhole.repo.disabled}}
2. If you want to use this repository every time yum is used ==Ubuntu==Amahi releases new versions of Greyhole (including for Amahi automatic updatesGH), change after they've been tested. ''''/etc/yum.reposOfficial Greyhole for Amahi on Ubuntu 12.d/greyhole04.repo''''' from:{{Text|Text=enabled<nowiki>=</nowiki>0}}to {{Text|Text=enabled<nowiki>=</nowiki>1}}'''NOTEx:''' You can safely skip this step if you want to manually update in the future0.9.22
3=== Greyhole Repo ===Use the Greyhole APT repository. Update hda-greyhole If you didn't already, add the Greyhole APT repository to the latest version: your APT configuration.{{Code|yum - sudo sh -enablerepoc 'echo "deb <nowiki>=http://www.greyhole.net/releases/deb</nowiki>stable main" > /etc/apt/sources.list.d/greyhole update hda.list' curl -s <nowiki>http://www.greyhole}}.net/releases/deb/greyhole-debsig.asc</nowiki> | sudo apt-key add - sudo apt-get update
== 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>Browse the [http://www.greyhole.net/downloadreleases/deb/archive] and copy the link for the latest greyhole.</blockquotebr>
3. Browse the archive and copy the link Back to terminal, make sure you execute as root (sudo). Example update command for the latest hda64-greyhole (Amahi needs hda-greyhole, the regular greyhole will conflict)bit:<br> wget <blockquotenowiki>http://www.greyhole.net/downloadreleases/deb/archivesgreyhole-0.9.31-1.amd64.htmldeb</blockquotenowiki> sudo dpkg -i greyhole-0.9.31-1.amd64.deb
4. Back to terminal, make sure you are root (su). Example update command:<br>Check the GH log for any errors that might have occurred after the upgrade{{Code|rpm tail -Uvh http://www.greyhole.net/releasesf /rpmvar/`uname -i`log/hda-greyhole-0.9.13-1.`uname -i`.rpm}}log
 5. Check the GH log for any errors that might have occurred after the upgrade{{Code|tail -f /var/log/greyhole.log}} 6. Re-check the version of your newly updated Greyhole install, and enjoy!{{Code|rpm -q hda- sudo 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 following command to reinstall the currently installed RPM:<br>{{Code|rpm -Uvh --force http://www.greyhole.net/releases/rpm/`uname -i`/`rpm -qa hda-greyhole`.rpm}} Use the following command to verify that the Samba symlink was indeed created:{{Code|ls -l /usr/lib*/samba/vfs/greyhole.so}}
12,424

edits