Page 1 of 1

Auto update ?

Posted: July 28th, 2011, 10:49 am
by rascalli
Would it be possible to build in an auto-update feature ?

We have so many new releases , that it is sometimes difficult to keep up.
This way it will be much easier for users.

Re: Auto update ?

Posted: July 28th, 2011, 10:59 am
by shypike
I don't enjoy writing installation software (like NSIS).
Volunteers?
Besides, do you need every release :)

Re: Auto update ?

Posted: July 28th, 2011, 2:29 pm
by rascalli
some people do ;-)

well I was more looking at an update system like SB & CP have .. or is that also installation software ?

Re: Auto update ?

Posted: July 28th, 2011, 3:11 pm
by shypike
Honestly, I haven't looked at it yet.
It's one of those 200 things that need to be done.

Re: Auto update ?

Posted: July 29th, 2011, 12:21 am
by rascalli
I can understand that.
Also the reason I am asking is for example for an QNAP they make an QPKG (auto install script)
And for every release , a new QPKG needs to be made (as there are always people who want the latest release)

So for this it would be very easy .. or maybe you have an idea how it can be done auto ?
Maybe fetch the binaries auto or something ?

Re: Auto update ?

Posted: July 29th, 2011, 1:31 am
by shypike
We could only ever make an auto-update for binaries we make ourselves.
So that's Windows and OSX.
We cannot do anything for third-party package creators.

Re: Auto update ?

Posted: July 29th, 2011, 9:09 am
by rascalli
Yep I know that.

But as I said SB & CP also have the auto updater (in git/source) works perfect.
And third package creators then build around the app updater there app , so it would use the sabnzbd+ update feature

Re: Auto update ?

Posted: July 29th, 2011, 9:26 am
by shypike
Auto-update based on Git, I guess.
I was thinking more about auto-update for "normal" users :)

Re: Auto update ?

Posted: July 29th, 2011, 9:44 am
by sander
I don't use SB & CP, so here's a question: do SB & CP check whether they can update themselves? On Windows I normally use an account without admin rights, and some programs I use try to update themselves which is not possible under that account as the apps were installed under the admin account. (Hopefully this explanation is clear).

FWIW: on Ubuntu Linux, I always run SABnzbd from the source unpacked in my home directory. So that SABnzbd could update itself: I'm the owner of the directory and files.
FWIW2: I always unpack SABnzbd into a directory "SABnzbd-<version>" like ~/SABnzbd-0.6.6. I then move the old SAB version into the directory ~/old-SABs. That way I can always "cd; cd SAB<tab>; ./SAB<tab>" to start SABnzbd.

Re: Auto update ?

Posted: July 30th, 2011, 2:15 am
by rascalli
SB & CP check every so much time if there is an update.
If so then they get a BUtton UPDATE NOW & a link to the change log

Works also for the windows exe package

And then if you want to update , you just clivk on the UPDATE NOW button

Re: Auto update ?

Posted: July 30th, 2011, 7:42 am
by sl1000
+1, saves me a lot of time :)
Else i'm going to build a script into the qpkg that checks sourceforge for a new version. Allthough creating a qpkg for sab doesn't take me long (~3-5 minutes), having to do it every week takes the fun out of it a little bit :+

Re: Auto update ?

Posted: September 15th, 2011, 12:11 am
by adi21
Thanks for taking tym to help!!!!

Re: Auto update ?

Posted: July 16th, 2012, 2:54 am
by tripkip
I'd love this!

Re: Auto update ?

Posted: July 16th, 2012, 11:51 pm
by sl1000
@tripkip: For the qnap nas systems i've made a auto update version, that automatically can grab a new version. works fine :)

Re: Auto update ?

Posted: August 16th, 2012, 3:56 am
by tripkip
sl1000 wrote:@tripkip: For the qnap nas systems i've made a auto update version, that automatically can grab a new version. works fine :)
I have a dedicated server not a QNAP, could you explain how you've done it. Maybe you could help the SAB dev's to implement this?