SOLVED: Sabnzbd not working

User avatar
hemington1
Posts: 145
Joined: Mon Nov 26, 2012 6:38 pm
Location: Perth Western Australia

SOLVED: Sabnzbd not working

Postby hemington1 » Sat Dec 13, 2014 2:33 am

After the recent bug fix I get this error after reinstalling Sabnzbd

Code: Select all

[root@localhost ~]# systemctl status sabnzbd.service sabnzbd.service Loaded: error (Reason: No such file or directory) Active: inactive (dead) Nov 05 21:31:46 localhost.localdomain systemd[1]: Starting SABnzbd Plus server... Nov 05 21:31:52 localhost.localdomain systemd[1]: PID file /var/run/sabnzbd/sabnzbd-25915.pid not readable (yet?) after start. Nov 05 21:31:58 localhost.localdomain systemd[1]: Started SABnzbd Plus server. Nov 07 20:21:11 localhost.localdomain systemd[1]: Stopped SABnzbd Plus server. Nov 07 20:23:03 localhost.localdomain systemd[1]: Starting SABnzbd Plus server... Nov 07 20:23:10 localhost.localdomain systemd[1]: PID file /var/run/sabnzbd/sabnzbd-25915.pid not readable (yet?) after start. Nov 07 20:23:16 localhost.localdomain systemd[1]: Started SABnzbd Plus server. Nov 25 21:15:52 localhost.localdomain systemd[1]: Stopping SABnzbd Plus server... Nov 25 21:15:52 localhost.localdomain systemd[1]: Stopped SABnzbd Plus server. Nov 25 21:16:18 localhost.localdomain systemd[1]: Starting SABnzbd Plus server... Nov 25 21:16:20 localhost.localdomain systemd[1]: PID file /var/run/sabnzbd/sabnzbd-25915.pid not readable (yet?) after start. Nov 25 21:16:21 localhost.localdomain systemd[1]: Started SABnzbd Plus server. Nov 25 21:16:24 localhost.localdomain systemd[1]: Started SABnzbd Plus server. Nov 30 08:03:15 localhost.localdomain systemd[1]: Starting SABnzbd Plus server... Nov 30 08:03:24 localhost.localdomain systemd[1]: PID file /var/run/sabnzbd/sabnzbd-25915.pid not readable (yet?) after start. Nov 30 09:58:04 localhost.localdomain systemd[1]: Stopping SABnzbd Plus server... Nov 30 10:00:35 localhost.localdomain systemd[1]: Starting SABnzbd Plus server... Nov 30 10:00:37 localhost.localdomain systemd[1]: PID file /var/run/sabnzbd/sabnzbd-25915.pid not readable (yet?) after start. Nov 30 10:00:43 localhost.localdomain systemd[1]: Started SABnzbd Plus server. Nov 30 11:17:41 localhost.localdomain systemd[1]: PID file /var/run/sabnzbd/sabnzbd-25915.pid not readable (yet?) after start. Dec 12 21:45:27 localhost.localdomain systemd[1]: Stopping SABnzbd Plus server... Dec 12 21:45:27 localhost.localdomain systemd[1]: Stopped SABnzbd Plus server. [root@localhost ~]#
Amahi 11
Intel i7 quad core 2.8GHz
1 GiB Geforce graphics
16 GiB RAM
Sagemcom Gateway 3864 modem/router

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

Re: Sabnzbd not working

Postby bigfoot65 » Sat Dec 13, 2014 6:49 am

Interesting. The bug fix did not change anything with the application internals itself. Please check the app installer log for errors. Also have you tried restarting the service?
ßîgƒσστ65
Applications Manager

gpfleging
Posts: 2
Joined: Mon Mar 03, 2014 10:38 pm

Re: Sabnzbd not working

Postby gpfleging » Sat Dec 13, 2014 1:04 pm

I am having the exact same problem. I attempted to upgrade the working copy I had (I think it was the .16 version). I did the uninstall from the App Page.
That looks like it completed as expected. as the directories were erased and the file in the conf.d is gone too.

I have attempted to uninstall and re-install multiple times and I keep looking for logs to see what is going on . From what I can tell it doesn't look like the service ever gets re-installed.
systemctl status sabnzbd.service
sabnzbd.service
Loaded: error (Reason: No such file or directory)
Active: inactive (dead)

