[Support] Linuxserver.io - NZBGet


469 posts in this topic Last Reply

Recommended Posts

9 minutes ago, WannabeMKII said:

Ah ha perfect, that's bought 'subliminal' and 'completion' up, but not 'email' or 'deletesamples?

 

Why would that happen?

Because they're not executable....

 

chmod +x /mnt/user/appdata/nzbget/scripts/*.py

 

Link to post
  • Replies 468
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Application Name: NZBGet Application Site: http://nzbget.net/ Docker Hub: https://hub.docker.com/r/linuxserver/nzbget/ Github: https://github.com/linuxserver/docker-nzbget   P

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

I was so focused on the download path that I didn't realize it was my category paths that were screwing me up.   Everything is finally working now.   Thanks for the help trurl!  I've been working on t

Posted Images

4 minutes ago, CHBMB said:

Because they're not executable....

 


chmod +x /mnt/user/appdata/nzbget/scripts/*.py

 

Hmm, I've just run that and also checked in Krusader and the permissions don't seem to update?

 

Is there another way of updating the permissions or what's blocking the permission change?

Link to post
30 minutes ago, WannabeMKII said:

Hmm, I've just run that and also checked in Krusader and the permissions don't seem to update?

 

Is there another way of updating the permissions or what's blocking the permission change?

What's the output of

 

ls -la /mnt/user/appdata/nzbget/scripts/

 

Link to post
2 minutes ago, CHBMB said:

What's the output of

 


ls -la /mnt/user/appdata/nzbget/scripts/

 

Here you go;

 

root@*****:~# ls -la /mnt/user/appdata/nzbget/scripts/
total 420
drwxrwxrwx  1 nobody users    123 May  6 17:51 ./
drwxrwxrwx  1 nobody users     76 May  6 17:51 ../
-rw-rwxrw-+ 1 chris  users   6148 May  6 17:51 .DS_Store*
-rwxrwxrwx  1 nobody users  78620 Sep  1  2017 Completion.py*
-rwxrwxrwx+ 1 chris  users  95770 May  6 17:28 DeleteSamples.py*
-rwxrwxrwx+ 1 chris  users 127057 May  6 17:31 EMail.py*
drwxrwxrwx  1 nobody users   4096 Oct 29  2017 Subliminal/
-rwxrwxrwx  1 nobody users  90119 Oct 29  2017 Subliminal.py*

So the two that don't work appear to be owned by me rather than 'nobody'?

Link to post
2 minutes ago, CHBMB said:

chown nobody:users -R /mnt/user/appdata/nzbget/scripts/

then


ls -la /mnt/user/appdata/nzbget/scripts/

 

As requested;

root@*****:~# chown nobody:users -R /mnt/user/appdata/nzbget/scripts/
root@*****:~# ls -la /mnt/user/appdata/nzbget/scripts/
total 420
drwxrwxrwx  1 nobody users    123 May  6 17:51 ./
drwxrwxrwx  1 nobody users     76 May  6 17:51 ../
-rw-rwxrw-+ 1 nobody users   6148 May  6 17:51 .DS_Store*
-rwxrwxrwx  1 nobody users  78620 Sep  1  2017 Completion.py*
-rwxrwxrwx+ 1 nobody users  95770 May  6 17:28 DeleteSamples.py*
-rwxrwxrwx+ 1 nobody users 127057 May  6 17:31 EMail.py*
drwxrwxrwx  1 nobody users   4096 Oct 29  2017 Subliminal/
-rwxrwxrwx  1 nobody users  90119 Oct 29  2017 Subliminal.py*

Still not showing up in nzbget and I've restarted the docker just in case...?

 

Link to post

Try this

 

wget https://raw.githubusercontent.com/nzbget/nzbget/develop/scripts/EMail.py -O /mnt/user/appdata/nzbget/scripts/EMail.py
wget https://raw.githubusercontent.com/clinton-hall/GetScripts/master/DeleteSamples.py -O /mnt/user/appdata/nzbget/scripts/DeleteSamples.py

 

Link to post
6 minutes ago, CHBMB said:

Try this

 


wget https://raw.githubusercontent.com/nzbget/nzbget/develop/scripts/EMail.py -O /mnt/user/appdata/nzbget/scripts/EMail.py
wget https://raw.githubusercontent.com/clinton-hall/GetScripts/master/DeleteSamples.py -O /mnt/user/appdata/nzbget/scripts/DeleteSamples.py

  

As requested;

 

root@*****:~# wget https://raw.githubusercontent.com/nzbget/nzbget/develop/scripts/EMail.py -O /mnt/user/appdata/nzbget/scripts/EMail.py
--2019-05-06 19:05:12--  https://raw.githubusercontent.com/nzbget/nzbget/develop/scripts/EMail.py
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10475 (10K) [text/plain]
Saving to: ‘’

                              100%[==============================================>]  10.23K  --.-KB/s    in 0s

2019-05-06 19:05:13 (169 MB/s) - ‘’ saved [10475/10475]

--2019-05-06 19:05:13--  http:///mnt/user/a%EF%BB%BFppdata/nzbg%EF%BB%BFet/scripts/%EF%BB%BFEMail.py
Resolving  ()... failed: Device or resource busy.
wget: unable to resolve host address ‘’
FINISHED --2019-05-06 19:05:14--
Total wall clock time: 1.2s
Downloaded: 1 files, 10K in 0s (169 MB/s)

root@*****:~# wget https://raw.githubusercontent.com/clinton-hall/GetScripts/master/DeleteSamples.py -O /mnt/user/appdata/nzbget/scripts/DeleteSamples.py
/mnt/user/appdata/nzbget/scripts/DeleteSamples.py: No such file or directory

 

Link to post
As requested;
 
root@*****:~# wget https://raw.githubusercontent.com/nzbget/nzbget/develop/scripts/EMail.py -O /mnt/user/appdata/nzbget/scripts/EMail.py--2019-05-06 19:05:12--  https://raw.githubusercontent.com/nzbget/nzbget/develop/scripts/EMail.pyResolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.HTTP request sent, awaiting response... 200 OKLength: 10475 (10K) [text/plain]Saving to: ‘’                              100%[==============================================>]  10.23K  --.-KB/s    in 0s2019-05-06 19:05:13 (169 MB/s) - ‘’ saved [10475/10475]--2019-05-06 19:05:13--  http:///mnt/user/a%EF%BB%BFppdata/nzbg%EF%BB%BFet/scripts/%EF%BB%BFEMail.pyResolving  ()... failed: Device or resource busy.wget: unable to resolve host address ‘’FINISHED --2019-05-06 19:05:14--Total wall clock time: 1.2sDownloaded: 1 files, 10K in 0s (169 MB/s)root@*****:~# wget https://raw.githubusercontent.com/clinton-hall/GetScripts/master/DeleteSamples.py -O /mnt/user/appdata/nzbget/scripts/DeleteSamples.py/mnt/user/appdata/nzbget/scripts/DeleteSamples.py: No such file or directory

 

Does that work? Can you now see the scripts?

Sent from my Mi A1 using Tapatalk

Link to post
Sorry, I missed that minor detail. Still no scripts. It appears the deletesamples didn't work correctly as there's an error message too?
Works for me

How are you running these commands?

Sent from my Mi A1 using Tapatalk

Link to post
19 minutes ago, WannabeMKII said:

I'm running them in terminal from the menu bar of unraid.

Try a proper terminal.....

 

Run these one after the other
 

rm /mnt/user/appdata/nzbget/scripts/EMail.py
rm /mnt/user/appdata/nzbget/scripts/DeleteSamples.py
wget https://raw.githubusercontent.com/nzbget/nzbget/develop/scripts/EMail.py -O /mnt/user/appdata/nzbget/scripts/EMail.py
wget https://raw.githubusercontent.com/clinton-hall/GetScripts/master/DeleteSamples.py -O /mnt/user/appdata/nzbget/scripts/DeleteSamples.py
chmod +x /mnt/user/appdata/nzbget/scripts/EMail.py
chmod +x /mnt/user/appdata/nzbget/scripts/DeleteSamples.py
chown nobody:users /mnt/user/appdata/nzbget/scripts/EMail.py
chown nobody:users /mnt/user/appdata/nzbget/scripts/DeleteSamples.py

 

Link to post
7 minutes ago, CHBMB said:

Try a proper terminal.....

 

Run these one after the other
 


rm /mnt/user/appdata/nzbget/scripts/EMail.py
rm /mnt/user/appdata/nzbget/scripts/DeleteSamples.py
wget https://raw.githubusercontent.com/nzbget/nzbget/develop/scripts/EMail.py -O /mnt/user/appdata/nzbget/scripts/EMail.py
wget https://raw.githubusercontent.com/clinton-hall/GetScripts/master/DeleteSamples.py -O /mnt/user/appdata/nzbget/scripts/DeleteSamples.py
chmod +x /mnt/user/appdata/nzbget/scripts/EMail.py
chmod +x /mnt/user/appdata/nzbget/scripts/DeleteSamples.py
chown nobody:users /mnt/user/appdata/nzbget/scripts/EMail.py
chown nobody:users /mnt/user/appdata/nzbget/scripts/DeleteSamples.py

  

Ah ha, that's got it! Superb!

 

What was causing the issue? I'm guessing permissions, but how or why?

 

Will I get it again if I add other scripts?

Link to post
5 minutes ago, WannabeMKII said:

Ah ha, that's got it! Superb!

 

What was causing the issue? I'm guessing permissions, but how or why?

 

Will I get it again if I add other scripts?

 

No idea.....

 

Just chmod & chown any new scripts.

Link to post
  • 1 month later...

I'm running unraid on bare metal. I believe installed the docker and only changed the directories mappings. 

 

However the docker seems to have issues connecting to my provider. Only if i click several times on "test connection" it works. 

 

Also when downloading it says the provider is unreachable. 

 

Needless to say, all the login credentials are ok and also the port, ssl and such. 

Link to post

Is it possible to install python modules in this container? 

 

I want to run this script, but there are module dependencies that I need to meet for it to work. 

 

pip does not appeared to be installed, and I'm not sure if there's any other way to go about installation as I'm not very adept with python. Furthermore, I would be concerned about any changes I make surviving an upgrade or even restart of the container.

 

 

Link to post
  • 2 months later...
  • 2 weeks later...

Hello,

 

I'm currently having a problem with unpack times. Some 5-10 gb downloads can take anywhere from 5-20 minutes to unpack. When I goto check the array stats the read/write speed is very low rarely even hitting 1 MB/s. When I benchmark the array though it generally comes out to about 100-130.

 

https://imgur.com/a/pqyoaHS

 

There's a picture with an example of one that took very long to finish, and I can provide more examples if needed.

 

Can anybody help me track down the issue?

Link to post
7 hours ago, hukepi said:

Can anybody help me track down the issue?

Try updating to Unraid 6.7.3 rc4 using the Next branch in the OS update under Tools.

 

Second, no need to link to outside sites, just attach any files directly to your posts in the future.

Link to post
  • 1 month later...

I can't seem to be able to change the port. I have tried 6790 and saved the config but when I go to webui it's still using 6789. The mapping on the docker page also shows 6789. I need to change the port here because the Unifi controller docker also uses 6789.

 

On 6.8 RC5

Edited by ffhelllskjdje
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.