shokinn 9 Posted November 13, 2018 Share Posted November 13, 2018 Hi all,I've refactored the whole script and written it in python, which gives me the ability to program it more precisely. For all who don't like dependencies there is a binary version thanks to PyInstaller.The new script works from Ubuntu 18.04 (I didn't tested the 17.x releases, 16.04 doesn't work because it is using python 3.5).Repo:https://github.com/shokinn/emby-updaterReleases (binary version):https://github.com/shokinn/emby-updater/releasesPull requests are welcome With this post my old script is now deprecated. But if you still need it here is the link the the last version: last-bash-versionThis post might be interesting for:@@mgworek @@ulrick65 @@pglbrookes @@terratec @@tdiguy 1 Link to comment Share on other sites More sharing options...
mgworek 121 Posted November 13, 2018 Share Posted November 13, 2018 Hi all, I've refactored the whole script and written it in python, which gives me the ability to program it more precisely. For all who don't like dependencies there is a binary version thanks to PyInstaller. The new script works from Ubuntu 18.04 (I didn't tested the 17.x releases, 16.04 doesn't work because it is using python 3.5). Repo: https://github.com/shokinn/emby-updater Releases (binary version): https://github.com/shokinn/emby-updater/releases Pull requests are welcome With this post my old script is now deprecated. But if you still need it here is the link the the last version: last-bash-version This post might be interesting for: @@mgworek @@ulrick65 @@pglbrookes @@terratec @@tdiguy Thanks for this! I got it installed and running. Link to comment Share on other sites More sharing options...
ulrick65 20 Posted December 8, 2018 Share Posted December 8, 2018 Hi all, I've refactored the whole script and written it in python, which gives me the ability to program it more precisely. For all who don't like dependencies there is a binary version thanks to PyInstaller. The new script works from Ubuntu 18.04 (I didn't tested the 17.x releases, 16.04 doesn't work because it is using python 3.5). Repo: https://github.com/shokinn/emby-updater Releases (binary version): https://github.com/shokinn/emby-updater/releases Pull requests are welcome With this post my old script is now deprecated. But if you still need it here is the link the the last version: last-bash-version This post might be interesting for: @@mgworek @@ulrick65 @@pglbrookes @@terratec @@tdiguy Thanks for the update. I am still running Ubuntu 17.1 (just can't find the time to upgrade!) I installed it, but there is currently no update to test it on...but I did run it and got the message that "No update is available"... Appreciate this...it is very helpful. Link to comment Share on other sites More sharing options...
shokinn 9 Posted December 8, 2018 Share Posted December 8, 2018 @@ulrick65Yupp, this means it is working If your are not on the beta you can try the `--beta` option to show the latest beta release (you will be asked if you want to update unless you use the `--yes` option).Thanks Link to comment Share on other sites More sharing options...
ulrick65 20 Posted December 8, 2018 Share Posted December 8, 2018 @@ulrick65 Yupp, this means it is working If your are not on the beta you can try the `--beta` option to show the latest beta release (you will be asked if you want to update unless you use the `--yes` option). Thanks That works...asked if I wanted to update to 3.6.0.75-beta. I answered no... 1 Link to comment Share on other sites More sharing options...
mgworek 121 Posted January 21, 2019 Share Posted January 21, 2019 @@shokinn is everything working with the script? My server is telling me there is a new beta version but your script is saying there are no updates. First time it hasn't worked. Link to comment Share on other sites More sharing options...
shokinn 9 Posted January 22, 2019 Share Posted January 22, 2019 @@mgworekYeah well, shit -.-the release 4.0.1.0 is published after the beta 4.1.0.1-beta so the version 4.0.1.0 is in the GitHub api on the top. -.-Anyways I fixed it.Version: 0.7.1:https://github.com/shokinn/emby-updater/releases/tag/0.7.1 1 Link to comment Share on other sites More sharing options...
mgworek 121 Posted January 22, 2019 Share Posted January 22, 2019 awesome thanks! I'm having a brain fart, what directory does the script go in again? I copied it to emby-updater directory but its still showing 0.7.0 for me. I also tried emby-updater.py --update to update the script but it said it couldn't find any releases. Sorry, not feeling the greatest today. Link to comment Share on other sites More sharing options...
shokinn 9 Posted January 22, 2019 Share Posted January 22, 2019 (edited) mhh looks also broken ':DFor now I recommend that you just download the new version from the github page.I don't know where you put the program.Try `which emby-updater`, maybe it's in your path and shows you the containing directory Edit: yes it is totally broken due to my stupidity -.-Will fix it tomorrow. Edited January 22, 2019 by shokinn 1 Link to comment Share on other sites More sharing options...
mgworek 121 Posted January 22, 2019 Share Posted January 22, 2019 mhh looks also broken ':D For now I recommend that you just download the new version from the github page. I don't know where you put the program. Try `which emby-updater`, maybe it's in your path and shows you the containing directory Edit: yes it is totally broken due to my stupidity -.- Will fix it tomorrow. Thanks!! Link to comment Share on other sites More sharing options...
shokinn 9 Posted January 31, 2019 Share Posted January 31, 2019 (edited) Edited January 31, 2019 by shokinn 1 Link to comment Share on other sites More sharing options...
halfrican 0 Posted November 24, 2019 Share Posted November 24, 2019 (edited) @@shokinn could you please advise best practice of running this a cron job daily? Edit: I think I figured it out, I created a daily Cron Job calling the script (as root) with the "-- yes" argument to allow for automated prompts. Does this sound correct? Edited November 24, 2019 by halfrican Link to comment Share on other sites More sharing options...
shokinn 9 Posted November 25, 2019 Share Posted November 25, 2019 @@halfricanYupp, that is correct.I wouldn't recommend to run this as cron job.But it's more a personal decision.I like to read the change log and update a bit later to avoid the most problems.If you're fine with getting always the current version as fast as possible than you should be fine Btw. I change my deployment to the Docker container and now I Just throw the old one away and replace it with the new one.You can even made this automatically with watchtower.**Yes I'll still maintain the update script for VM/Bare metal installations 1 Link to comment Share on other sites More sharing options...
ulrick65 20 Posted November 29, 2019 Share Posted November 29, 2019 @@halfrican Yupp, that is correct. I wouldn't recommend to run this as cron job. But it's more a personal decision. I like to read the change log and update a bit later to avoid the most problems. If you're fine with getting always the current version as fast as possible than you should be fine Btw. I change my deployment to the Docker container and now I Just throw the old one away and replace it with the new one. You can even made this automatically with watchtower.* *Yes I'll still maintain the update script for VM/Bare metal installations I played around with Docker and have installed some containers for some things, but I struggle with the benefit. Out of curiosity (and for my learning) why did you opt to go that route here? What's the benefit for you? Thanks. Link to comment Share on other sites More sharing options...
shokinn 9 Posted November 29, 2019 Share Posted November 29, 2019 I played around with Docker and have installed some containers for some things, but I struggle with the benefit. Out of curiosity (and for my learning) why did you opt to go that route here? What's the benefit for you? Thanks. It's easier to maintain and update for me. Since my server stack has around 12 services, which are also often changing, I find it easier to configure an remove complete services without a messed up system. I'm also able to handle routing and firewalling between my services instead of having them all in the same network. Link to comment Share on other sites More sharing options...
tdiguy 96 Posted November 29, 2019 Share Posted November 29, 2019 It's easier to maintain and update for me. Since my server stack has around 12 services, which are also often changing, I find it easier to configure an remove complete services without a messed up system. I'm also able to handle routing and firewalling between my services instead of having them all in the same network. For a setup like that virtualization is handy because something that requires the machine to reboot in order to update no longer really means rebooting the machine, just the virtualization running that service. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now