Auto update ?

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
User avatar
rascalli
Moderator
Moderator
Posts: 656
Joined: January 18th, 2008, 12:30 am
Location: Bossche bollen land

Auto update ?

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Auto update ?

Post by shypike »

I don't enjoy writing installation software (like NSIS).
Volunteers?
Besides, do you need every release :)
User avatar
rascalli
Moderator
Moderator
Posts: 656
Joined: January 18th, 2008, 12:30 am
Location: Bossche bollen land

Re: Auto update ?

Post by rascalli »

some people do ;-)

well I was more looking at an update system like SB & CP have .. or is that also installation software ?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Auto update ?

Post by shypike »

Honestly, I haven't looked at it yet.
It's one of those 200 things that need to be done.
User avatar
rascalli
Moderator
Moderator
Posts: 656
Joined: January 18th, 2008, 12:30 am
Location: Bossche bollen land

Re: Auto update ?

Post 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 ?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Auto update ?

Post 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.
User avatar
rascalli
Moderator
Moderator
Posts: 656
Joined: January 18th, 2008, 12:30 am
Location: Bossche bollen land

Re: Auto update ?

Post 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
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Auto update ?

Post by shypike »

Auto-update based on Git, I guess.
I was thinking more about auto-update for "normal" users :)
User avatar
sander
Release Testers
Release Testers
Posts: 9061
Joined: January 22nd, 2008, 2:22 pm

Re: Auto update ?

Post 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.
User avatar
rascalli
Moderator
Moderator
Posts: 656
Joined: January 18th, 2008, 12:30 am
Location: Bossche bollen land

Re: Auto update ?

Post 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
sl1000
Newbie
Newbie
Posts: 29
Joined: August 7th, 2010, 4:16 am

Re: Auto update ?

Post 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 :+
adi21
Newbie
Newbie
Posts: 1
Joined: September 14th, 2011, 11:59 pm

Re: Auto update ?

Post by adi21 »

Thanks for taking tym to help!!!!
tripkip
Newbie
Newbie
Posts: 16
Joined: November 8th, 2011, 4:55 am

Re: Auto update ?

Post by tripkip »

I'd love this!
sl1000
Newbie
Newbie
Posts: 29
Joined: August 7th, 2010, 4:16 am

Re: Auto update ?

Post by sl1000 »

@tripkip: For the qnap nas systems i've made a auto update version, that automatically can grab a new version. works fine :)
tripkip
Newbie
Newbie
Posts: 16
Joined: November 8th, 2011, 4:55 am

Re: Auto update ?

Post 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?
Post Reply