Jump to content
linuxserver.io

[Support] Linuxserver.io - NZBGet

414 posts in this topic Last Reply

Recommended Posts

I'm currently "drinking from the fire hose" and setting up my first Unraid server.  I've found what appears to be a conflict between this docker and this same groups Unifi controller docker.  I can't have them both running at the same time without losing access to NZBGet.  The log fills with "[ERROR] Binding socket failed for 0.0.0.0: ErrNo 98, Address in use".

 

I think I understand what the error signifies but Unraid shows no port conflicts between the two dockers.  It also doesn't matter which order I start them in, if both are running at the same time, NZBGet loses.  While the log is flooding with the error I cannot connect to NZBGet's GUI - the browser tab just hangs.

 

Both dockers are fresh installations as this entire server is a new build.

 

Thanks in advance for any assistance.

Share this post


Link to post
I'm currently "drinking from the fire hose" and setting up my first Unraid server.  I've found what appears to be a conflict between this docker and this same groups Unifi controller docker.  I can't have them both running at the same time without losing access to NZBGet.  The log fills with "[ERROR] Binding socket failed for 0.0.0.0: ErrNo 98, Address in use".
 
I think I understand what the error signifies but Unraid shows no port conflicts between the two dockers.  It also doesn't matter which order I start them in, if both are running at the same time, NZBGet loses.  While the log is flooding with the error I cannot connect to NZBGet's GUI - the browser tab just hangs.
 
Both dockers are fresh installations as this entire server is a new build.
 
Thanks in advance for any assistance.
Docker run command for both is required.

You can see how by either turning on signatures in the forum, and the link is in mine, or by reading the docker faq.

Sent from my Mi A1 using Tapatalk

Share this post


Link to post
5 minutes ago, CHBMB said:

Docker run command for both is required.

You can see how by either turning on signatures in the forum, and the link is in mine, or by reading the docker faq.

Sent from my Mi A1 using Tapatalk
 

Roger, will do.

 

When my problem returns. :/

 

I now have all dockers running at the same time and the without issue.  I have no idea what changed.  If it returns I'll submit the run and log.  Thanks.

Share this post


Link to post

Not Sure where to put this, I had NZBGet Working fine. then I installed binhex-delugevpn and i think it broke nzbget. None of the downloads will successfully complete anymore. I set deluge to download to the same folders, which now i think was a bad idea. I think it changed the permissions. So I made sure everything is rwx, and it is. also set to nobody:users. don't know if that's the problem.

 

Anyway, I am very new to unraid and linux so don't know what else to try. If anyone has an idea I would appreciate it.

Share this post


Link to post

when i view the permissions inside the docker container I get this.

 

root@Tower:/# ls -la
total 8
drwxr-xr-x   1 root root  230 Jan  2 16:29 .
drwxr-xr-x   1 root root  230 Jan  2 16:29 ..
-rwxr-xr-x   1 root root    0 Jan  2 16:07 .dockerenv
drwxr-xr-x   1 abc  abc    12 Jan  1 00:28 app
drwxr-xr-x   1 root root 5256 Dec 26 10:45 bin
drwxr-xr-x   2 abc  abc    25 Nov 28 22:47 config
drwxr-xr-x   1 abc  abc     0 Dec 26 10:45 defaults
drwxr-xr-x   5 root root  340 Jan  2 19:05 dev
-rwxrwxr-x   1 root root 2504 Dec 26 10:43 docker-mods
drwxrwxrwx   1 abc  abc   142 Jan  2 16:29 downloads
drwxrwxr-x   1 root root  802 Jan  2 19:05 etc
drwxr-xr-x   1 root root    0 Dec 26 10:44 home
-rwxr-xr-x   1 root root  389 Mar 21  2019 init
drwxr-xr-x   1 root root  536 Jan  1 00:28 lib
drwxr-xr-x   1 root root  104 Mar 21  2019 libexec
drwxr-xr-x   1 root root   28 Dec 26 10:44 media
drwxr-xr-x   1 root root    0 Dec 26 10:44 mnt
drwxr-xr-x   1 root root    0 Dec 26 10:44 opt
dr-xr-xr-x 896 root root    0 Jan  2 19:05 proc
drwx------   1 root root   24 Jan  2 19:16 root
drwxr-xr-x   1 root root    4 Jan  2 16:29 run
drwxr-xr-x   1 root root  944 Dec 26 10:45 sbin
drwxr-xr-x   1 root root    0 Dec 26 10:44 srv
dr-xr-xr-x  13 root root    0 Dec 28 23:08 sys
drwxrwxrwt   1 root root    0 Jan  1 00:28 tmp
drwxr-xr-x   1 root root   68 Jan  1 00:28 usr
drwxr-xr-x   1 root root   86 Jan  1 00:25 var
root@Tower:/# 

 

 

