Merson Posted June 13, 2020 Share Posted June 13, 2020 On 6/12/2020 at 12:13 AM, ezhik said: Please add python2 back to support legacy plugins. Unlikely to happen: https://github.com/linuxserver/docker-nzbget/issues/104 Putting my broken scripts into a 2to3 converter worked for me. 1 Quote Link to comment
Mathervius Posted June 13, 2020 Share Posted June 13, 2020 @Merson I couldn't get FakeDetector or Completion working even with the 2to3 converter. Any tips if you are using these scripts? I loaded up Sab instead and I'm actually impressed with how well it works but I've always used nzbget in the past. Quote Link to comment
ezhik Posted June 14, 2020 Share Posted June 14, 2020 On 6/13/2020 at 8:50 AM, Merson said: Unlikely to happen: https://github.com/linuxserver/docker-nzbget/issues/104 Putting my broken scripts into a 2to3 converter worked for me. Thanks, I'll give it a shot. For now I managed to get python2 to automatically re-install using the following procedure: -- 1) Create custom init.d script for the docker container: /config/custom-cont-init.d/python2.sh 2) Add content: #!/bin/bash echo "**** installing python2 ****" apk add --no-cache python2 3) chmod it: chmod +x /config/custom-cont-init.d/python2.sh -- Reference: https://blog.linuxserver.io/2019/09/14/customizing-our-containers/ Cheers. 1 Quote Link to comment
sansei Posted June 15, 2020 Share Posted June 15, 2020 Please consider add support of Python 2 for VideoSort, as the post processing is broken now. Quote Link to comment
sittingmongoose Posted June 16, 2020 Share Posted June 16, 2020 I have had NZBGET running well for a long time now. I have like 8 servers to feed it and normally don't have any problems. I have noticed recently though many of my downloads are stuck with like 1MB left to download. The only error I get is "[ERROR] Could not read from TLS-Socket: Connection closed by remote host". My servers all are up and working. Any help would be awesome! Quote Link to comment
Mathervius Posted June 16, 2020 Share Posted June 16, 2020 35 minutes ago, sittingmongoose said: I have had NZBGET running well for a long time now. I have like 8 servers to feed it and normally don't have any problems. I have noticed recently though many of my downloads are stuck with like 1MB left to download. The only error I get is "[ERROR] Could not read from TLS-Socket: Connection closed by remote host". My servers all are up and working. Any help would be awesome! Are you using the latest version? I started getting a lot of failed downloads and servers not being able to connect errors with the latest version. I realized it was caused by them removing python 2 and my scripts were relying on it to run properly. Quote Link to comment
sittingmongoose Posted June 16, 2020 Share Posted June 16, 2020 (edited) 2 hours ago, Mathervius said: Are you using the latest version? I started getting a lot of failed downloads and servers not being able to connect errors with the latest version. I realized it was caused by them removing python 2 and my scripts were relying on it to run properly. I am running version 21 Stable. It is working like 85% of the time. Its just a bunch are stuck with a few MBs left. Edit: I also tried using Binhex and it has the same problem. Edit 2: Also tried the Testing branch and that didn't help. Edited June 16, 2020 by sittingmongoose Quote Link to comment
thither Posted June 17, 2020 Share Posted June 17, 2020 This is maybe a dumb question, I just can't remember. Is the source code for videosort/VideoSort.py included in this docker image, or is it something that is downloaded and installed separately from the docker image itself? (I installed nzbget a long time ago and several versions of Unraid back, so I honestly can't remember.) If it's in the image it should be patchable (by running it through the 2to3 script as @Merson suggested, at a minimum). If not, does anyone have a link to wherever the official source is, or else an alternative script written in Python 3? The reason for my question is that I'm also getting the same "VideoSort: SyntaxError: invalid syntax" failure messages. I tried adding the ".py=whatever" line and that didn't fix it, which makes sense now that I'm thinking about it since there isn't a python2 binary anywhere in the image that could execute the videosort file. From the error message, I'm guessing all that needs to be done is changing the "<>" operators to "!=" (as "<>" was deprecated in python3, and presumably removed in whatever point release the base image was updated to recently). Quote Link to comment
ezhik Posted June 18, 2020 Share Posted June 18, 2020 On 6/16/2020 at 10:31 PM, thither said: This is maybe a dumb question, I just can't remember. Is the source code for videosort/VideoSort.py included in this docker image, or is it something that is downloaded and installed separately from the docker image itself? (I installed nzbget a long time ago and several versions of Unraid back, so I honestly can't remember.) If it's in the image it should be patchable (by running it through the 2to3 script as @Merson suggested, at a minimum). If not, does anyone have a link to wherever the official source is, or else an alternative script written in Python 3? The reason for my question is that I'm also getting the same "VideoSort: SyntaxError: invalid syntax" failure messages. I tried adding the ".py=whatever" line and that didn't fix it, which makes sense now that I'm thinking about it since there isn't a python2 binary anywhere in the image that could execute the videosort file. From the error message, I'm guessing all that needs to be done is changing the "<>" operators to "!=" (as "<>" was deprecated in python3, and presumably removed in whatever point release the base image was updated to recently). https://forum.nzbget.net/viewtopic.php?t=840 Quote Link to comment
deaerator Posted June 20, 2020 Share Posted June 20, 2020 On 6/14/2020 at 1:15 PM, ezhik said: Thanks, I'll give it a shot. For now I managed to get python2 to automatically re-install using the following procedure: -- 1) Create custom init.d script for the docker container: /config/custom-cont-init.d/python2.sh 2) Add content: #!/bin/bash echo "**** installing python2 ****" apk add --no-cache python2 3) chmod it: chmod +x /config/custom-cont-init.d/python2.sh -- Reference: https://blog.linuxserver.io/2019/09/14/customizing-our-containers/ Cheers. Thank you for this, trying to figure out why my NZBGET got borked. Quote Link to comment
b0mb Posted June 28, 2020 Share Posted June 28, 2020 since the python3 update i can´t get my fav notifiy script running... https://github.com/caronc/nzb-notify when i try to test my config i get an error saying "module six is missing" ^^ Quote Link to comment
Slimer Posted July 25, 2020 Share Posted July 25, 2020 OK, I got Fake Detector working, but Password Detector is still returning an error. I found version 1.8 of FD, but could not get it working, so I ran it though a 2to3 converter. I also ran Password Detector through the 2to3 converter, but no joy on this one. Quote Link to comment
Slimer Posted July 25, 2020 Share Posted July 25, 2020 19 minutes ago, Slimer said: OK, I got Fake Detector working, but Password Detector is still returning an error. I found version 1.8 of FD, but could not get it working, so I ran it though a 2to3 converter. I also ran Password Detector through the 2to3 converter, but no joy on this one. OK, I ran the PD code through a syntax checker and it found a couple of tabs it didn't like, so we're happily PPing again. 😁 Quote Link to comment
mag1c Posted August 4, 2020 Share Posted August 4, 2020 (edited) I recently switched from the binhex version to this version due to the unpacking bug. I believe my path's are setup incorrectly somewhere as files aren't being moved anymore and are "stuck" in the completed folder. My host path is set to /mnt/user/Downloads/ which I believe is the same as binhex, the only difference ins the MainDir in nzbget settings was /data but in this version it's /downloads. Any assistance is much appreciated! nvm was able to fix by adding a new host path with the /downloads container path Edited August 4, 2020 by mag1c Quote Link to comment
RoninTech Posted August 8, 2020 Share Posted August 8, 2020 There's a new version of videosort that supports Python3. It fixes the post-processing error I've been getting from videosort.py due to the Python2 deprecation. "git clone https://github.com/nzbget/VideoSort" and then recursively copy the contents to your nzbget scripts folder. 1 Quote Link to comment
Jammy B Posted August 24, 2020 Share Posted August 24, 2020 hi! i've got NZBget running fine, but its filled up the cache drive [Sonarr had a missticked series and bulk downloaded all back seasons] my issue is its using the cache drive, downloaded a season, extracted it and all the episodes are rar'ed inside, it hasn't extracted those as run out of space. my issue is i am RDP on VM to the folder and i cannot delete the folders in intermediate [TV series with rar'ed files of multiple episodes] to clear it, says permission denied. i can't copy out of it as the cache is now full i just want to delete the files/folders but NZBGet classes them finished so won't delete the files. any advice on how to get permission to delete the folders would be appreciated! Quote Link to comment
Squid Posted August 24, 2020 Share Posted August 24, 2020 26 minutes ago, Jammy B said: my issue is its using the cache drive, downloaded a season, extracted it and all the episodes are rar'ed inside, it hasn't extracted those as run out of space. Why the download share should be set to "cache prefer" 27 minutes ago, Jammy B said: i just want to delete the files/folders but NZBGet classes them finished so won't delete the files. any advice on how to get permission to delete the folders would be appreciated! New Permissions Tool. Run it against the "Download" share only Quote Link to comment
Jammy B Posted August 24, 2020 Share Posted August 24, 2020 38 minutes ago, Squid said: Why the download share should be set to "cache prefer" New Permissions Tool. Run it against the "Download" share only Thanks. Will give it a whirl. I used MC to delete the folders. Quote Link to comment
Jammy B Posted August 25, 2020 Share Posted August 25, 2020 19 hours ago, Squid said: Why the download share should be set to "cache prefer" New Permissions Tool. Run it against the "Download" share only PERFECTO! fixed it, thank you sir! Quote Link to comment
b0mb Posted September 8, 2020 Share Posted September 8, 2020 guys my notify script still doesn´t work with the container since it changed to python3 when i try to send a test msg it say that the SIX module is missing pls any1 know how to fix this? Quote Link to comment
Badboy Posted September 8, 2020 Share Posted September 8, 2020 On 10/23/2015 at 6:38 AM, linuxserver.io said: Application Name: NZBGet Application Site: http://nzbget.net/ Docker Hub: https://hub.docker.com/r/linuxserver/nzbget/ Github: https://github.com/linuxserver/docker-nzbget Permissions Update:- To make downloads more unraid friendly for permissions etc, set the following. go to settings tab in nzbget and this section scroll to bottom, set umask like this. Please post any questions/issues relating to this docker you have in this thread. If you are not using Unraid (and you should be!) then please do not post here, instead head to linuxserver.io to see how to get support. I know this is an old post, but I thought this would help someone else. I spent hours trying to get my router to pickup the custom Br0 ip I was setting for Nordvpn in the Merlin firmware. I couldn't figure out why it wouldn't show up until I came across the Unmask setting, changed it to 000 and connected instantly to the ip. Never had this issue with any other docker except the NZBget. That setting needs to be more visible on install. Quote Link to comment
b0mb Posted September 10, 2020 Share Posted September 10, 2020 (edited) On 9/8/2020 at 3:40 PM, b0mb said: guys my notify script still doesn´t work with the container since it changed to python3 when i try to send a test msg it say that the SIX module is missing pls any1 know how to fix this? so adding the following solves the problem run apk add py3-chardet && \ apk add py3-pip && \ pip uninstall -y apprise && \ pip install apprise how can i add that persistent to the container? Edited September 10, 2020 by b0mb forgot somethin Quote Link to comment
xthursdayx Posted October 4, 2020 Share Posted October 4, 2020 (edited) This may not be the right place to ask this, but I was wondering if anyone could help figure out me to write a script to automatically sort files that NZBGet downloads via RSS Feeds. I have NZBGet set up to download certain publications in PDF format as they become available, along with other files (e.g. *.nzb). NZBGet places the files in sub-directories named after the file within the ~/Incoming directory, e.g. ~/Incoming/The.Globe-October.2020/The.Globe-October.2020.pdf What I want to do is create a script that will monitor the ~/Incoming directory and all subdirectories for new PDFs and then move only these new PDFs to specific directories, based on their file names. For example, all PDFs whose names begin with The.Globe should be moved to the directory ~/Publications/The_Globe, while all PDFs that begin with Fish.Times... should be moved to the directory ~/Publications/Fish_Times/. I would then like to remove any leftover files (e.g. *.nzb) and the remaining directories in ~Incoming. I believe that I can either use inotifywait to monitory the ~/Incoming directory or just run the script periodically via the UserScripts plugin. To sort the PDFs I think I will need to use shell's case statement, but I'm not sure exactly how to write the script correct. This is what I have so far (it's probably incorrect, just a start...): #!/bin/bash INPUT=~/Incoming OUTPUT=~/Publications CD $INPUT find . -type f | while IFS= read filename; do case "${filename,,*}" in *.nzb) : ;; # Exclude *.nzb files from being moved The.Globe*) mv "$filename" "$OUTPUT/The_Globe/" ;; Fish.Times*) mv "$filename" "$OUTPUT/Fish_Times/" ;; esac rm -R $INPUT/* # Remove remainging files and sub-directories done Any suggestions for how to best/correctly sort the PDFs, monitor the directory (whether with inotify wait or just by periodically running the sort script via UserScripts), and remove the remaining directories and left over files? Thanks! Edited October 4, 2020 by xthursdayx Quote Link to comment
rtgurley Posted October 9, 2020 Share Posted October 9, 2020 On 10/23/2015 at 5:38 AM, linuxserver.io said: Please post any questions/issues relating to this docker you have in this thread. UnRaid version 6.8.3 Woke up this morning to a corrupt docker image file. Deleted it and restarted docker, then reinstalled my apps and all good to go except for one. binhex-nzbget docker refuses to start - when trying to manually start it I get a pop-up that says "Execution Error - Server Error" Log file shows the following Oct 9 11:00:01 gurley speedtest: Internet bandwidth test started Oct 9 11:00:16 gurley speedtest: Host: Sparklight (Dallas, TX) [28.07 km] Oct 9 11:00:16 gurley speedtest: Ping (Lowest): 11.267 ms | Download (Max): 502.76 Mbit/s | Upload (Max): 159.67 Mbit/s Oct 9 11:00:16 gurley speedtest: Internet bandwidth test completed Oct 9 11:00:32 gurley crond[1976]: exit status 1 from user root /usr/local/sbin/mover &> /dev/null Oct 9 11:06:46 gurley kernel: docker0: port 5(vethe9cf8bb) entered blocking state Oct 9 11:06:46 gurley kernel: docker0: port 5(vethe9cf8bb) entered disabled state Oct 9 11:06:46 gurley kernel: device vethe9cf8bb entered promiscuous mode Oct 9 11:06:46 gurley kernel: IPv6: ADDRCONF(NETDEV_UP): vethe9cf8bb: link is not ready Oct 9 11:06:46 gurley kernel: docker0: port 5(vethe9cf8bb) entered blocking state Oct 9 11:06:46 gurley kernel: docker0: port 5(vethe9cf8bb) entered forwarding state Oct 9 11:06:46 gurley kernel: docker0: port 5(vethe9cf8bb) entered disabled state Oct 9 11:06:47 gurley kernel: docker0: port 5(vethe9cf8bb) entered disabled state Oct 9 11:06:47 gurley kernel: device vethe9cf8bb left promiscuous mode Oct 9 11:06:47 gurley kernel: docker0: port 5(vethe9cf8bb) entered disabled state The log file for the container itself is blank. I have rebooted the machine, as well as removing the container and reinstalling. What are my next steps? PS I clicked on the Support link and it brought me to this forum. Let me know if I need to find a different forum. Quote Link to comment
Jason442 Posted October 31, 2020 Share Posted October 31, 2020 Hello, I need help figuring out a permissions problem. At some point, NZBGet started applying incorrect permissions when downloading content. I only noticed because I was trying update tag data in some audio files from my Windows PC. I double checked unmask settings under security and it set to 000. So 2 questions: 1 how to fix so future downloads have all permissions in place so that I can edit from my Windows PC. 2. How can I fix current file permissions easily without fixing each file/fold individually? Thanks for the help! Quote Link to comment
Recommended Posts
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.