SAbnzbd Plus hanging on install

guerilla
Posts: 65
Joined: Thu Jan 13, 2011 3:11 pm

SAbnzbd Plus hanging on install

Postby guerilla » Mon Apr 08, 2013 3:30 am

I tired to update my version of sabnzbd plus today by uninstalling and reinstalling the one click app. However when tryin to reinstall it just hangs on the hda webui at "Preparing to install ..."

Any idea what might be wrong?

Code: Select all

======= app uninstall begin @ Mon Apr 08 11:13:46 +0100 2013 ========== Uninstalling app id l87u14kg9n under /var/hda/platform/html ENV=production Usage: /etc/init.d/sabnzbdplus {start} Removing any system startup links for /etc/init.d/sabnzbdplus ... /etc/rc0.d/K20sabnzbdplus /etc/rc1.d/K20sabnzbdplus /etc/rc2.d/S20sabnzbdplus /etc/rc3.d/S20sabnzbdplus /etc/rc4.d/S20sabnzbdplus /etc/rc5.d/S20sabnzbdplus /etc/rc6.d/K20sabnzbdplus Your HDA services have been restarted. App: SABnzbd Plus uninstalled ======= app uninstall end @ Mon Apr 08 11:13:52 +0100 2013 ========== /var/hda/platform/html/script/../app/models/app.rb:442:in `chdir': Permission denied - /var/hda/web-apps/sabnzbdplus (Errno::EACCES) from /var/hda/platform/html/script/../app/models/app.rb:442:in `install_webapp' from /var/hda/platform/html/script/../app/models/app.rb:205:in `install_bg' from /var/hda/platform/html/script/install-app:96:in `install_or_uninstall' from /var/hda/platform/html/script/install-app:117:in `main' from /var/hda/platform/html/script/install-app:129 ======= app install begin @ Mon Apr 08 11:14:27 +0100 2013 ========== Installing app id l87u14kg9n under /var/hda/platform/html ENV=production NOTICE: redirected 'http://downloads.sourceforge.net/project/sabnzbdplus/sabnzbdplus/0.7.11/SABnzbd-0.7.11-src.tar.gz' --> 'http://kent.dl.sourceforge.net/project/sabnzbdplus/sabnzbdplus/0.7.11/SABnzbd-0.7.11-src.tar.gz' ... NOTE: file /tmp/amahi-download-cache/382117410387839b8e9c4cd1fc2379539edd6af8 written in cache /var/hda/platform/html/script/../app/models/app.rb:442:in `chdir': Permission denied - /var/hda/web-apps/sabnzbdplus (Errno::EACCES) from /var/hda/platform/html/script/../app/models/app.rb:442:in `install_webapp' from /var/hda/platform/html/script/../app/models/app.rb:205:in `install_bg' from /var/hda/platform/html/script/install-app:96:in `install_or_uninstall' from /var/hda/platform/html/script/install-app:117:in `main' from /var/hda/platform/html/script/install-app:129 ======= app install begin @ Mon Apr 08 11:25:13 +0100 2013 ========== Installing app id l87u14kg9n under /var/hda/platform/html ENV=production NOTE: file /tmp/amahi-download-cache/382117410387839b8e9c4cd1fc2379539edd6af8 picked up from cache. /var/hda/platform/html/script/../app/models/app.rb:442:in `chdir': Permission denied - /var/hda/web-apps/sabnzbdplus (Errno::EACCES) from /var/hda/platform/html/script/../app/models/app.rb:442:in `install_webapp' from /var/hda/platform/html/script/../app/models/app.rb:205:in `install_bg' from /var/hda/platform/html/script/install-app:96:in `install_or_uninstall' from /var/hda/platform/html/script/install-app:117:in `main' from /var/hda/platform/html/script/install-app:129 ======= app install begin @ Mon Apr 08 11:33:15 +0100 2013 ========== Installing app id l87u14kg9n under /var/hda/platform/html ENV=production NOTICE: redirected 'http://downloads.sourceforge.net/project/sabnzbdplus/sabnzbdplus/0.7.11/SABnzbd-0.7.11-src.tar.gz' --> 'http://switch.dl.sourceforge.net/project/sabnzbdplus/sabnzbdplus/0.7.11/SABnzbd-0.7.11-src.tar.gz' ... NOTE: file /tmp/amahi-download-cache/382117410387839b8e9c4cd1fc2379539edd6af8 written in cache

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: SAbnzbd Plus hanging on install

Postby bigfoot65 » Mon Apr 08, 2013 5:02 am

Let me check it out. They (sourceforge.net) may have moved the download location on us.

UPDATE: The download location is ok. It might require a reboot in between uninstall and reinstall. Shouldn't, but something seems out of sort.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

guerilla
Posts: 65
Joined: Thu Jan 13, 2011 3:11 pm

Re: SAbnzbd Plus hanging on install

Postby guerilla » Mon Apr 08, 2013 5:17 am

after a reboot the problem persists.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: SAbnzbd Plus hanging on install

Postby bigfoot65 » Mon Apr 08, 2013 10:26 am

Ensure after uninstall the /var/hda/web-apps/sabnzbdplus directory is gone. The settings file should be backed up to the /var/hda/files/newsgroups share.

I will check it out when I get home.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

guerilla
Posts: 65
Joined: Thu Jan 13, 2011 3:11 pm

Re: SAbnzbd Plus hanging on install

Postby guerilla » Mon Apr 08, 2013 11:15 am

will give that a go. thanks for the help.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: SAbnzbd Plus hanging on install

Postby bigfoot65 » Mon Apr 08, 2013 3:35 pm

Just tried on Ubuntu 12.04.1 32-bit and installed without error. I also did an uninstall and reinstall with no problems.

What version of SABnzbd Plus were you using prior to the attempted upgrade? Are there any other details you can provide?
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

guerilla
Posts: 65
Joined: Thu Jan 13, 2011 3:11 pm

Re: SAbnzbd Plus hanging on install

Postby guerilla » Tue Apr 09, 2013 2:23 am

I was moving from 0.7.3. I have manually installed the latest version and all seems to be working. I think you correctly identified the problem when you asked whether the folder had been removed.

I have created some folders within the sabnzbd installation folder for things like sickbeard integration and email templates (I have since moved these to the newsgroups folder). I suspect someone correctly ensured that user created stuff doesn't get deleted upon the uninstall and now I have a permission error on the install.

If I get some free time this week I'll remove my manual install and give the one-click a another try.

Can i ask whether the one-click app copies the .ini file from the newsgroups directory to the program directory or does the start command just reference the newsgroup directory?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: SAbnzbd Plus hanging on install

Postby bigfoot65 » Tue Apr 09, 2013 5:13 am

Yes the app does copy the backup .ini file if it exists in the share and uses it. The current version is much easier to maintain as well for us.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

guerilla
Posts: 65
Joined: Thu Jan 13, 2011 3:11 pm

Re: SAbnzbd Plus hanging on install

Postby guerilla » Tue Apr 09, 2013 7:46 am

I have stopped the manual install version of SABnzbd and removed the old folders from the sabnzbdplus install directory. The one-click installation flew through this time. I shall try and make a change to the wiki to reflect my troubles here.

On a separate note I think it would be helpful if the admin folder was also backed up on an uninstall this allows the new version of sabnzbd to keep the history of files downloaded, as well amount downloaded etc.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: SAbnzbd Plus hanging on install

Postby bigfoot65 » Tue Apr 09, 2013 11:00 am

What files specifically in the folder should be backed up? I don't want to back up any program files that might be changed in a version.

EDIT: Thanks for updating the wiki guidance!
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 6 guests