-
-
Notifications
You must be signed in to change notification settings - Fork 582
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to update? #272
Comments
git pull and rebuild |
Sadly I have no luck when I try: sudo git pull https://github.com/mikebrady/shairport-sync.git Mike did such a fabulous job of explaining how to install this wonderful project, all that is now need is for novices like myself to know exactly step by step how to update! |
Hi there. Thanks for the kind words. To do an update, you basically have to go through the whole process again, but a few steps are shorter because you've done them before: you won't have to reinstall the build tools or libraries needed, and you won't have to define the user and group or reconfigure the settings in the configuration file. But before you begin, you should update and upgrade any packages. Here is the sequence for Raspbian Jessie, which is based on Debian Jessie. The same commands work for Ubuntu, and maybe more. Here, a non-
Next, stop playing music to your device. Now, to update and install Shairport Sync, if you still have the directory in which you previously compiled Shairport Sync, navigate your way to it and execute the command:
Otherwise, just pull Shairport Sync from
Now, while in the
At this point you have downloaded, compiled and installed the updated Shairport Sync. However, the older version is still running. So, you need to do a little more: If you are on a
Otherwise execute the following command:
That's it. Your Shairport Sync should be upgraded now. |
I cannot thank you enough for that guide! You have slowly but surely turned me from a consumer into a creator... not to your level, but now instead I can make physical things! |
@mikebrady it would be awesome if "make install" wouldn't replace systemd service file if it is present. Another fine idea would be to add "wildcards" for hostname and version in setting that can be used in shairport-sync name. |
@roblan maybe you should create separate issue? |
As this still pops up when googling for shairport-sync update: |
I apologise for posting this here, but I've search the internet to no avail!
How to you update an existing install of Shairport Sync?
Git pull?
Or is there a more suitable way?
Thank you!
The text was updated successfully, but these errors were encountered: