Page 1 of 1

Update Available even though already at current

Posted: August 6th, 2012, 9:40 pm
by zippyd00
Version: 0.7.3
OS: Ubuntu 12.04
Install-type: Python source (http://sourceforge.net/projects/sabnzbd ... lus/0.7.3/)

I have this annoying issue where even though I have upgraded to the current version (delete old files > unpack new in same dir), SABnzbd still shows the "Update Available!" link at the top and also shows 0.7.1 in Config > General > Version. PKG-INFO, README.txt, etc. all show 0.7.3. It happened when I first went to 0.7.2 as well so it's not a new issue. Base install was 0.7.1 on a clean Ubuntu server 12.04.

Primarily, I just need confirmation that I am indeed running 0.7.3, even though logic says I am. But why the mismatch? Thanks.

Re: Help With Categories

Posted: August 7th, 2012, 12:16 am
by shypike
You are aware that the tar.gz contains a base folder contains the version number?
If it says 0.7.1, its very likely that it is.
Quick check: does Config->Servers have hide/show buttuns?

Re: Update Available even though already at current

Posted: August 7th, 2012, 6:46 am
by zippyd00
No hide/show buttons in Config > Servers.

Here's what I did for 0.7.2 > 0.7.3:

1. Home dir
2. sudo service sabnzbd stop
3. wget http://downloads.sourceforge.net/projec ... src.tar.gz
4. Source package SABnzbd-0.7.3-src.tar.gz expands to dir SABnzbd-0.7.3
5. Contents of SABnzbd-0.7.3 dir are moved to /opt/sabnzbd
6. sudo service sabnzbd start

The same process was used for 0.7.1 > 0.7.2 as well, but the running app still says 0.7.1 each time.

Re: Update Available even though already at current

Posted: August 7th, 2012, 6:50 am
by shypike
zippyd00 wrote:No hide/show buttons in Config > Servers.
You are not running 0.7.3.
Something goes wrong in your move process.
You may need to delete all .pyc and .pyo files in the destination before each update.
Those are the compiled forms of the sources.

Re: Update Available even though already at current

Posted: August 7th, 2012, 9:28 am
by zippyd00
I figured it out and it was a stupid mistake.

0.7.1 was running from /usr/local/src/SABnzbd from my first install before I added CouchPotatoServer, Sick Beard, etc. to the server and consolidated everything to /opt.

I forgot to update my init.d script to point to the new location. All is well. Thanks for the sanity check.

-zd