[Support] Linuxserver.io - NZBGet


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.

Link to comment
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

Link to comment
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.

Link to comment
  • 2 weeks later...

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.

Link to comment

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.

Link to comment

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
Link to comment
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

Link to comment
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

Link to comment

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
Link to comment
  • 1 month later...

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 ...

Link to comment
  • 2 months later...

Unfortunately i did not read the first post when installing nzbget, so it was set to 1000.

 

Now i am not able to open the extracted files via windows.

Error message: "The given Path does not exist" (translated) even though I browser through the smb share and they are clearly there. They are also there if i ssh into unraid.

 

Is there a way to fix this? chmod 777 does not help 😞

 

//edit:

seemed to have something to do with special characters or folder-name-length. problem solved. 🙂

Edited by Greyberry
Link to comment

Why is it that when I try to move or modify NZBGet downloads, I get a message that I need permission from Unix User/nobody?

 

DFzuKlA.png

 

I'm trying to do this from my rootshare too. I don't have this issue with any other docker containers like rtorrent. The only way it's possible for me to modify or move files downloaded with NZBGet is to use Krusader, which is rather annoying. Radarr can't rename or move anything either.

Link to comment
  • 3 weeks later...
  • 3 weeks later...
4 hours ago, includenull said:

python, python2, python2.7 all seem to be missing from the latest build. I had to force tag v21.0-ls55 to get some of my scripts working again.

Python 2 is EOL, and alpine removed python 2 from their 3.12 release. So you need to update your scripts to use python 3. The binary is called python3.

Link to comment
On 4/25/2020 at 5:10 AM, Stubbs said:

Why is it that when I try to move or modify NZBGet downloads, I get a message that I need permission from Unix User/nobody?

 

DFzuKlA.png

 

I'm trying to do this from my rootshare too. I don't have this issue with any other docker containers like rtorrent. The only way it's possible for me to modify or move files downloaded with NZBGet is to use Krusader, which is rather annoying. Radarr can't rename or move anything either.

I have the same issue, but only for folders within the extracted archive.

 

The extracted root folder is fine:

drwxrwxrwx 1 nobody users 268 Jun 11 15:41 Ma********/

 

This is how the extracted files and folders look:

-rw-r--r-- 1 nobody users 36862898736 Oct 28  2018 Ma*********.mkv
drwxr-xr-x 1 nobody users         146 Sep  3  2019 Proof/
-rw-r--r-- 1 nobody users         956 Oct 29  2018 ma**********.nfo

 

And the files inside the undeletable "Proof" folder:

-rw-r--r-- 1 nobody users 133289 Oct 29  2018 m*********.proof.jpg

 

The Umask 000 setting has of course been done. Those folders can only be deleted or moved in Terminal with root access.

Any idea how this can be fixed?

 

Kind regards and thanks in advance!

Link to comment
On 6/8/2020 at 10:30 AM, saarg said:

Python 2 is EOL, and alpine removed python 2 from their 3.12 release. So you need to update your scripts to use python 3. The binary is called python3.

 

Are you sure?

 

--

# apk add python2
fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz
(1/1) Installing python2 (2.7.18-r0)
Executing busybox-1.31.1-r16.trigger
OK: 113 MiB in 52 packages

--

 

Edited by ezhik
Link to comment

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.