Is the downloads folder permissions correct? NZBGet is no longer able to create folders for its downloads. I am trying to figure out why.

Share this post


Link to post
Posted (edited)

Hi Gang,

 

I am now getting Post Processing errors when using NZBtoSickbeard. This was properly working before. The error I am getting is:

 

Fri Jan 03 2020 12:57:47	INFO	Executing post-process-script nzbToSickBeard.py for Messiah.2020.S01E02.MULTi.1080p.WEBRip.x264.1-S0CKET-Obfuscated
Fri Jan 03 2020 12:57:47	INFO	nzbToSickBeard: Please use a newer version of Python.
Fri Jan 03 2020 12:57:47	INFO	nzbToSickBeard: Python End-of-Life for current versions:
Fri Jan 03 2020 12:57:47	INFO	nzbToSickBeard: v3.5 in  254 days
Fri Jan 03 2020 12:57:47	INFO	nzbToSickBeard: v3.6 in  720 days
Fri Jan 03 2020 12:57:47	INFO	nzbToSickBeard: v3.7 in 1271 days
Fri Jan 03 2020 12:57:47	INFO	nzbToSickBeard: v3.8 in 1746 days
Fri Jan 03 2020 12:57:47	INFO	nzbToSickBeard: Python 2.7 is no longer supported.
Fri Jan 03 2020 12:57:47	ERROR	Post-process-script nzbToSickBeard.py for Messiah.2020.S01E02.MULTi.1080p.WEBRip.x264.1-S0CKET-Obfuscated failed (terminated with unknown status)
Fri Jan 03 2020 12:57:47	INFO	Collection Messiah.2020.S01E02.MULTi.1080p.WEBRip.x264.1-S0CKET-Obfuscated added to history

I can see that NZBGet is using Python 2.7... but it wants a new version. I am not sure if this will solve my issue.

 

Any advise is greatly appreciated.

 

Thanks,

 

H.

 

UPDATE:

So It is the fault of Python being an older version. I tried the following commands inside the docker container:

apk update && apk add --no-cache python3

rm /usr/bin/python

ln -s /usr/bin/python3 /usr/bin/python

python --version

I can certainly certainly a script that runs the above... But shouldn't the Docker be updated for this?

 

Thanks,

 

H.

 

Edited by hernandito

Share this post


Link to post
15 hours ago, hernandito said:

Hi Gang,

 

I am now getting Post Processing errors when using NZBtoSickbeard. This was properly working before. The error I am getting is:

 


Fri Jan 03 2020 12:57:47	INFO	Executing post-process-script nzbToSickBeard.py for Messiah.2020.S01E02.MULTi.1080p.WEBRip.x264.1-S0CKET-Obfuscated
Fri Jan 03 2020 12:57:47	INFO	nzbToSickBeard: Please use a newer version of Python.
Fri Jan 03 2020 12:57:47	INFO	nzbToSickBeard: Python End-of-Life for current versions:
Fri Jan 03 2020 12:57:47	INFO	nzbToSickBeard: v3.5 in  254 days
Fri Jan 03 2020 12:57:47	INFO	nzbToSickBeard: v3.6 in  720 days
Fri Jan 03 2020 12:57:47	INFO	nzbToSickBeard: v3.7 in 1271 days
Fri Jan 03 2020 12:57:47	INFO	nzbToSickBeard: v3.8 in 1746 days
Fri Jan 03 2020 12:57:47	INFO	nzbToSickBeard: Python 2.7 is no longer supported.
Fri Jan 03 2020 12:57:47	ERROR	Post-process-script nzbToSickBeard.py for Messiah.2020.S01E02.MULTi.1080p.WEBRip.x264.1-S0CKET-Obfuscated failed (terminated with unknown status)
Fri Jan 03 2020 12:57:47	INFO	Collection Messiah.2020.S01E02.MULTi.1080p.WEBRip.x264.1-S0CKET-Obfuscated added to history