Mar 22 15:57:28 h104.gwp.com systemd[1]: Starting SABnzbd Plus server...
Mar 22 15:57:47 h104.gwp.com systemd[1]: PID file /var/run/sabnzbd/sabnzbd-25915.pid not readable (yet?) after start.
Mar 22 15:57:49 h104.gwp.com systemd[1]: Started SABnzbd Plus server.
Mar 22 16:28:52 h104.gwp.com systemd[1]: Starting SABnzbd Plus server...
Mar 22 16:29:09 h104.gwp.com systemd[1]: PID file /var/run/sabnzbd/sabnzbd-25915.pid not readable (yet?) after start.
Mar 22 16:29:10 h104.gwp.com systemd[1]: Started SABnzbd Plus server.
Mar 25 12:30:06 h104.gwp.com systemd[1]: Starting SABnzbd Plus server...
Oct 13 15:25:26 h104.gwp.com systemd[1]: Starting SABnzbd Plus server...
Oct 22 16:05:27 h104.gwp.com systemd[1]: Stopped SABnzbd Plus server.
Oct 22 16:08:29 h104.gwp.com systemd[1]: Starting SABnzbd Plus server...
Oct 22 16:08:55 h104.gwp.com systemd[1]: PID file /var/run/sabnzbd/sabnzbd-25915.pid not readable (yet?) after start.
Oct 22 16:35:48 localhost systemd[1]: Starting SABnzbd Plus server...
Dec 13 10:42:00 localhost systemd[1]: Stopping SABnzbd Plus server...
Dec 13 10:42:00 localhost systemd[1]: Stopped SABnzbd Plus server.

The apache server seems to be ok:
systemctl status httpd.service
httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
Active: active (running) since Sat 2014-12-13 13:49:35 CST; 7s ago
Process: 21479 ExecStop=/usr/sbin/httpd $OPTIONS -k graceful-stop (code=exited, status=0/SUCCESS)
Process: 20697 ExecReload=/usr/sbin/httpd $OPTIONS -k graceful (code=exited, status=0/SUCCESS)
Main PID: 21491 (httpd)
Status: "Processing requests..."
CGroup: name=systemd:/system/httpd.service
├─21491 /usr/sbin/httpd -DFOREGROUND
├─21495 PassengerHelperAgent
├─21497 Passenger spawn server
├─21509 PassengerWatchdog
├─21510 PassengerWatchdog
├─21513 PassengerHelperAgent
├─21515 Passenger spawn server
├─21519 PassengerLoggingAgent
├─21526 /usr/sbin/httpd -DFOREGROUND
├─21527 /usr/sbin/httpd -DFOREGROUND
├─21528 /usr/sbin/httpd -DFOREGROUND
├─21529 /usr/sbin/httpd -DFOREGROUND
└─21530 /usr/sbin/httpd -DFOREGROUND

Here is what I see in the amahi-app-installer log (just posting the initial parts I have been trying different things for hours with no luck I will just post the initial data)
======= app uninstall begin @ 2014-12-13 10:41:58 -0600 ==========
Uninstalling app id l87u14kg9n under /var/hda/platform/html/script/.. ENV=production
/tmp/run_script20141213-24179-1t7jd5d: line 1: $'\r': command not found
/tmp/run_script20141213-24179-1t7jd5d: line 2: $'\r': command not found
/tmp/run_script20141213-24179-1t7jd5d: line 22: $'\r': command not found
Stopping sabnzbd.service
/var/hda/web-apps/sabnzbdplus/elevated/stop.sh: line 1: $'\r': command not found
/var/hda/web-apps/sabnzbdplus/elevated/stop.sh: line 2: $'\r': command not found
/var/hda/web-apps/sabnzbdplus/elevated/stop.sh: line 3: $'\r': command not found
Backing up SABnzbd Plus settings to share
/var/hda/web-apps/sabnzbdplus/elevated/stop.sh: line 4: $'\r': command not found
/var/hda/web-apps/sabnzbdplus/elevated/stop.sh: line 5: $'\r': command not found
/var/hda/web-apps/sabnzbdplus/elevated/stop.sh: line 6: $'\r': command not found
/var/hda/web-apps/sabnzbdplus/elevated/stop.sh: line 7: $'\r': command not found
Disabling sabnzbd.service
/var/hda/web-apps/sabnzbdplus/elevated/stop.sh: line 8: $'\r': command not found
rm '/etc/systemd/system/multi-user.target.wants/sabnzbd.service'
/var/hda/web-apps/sabnzbdplus/elevated/stop.sh: line 9: $'\r': command not found
/var/hda/web-apps/sabnzbdplus/elevated/stop.sh: line 10: $'\r': command not found
Removing sabnzbd.service
/var/hda/web-apps/sabnzbdplus/elevated/stop.sh: line 11: $'\r': command not found
/var/hda/web-apps/sabnzbdplus/elevated/stop.sh: line 12: $'\r': command not found
/var/hda/web-apps/sabnzbdplus/elevated/stop.sh: line 13: $'\r': command not found
/var/hda/web-apps/sabnzbdplus/elevated/stop.sh: line 14: $'\r': command not found
Reloading systemctl daemon
/var/hda/web-apps/sabnzbdplus/elevated/stop.sh: line 15: $'\r': command not found
/var/hda/web-apps/sabnzbdplus/elevated/stop.sh: line 16: $'\r': command not found
Done!
/var/hda/web-apps/sabnzbdplus/elevated/stop.sh: line 17: $'\r': command not found
/tmp/run_script20141213-24179-1t7jd5d: line 23: $'\r': command not found
/tmp/run_script20141213-24179-1t7jd5d: line 24: $'\r': command not found
/tmp/run_script20141213-24179-1t7jd5d: line 25: $'\r': command not found
Your HDA services have been restarted.
App: SABnzbd Plus uninstalled
======= app uninstall end @ 2014-12-13 10:42:13 -0600 ==========

