Search found 293 matches

by OneCD
March 19th, 2019, 2:21 am
Forum: Post-Processing Scripts
Topic: Trouble using scripts on Qnap NAS
Replies: 12
Views: 850

Re: Trouble using scripts on Qnap NAS

I have disabled the admin user in QTS... That's not a good idea. Your NAS is no better secured and it creates other issues, particularly when you’re trying to fix things. ;) How did you install SABnzbd? Sherpa script? Is there a way of running Sabnzbd as a less privileged user? For now, I'm only ab...
by OneCD
March 18th, 2019, 5:01 pm
Forum: Post-Processing Scripts
Topic: Trouble using scripts on Qnap NAS
Replies: 12
Views: 850

Re: Trouble using scripts on Qnap NAS

sander wrote:
March 18th, 2019, 3:50 pm
Maybe SABnzbd is running as a user with other, less rights? Maybe n o rights to run the script and/or to run /sbin/poweroff ?
In QTS, almost all apps run with $EUID = 0. It's not ideal. :(
by OneCD
March 18th, 2019, 4:51 pm
Forum: Post-Processing Scripts
Topic: Trouble using scripts on Qnap NAS
Replies: 12
Views: 850

Re: Trouble using scripts on Qnap NAS

I created a new script called [testoff.sh] and placed it into my scripts directory. This is on a TS-559 Pro+ running QTS 4.2.6 #20181227. This script contains: #!/usr/bin/env bash poweroff Made it executable: chmod +x testoff.sh Then selected this script to be run when queue completes. Works fine. W...
by OneCD
March 18th, 2019, 2:17 pm
Forum: Post-Processing Scripts
Topic: Trouble using scripts on Qnap NAS
Replies: 12
Views: 850

Re: Trouble using scripts on Qnap NAS

Okiedoke, just had a look at the SAB code. These snippets are from [sabnzbd/powersup.py]: try: import dbus HAVE_DBUS = True except ImportError: HAVE_DBUS = False def linux_shutdown(): """ Make Linux system shutdown, never returns """ if not HAVE_DBUS: os._exit(0) QTS doesn't use DBUS, so SAB is unab...
by OneCD
March 18th, 2019, 2:11 am
Forum: Post-Processing Scripts
Topic: Trouble using scripts on Qnap NAS
Replies: 12
Views: 850

Re: Trouble using scripts on Qnap NAS

Have you tried the "Shutdown PC" action?
by OneCD
March 17th, 2019, 2:37 pm
Forum: General Help
Topic: cherrypy and sql query errors
Replies: 27
Views: 1207

Re: cherrypy and sql query errors

Both Windows 10 (1809) and Server 2019 (1809) automatically delete temporary files that "apps aren't using". There is no apparent configuration parameter to tune this functionality beyond turning it on and off. The setting is buried under storage management along with a bunch of other storage relat...
by OneCD
March 8th, 2019, 2:18 pm
Forum: Debian/Ubuntu Package
Topic: how run SABnzbd git version as a daemon / service?
Replies: 5
Views: 1001

Re: how run git version as a daemon / service?

jcfp wrote:
March 8th, 2019, 7:21 am
This only works if you put in a native systemd service yourself, the package doesn't ship one.
Well, we're discussing the git version, not the package, so there's: https://github.com/sabnzbd/sabnzbd/blob ... 40.service
by OneCD
March 8th, 2019, 4:07 am
Forum: Debian/Ubuntu Package
Topic: how run SABnzbd git version as a daemon / service?
Replies: 5
Views: 1001

Re: how run git version as a daemon / service?

sander wrote:
March 8th, 2019, 3:52 am
A "sudo service sabnzbdplus restart" does start the git version, but it ends quickly in a Signal 2:
On my Debian 9.8, this is:

Code: Select all

sudo systemctl restart [email protected]<my user name>.service
by OneCD
February 12th, 2019, 4:28 pm
Forum: Feature Requests
Topic: extend functionality of 'Add' button?
Replies: 0
Views: 1067

extend functionality of 'Add' button?

Using SABnzbd 2.3.7 on Debian 9.7 and viewed with Firefox 65.0 This suggestion is primarily about the "Upload NZB" 'Add' button, but could be extended to the "Fetch NZB from URL" 'Add' button too. Current behavior is: if no file has been selected and the 'Add' button is clicked: https://i.imgur.com/...
by OneCD
February 7th, 2019, 2:12 am
Forum: Feature Requests
Topic: permit mixed-case category names?
Replies: 3
Views: 329

Re: permit mixed-case category names?

Ah, no worries. Thanks @safihre. 8)
by OneCD
February 6th, 2019, 10:17 pm
Forum: Feature Requests
Topic: permit mixed-case category names?
Replies: 3
Views: 329

permit mixed-case category names?

Hello. Using SABnzbd 2.3.7 on Debian 9.7 I've just noticed if I attempt to alter a category name and use uppercase characters, these are converted to all lowercase after I've hit "save". Examples: 'Movies' becomes 'movies' 'TV' becomes 'tv' 'not in SickChill' becomes 'not in sickchill' Would it be p...
by OneCD
February 5th, 2019, 6:20 pm
Forum: General Help
Topic: renaming TV shows with obfuscated filenames
Replies: 17
Views: 4059

Re: renaming TV shows with obfuscated filenames

NZBeaner wrote:
February 5th, 2019, 5:59 pm
WHY is this so needlessly complicated?
You are welcome to code your own solution. One that isn't "so needlessly complicated". ::)
by OneCD
January 27th, 2019, 9:16 pm
Forum: General Help
Topic: Can't pause, automatically resumes
Replies: 4
Views: 241

Re: Can't pause, automatically resumes

Hi and welcome to the forum. :)

Your posted image is not visible. Maybe try a link to it instead?
by OneCD
January 15th, 2019, 3:43 am
Forum: Feature Requests
Topic: issue warning when external script is not executable?
Replies: 5
Views: 504

Re: issue warning when external script is not executable?

Well, it may lead to support questions like “why can’t SABnzbd see my script?

Then my first question would be “is it executable?;)