I can see that NZBGet is using Python 2.7... but it wants a new version. I am not sure if this will solve my issue.

 

Any advise is greatly appreciated.

 

Thanks,

 

H.

 

UPDATE:

So It is the fault of Python being an older version. I tried the following commands inside the docker container:


apk update && apk add --no-cache python3

rm /usr/bin/python

ln -s /usr/bin/python3 /usr/bin/python

python --version

I can certainly certainly a script that runs the above... But shouldn't the Docker be updated for this?

 

Thanks,

 

H.

 

Python is a bit of a mess at the moment, some projects have been updated to python 3, some are still in the midst of migration, the approach we're currently taking is to include python2 and python3 if the underlying project and it's common plugins/scripts.

 

https://github.com/linuxserver/docker-nzbget/commit/c87dc842020ee2b0f018c6f16cf15b1ff9d41c53

 

Looks like nzbtomedia has done some backtracking from it's python2 to python3 migration.  New release 5 mins ago adds back python2 compatibility

 

https://github.com/clinton-hall/nzbToMedia/releases

 

So, bottom line, container already has python 3 now, and the scripts causing the issue have been reverted to continue to support python 2.

 

So, if you wish to migrate to python 3 I wonder if the shell override is the way forward to avoid getting down and dirty with the terminal.

 

2020-01-04_09-54.thumb.png.4e48a5a855b5896dda014465325d30c9.png

Share this post


Link to post
9 hours ago, CHBMB said:

Thank you CHBMB!

 

To summarize, in NZBGet go to: Settings  > Extensions Scripts. In the field labeled ShellOverride enter the following:

.py=/usr/bin/python3

This worked perfectly.

 

Thank you my friend... and Happy New Year.

 

H.

 

Share this post


Link to post
21 hours ago, hernandito said:

Thank you CHBMB!

 

To summarize, in NZBGet go to: Settings  > Extensions Scripts. In the field labeled ShellOverride enter the following:


.py=/usr/bin/python3

This worked perfectly.

 

Thank you my friend... and Happy New Year.

 

H.

 

Hmmm ... 

 

I tried this and it still not working. I get this error:

 

nzbToMedia: Could not start /usr/bin/python3: No such file or directory

Share this post


Link to post

Did you download the latest version of the Docker...? In unRAID GUI go to Dockers, click Advanced View, and under NZBGet, click "Force Update".

Share this post


Link to post
4 minutes ago, hernandito said:

Did you download the latest version of the Docker...? In unRAID GUI go to Dockers, click Advanced View, and under NZBGet, click "Force Update".

No - it said I was on the latest and I believed it. :)

 

I just forced the update and working now!

 

Thanks @CHBMB and @hernandito!

Share this post


Link to post
Posted (edited)

I tried ShellOverride settings and am now getting a different error:

FOMon Jan 06 2020 21:37:28nzbToSickBeard: KeyError: (3, 8)
INFOMon Jan 06 2020 21:37:28nzbToSickBeard: time_left = PYTHON_EOL[(major, minor)] - now
INFOMon Jan 06 2020 21:37:28nzbToSickBeard: File "/config/ppscripts/nzbToMedia/eol.py", line 62, in lifetime
INFOMon Jan 06 2020 21:37:28nzbToSickBeard: days_left = lifetime(version)
INFOMon Jan 06 2020 21:37:28nzbToSickBeard: File "/config/ppscripts/nzbToMedia/eol.py", line 111, in raise_for_status
INFOMon Jan 06 2020 21:37:28nzbToSickBeard: raise_for_status(version, grace_period)
INFOMon Jan 06 2020 21:37:28nzbToSickBeard: File "/config/ppscripts/nzbToMedia/eol.py", line 91, in check
INFOMon Jan 06 2020 21:37:28nzbToSickBeard: eol.check()

Not sure where to go from here

 

Edit: Got it working, just needed to download the latest nzbtomedia script.

Edited by dalben

Share this post


Link to post

Has anyone else noticed that NZBGet for the last few days has been running (for lack of a better word) like crap?  Once a DL gets to the point that it wants to download the par2 files, nzbget just sits there and refuses to do anything, and it's log gets filled with news.usenetserver refused the connection....

 

Switched to binhex as a test and it does the same thing.  Downgraded to a tag from 21 days ago and its the same thing.  Switched to Sab and it's just sailing ...

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.