======= app install begin @ 2014-12-13 10:42:32 -0600 ==========
Installing app id l87u14kg9n under /var/hda/platform/html/script/.. ENV=production
NOTICE: redirected 'http://downloads.sourceforge.net/projec ... src.tar.gz' --> 'http://tcpdiag.dl.sourceforge.net/proje ... src.tar.gz' ...
file /var/hda/tmp/amahi-download-cache/6cd46350b435a19de8d53eda35a75e8230f2260e written in cache
Your HDA services have been restarted.
Your HDA services have been restarted.
/tmp/run_script20141213-24552-1g16fc9: line 1: $'\r': command not found
/tmp/run_script20141213-24552-1g16fc9: line 2: $'\r': command not found
Configuring Amahi settings
/tmp/run_script20141213-24552-1g16fc9: line 3: $'\r': command not found
/tmp/run_script20141213-24552-1g16fc9: line 147: $'\r': command not found
/tmp/run_script20141213-24552-1g16fc9: line 199: syntax error: unexpected end of file
App: SABnzbd Plus installed
======= app install end @ 2014-12-13 10:42:45 -0600 ==========

I also tried to get the install working on my 2nd server and it also fails on that server. I checked the cache directory and the cached file looks to be the same as one I download using wget.

Is it possible to get some instructions on how to go back to one of the other releases listed on source forge? Maybe I could verify that the newest release is the one that is having an issue and not something with my systems.

I have DNS turned on and pointed to my router. I am not having issues getting other apps installed or working right now. I reinstalled OPENVPN and switched over to the Greyhole UI while trying to troubleshoot this issue.

Hope this info helps...

Gerry

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

Re: Sabnzbd not working

Postby bigfoot65 » Sat Dec 13, 2014 1:06 pm

Please submit a bug report.
ßîgƒσστ65
Applications Manager

gpfleging
Posts: 2
Joined: Mon Mar 03, 2014 10:38 pm

Re: Sabnzbd not working

Postby gpfleging » Sat Dec 13, 2014 1:13 pm

1590 opened

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

Re: Sabnzbd not working

Postby bigfoot65 » Sun Dec 14, 2014 7:37 am

Thanks. Just updated the bug for your review. App should be fixed.
ßîgƒσστ65
Applications Manager

User avatar
hemington1
Posts: 145
Joined: Mon Nov 26, 2012 6:38 pm
Location: Perth Western Australia

Re: SOLVED: Sabnzbd not working

Postby hemington1 » Sun Dec 14, 2014 7:27 pm

Thanks Big & Gerry.
I'll reload the app tonight.
Amahi 11
Intel i7 quad core 2.8GHz
1 GiB Geforce graphics
16 GiB RAM
Sagemcom Gateway 3864 modem/router

User avatar
hemington1
Posts: 145
Joined: Mon Nov 26, 2012 6:38 pm
Location: Perth Western Australia

Re: SOLVED: Sabnzbd not working

Postby hemington1 » Mon Dec 15, 2014 5:02 am

Working now, thanks.
Amahi 11
Intel i7 quad core 2.8GHz
1 GiB Geforce graphics
16 GiB RAM
Sagemcom Gateway 3864 modem/router

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

Re: SOLVED: Sabnzbd not working

Postby bigfoot65 » Mon Dec 15, 2014 6:32 pm

Thanks for the update.
ßîgƒσστ65
Applications Manager

Who is online

Users browsing this forum: No registered users and 1 guest