[QPKG] sherpa: a mini-package-manager (CLI) beta
-
- Getting the hang of things
- Posts: 85
- Joined: Fri Jul 03, 2015 5:44 pm
Re: [SCRIPT] sherpa.sh
Hello, OneCD. It looks like now the the qpgs is completely dead as well as large parts of the forum.
Is that a fair statement or what do I miss?
I will look into you script, but my urgent need is to get rtorrent to work. It looks like you do not support any torrent client?
Is that a fair statement or what do I miss?
I will look into you script, but my urgent need is to get rtorrent to work. It looks like you do not support any torrent client?
- OneCD
- Guru
- Posts: 12144
- Joined: Sun Aug 21, 2016 10:48 am
- Location: "... there, behind that sofa!"
Re: [SCRIPT] sherpa.sh
That's hard to say... which QPKG do you mean? Which forum?
Correct.
-
- Getting the hang of things
- Posts: 85
- Joined: Fri Jul 03, 2015 5:44 pm
Re: [SCRIPT] sherpa.sh
-
- Getting the hang of things
- Posts: 85
- Joined: Fri Jul 03, 2015 5:44 pm
Re: [SCRIPT] sherpa.sh
Thank you. I have made the transition to your script and sickchill.
-
- Starting out
- Posts: 29
- Joined: Wed Aug 09, 2017 1:58 am
Re: [SCRIPT] sherpa.sh
Thanks for that I will give it a try.OneCD wrote: ↑Mon Mar 23, 2020 4:17 amYes, I've included some code to support this, but it only runs when the SABnzbd QPKG is 'started'.
So, you'll need change the port number in SABnzbd, then 'stop' and 'start' the SABnzbd QPKG in your App Center to update QTS with the new port number.
Then refresh your App Center web-page to reload the [/etc/config/qpkg.conf] file.
By the way - sabnzbd runs very well !! I do not have any freez or have to restart my server.
I am very happy with you work !!!
But as usual, when people tell that they are happy,... they have another problem *haha*
For each download, sabnzbd creates an own folder - great.
Thats the way i need it to do
BUT: since sherpa.sh is only installed via ssh only with ADMIN user.
Each created folder from sabnzbd is owned by admin. This is kind of problem for me, because i deactivated my admin user and handle my qnap in another way with other users.
So each time i have a complet download, the folder is totaly empty - till i change the owner from admin to my other user
So my concrete question is:
Is there a way to change this? So that every new download is in an folder NOT owned by "admin"?!
There is an extra user for administration with admin rights (name it eg: ExtraUser).
"admin" installs sherpa.sh with sabnzbd.
Every download from sabnzbd is in an own folder owned by "admin"
--> folder is empty, because "ExtraUser" is not the owner of this folder.
Only when i change the owner of each download folder to "ExtraUser" i can handle its content...
Thank you for you GREAT WORK - i am sure this is only a little thing and presumably my fault
Kind regards !!!
-
- Experience counts
- Posts: 1786
- Joined: Sat Oct 13, 2007 2:21 am
- Location: Germany
Re: [SCRIPT] sherpa.sh
Within sabnzb there is an option to set the permissions for the created downloaded files.
See https://sabnzbd.org/wiki/advanced/unix-permissions
This should do the trick.
See https://sabnzbd.org/wiki/advanced/unix-permissions
This should do the trick.
TVS-1282 | Version 4.4.3 | 3x 12TB WDC WD121KRYZ RAID5
TS-639 Pro | Version 4.2.6 | 5x 3TB WDC WD30EFRX RAID5 as Backup
LianLi EX-50 with 3x 2TB SAMSUNG HD203WI + 2x 2TB SAMSUNG HD204UI in RAID5 as Backup drive
LianLi EX-503 with 5x 2TB SAMSUNG HD204UI in RAID5 as Backup drive
TS-639 Pro | Version 4.2.6 | 5x 3TB WDC WD30EFRX RAID5 as Backup
LianLi EX-50 with 3x 2TB SAMSUNG HD203WI + 2x 2TB SAMSUNG HD204UI in RAID5 as Backup drive
LianLi EX-503 with 5x 2TB SAMSUNG HD204UI in RAID5 as Backup drive
-
- Starting out
- Posts: 29
- Joined: Wed Aug 09, 2017 1:58 am
Re: [SCRIPT] sherpa.sh
YES - this DO the trickniwa2 wrote: ↑Fri Mar 27, 2020 9:41 pm Within sabnzb there is an option to set the permissions for the created downloaded files.
See https://sabnzbd.org/wiki/advanced/unix-permissions
This should do the trick.
You do not have the required permissions to view the files attached to this post.
-
- Know my way around
- Posts: 109
- Joined: Mon Oct 05, 2009 1:46 am
Re: [SCRIPT] sherpa.sh
Should sickchill/SABnzb be able to unpack rar files? i've got a series that keeps downloading in rar format but never seems to unpack.
- OneCD
- Guru
- Posts: 12144
- Joined: Sun Aug 21, 2016 10:48 am
- Location: "... there, behind that sofa!"
Re: [SCRIPT] sherpa.sh
Yes, SABnzbd will do it, if it can find an 'unrar' binary (this is installed by sherpa), and if you've set post-processing to at least the "+Unpack" option.
Suggest checking the SABnzbd logs and find out what happens when your download finished. Any errors?
-
- Know my way around
- Posts: 109
- Joined: Mon Oct 05, 2009 1:46 am
Re: [SCRIPT] sherpa.sh
All processing is set to default (presumably that's +all options?)
This is a copy of the log from sickchill:
Code: Select all
2020-03-28 21:24:34 INFO POSTPROCESSOR-AUTO :: Auto post processing task for /share/Download/sabnzbd/complete/tv completed
2020-03-28 21:24:34 INFO POSTPROCESSOR-AUTO :: the.blacklist.s06e15.multi.1080p.bluray.x264-sodapop.rar : Unpacking failed: Unpacking Failed with Invalid Rar Archive Usage. Is unrar installed and on the system PATH?
2020-03-28 21:24:34 INFO POSTPROCESSOR-AUTO :: 36453c61574143d9b59592be386c1d3b.part01.rar : Unpacking failed: Unpacking Failed with Invalid Rar Archive Usage. Is unrar installed and on the system PATH?
2020-03-28 21:24:34 INFO POSTPROCESSOR-AUTO :: 2ca85d2a202949d88aa8052c49ecaadf.part001.rar : Unpacking failed: Unpacking Failed with Invalid Rar Archive Usage. Is unrar installed and on the system PATH?
2020-03-28 21:24:34 INFO POSTPROCESSOR-AUTO :: Some items were not processed.
2020-03-28 21:24:34 INFO POSTPROCESSOR-AUTO :: Successfully processed
2020-03-28 21:24:34 WARNING POSTPROCESSOR-AUTO :: Failed to extract the archive the.blacklist.s06e15.multi.1080p.bluray.x264-sodapop.rar: Invalid Rar Archive Usage
2020-03-28 21:23:45 WARNING POSTPROCESSOR-AUTO :: Failed to extract the archive 36453c61574143d9b59592be386c1d3b.part01.rar: Invalid Rar Archive Usage
2020-03-28 21:23:04 WARNING POSTPROCESSOR-AUTO :: Failed to extract the archive 2ca85d2a202949d88aa8052c49ecaadf.part001.rar: Invalid Rar Archive Usage
2020-03-28 21:22:07 INFO POSTPROCESSOR-AUTO :: Processing /share/CACHEDEV1_DATA/Download/sabnzbd/complete/tv
2020-03-28 21:22:07 INFO POSTPROCESSOR-AUTO :: Beginning auto post processing task: /share/Download/sabnzbd/complete/tv
2020-03-28 21:22:06 INFO POSTPROCESSOR :: Auto post processing task for /share/Download/sabnzbd/complete/tv was added to the queue
2020-03-28 21:14:30 INFO POSTPROCESSOR-AUTO :: Auto post processing task for /share/Download/sabnzbd/complete/tv completed
2020-03-28 21:14:30 INFO POSTPROCESSOR-AUTO :: the.blacklist.s06e15.multi.1080p.bluray.x264-sodapop.rar : Unpacking failed: Unpacking Failed with Invalid Rar Archive Usage. Is unrar installed and on the system PATH?
2020-03-28 21:14:30 INFO POSTPROCESSOR-AUTO :: 36453c61574143d9b59592be386c1d3b.part01.rar : Unpacking failed: Unpacking Failed with Invalid Rar Archive Usage. Is unrar installed and on the system PATH?
2020-03-28 21:14:30 INFO POSTPROCESSOR-AUTO :: 2ca85d2a202949d88aa8052c49ecaadf.part001.rar : Unpacking failed: Unpacking Failed with Invalid Rar Archive Usage. Is unrar installed and on the system PATH?
2020-03-28 21:14:30 INFO POSTPROCESSOR-AUTO :: Some items were not processed.
2020-03-28 21:14:30 INFO POSTPROCESSOR-AUTO :: Successfully processed
2020-03-28 21:14:30 WARNING POSTPROCESSOR-AUTO :: Failed to extract the archive the.blacklist.s06e15.multi.1080p.bluray.x264-sodapop.rar: Invalid Rar Archive Usage
2020-03-28 21:13:42 WARNING POSTPROCESSOR-AUTO :: Failed to extract the archive 36453c61574143d9b59592be386c1d3b.part01.rar: Invalid Rar Archive Usage
2020-03-28 21:13:01 WARNING POSTPROCESSOR-AUTO :: Failed to extract the archive 2ca85d2a202949d88aa8052c49ecaadf.part001.rar: Invalid Rar Archive Usage
2020-03-28 21:12:06 INFO POSTPROCESSOR-AUTO :: Processing /share/CACHEDEV1_DATA/Download/sabnzbd/complete/tv
2020-03-28 21:12:06 INFO POSTPROCESSOR-AUTO :: Beginning auto post processing task: /share/Download/sabnzbd/complete/tv
2020-03-28 21:12:06 INFO POSTPROCESSOR :: Auto post processing task for /share/Download/sabnzbd/complete/tv was added to the queue
2020-03-28 21:06:56 INFO CHECKVERSION :: Checking for updates using GIT
2020-03-28 21:04:34 INFO POSTPROCESSOR-AUTO :: Auto post processing task for /share/Download/sabnzbd/complete/tv completed
2020-03-28 21:04:34 INFO POSTPROCESSOR-AUTO :: the.blacklist.s06e15.multi.1080p.bluray.x264-sodapop.rar : Unpacking failed: Unpacking Failed with Invalid Rar Archive Usage. Is unrar installed and on the system PATH?
2020-03-28 21:04:34 INFO POSTPROCESSOR-AUTO :: 36453c61574143d9b59592be386c1d3b.part01.rar : Unpacking failed: Unpacking Failed with Invalid Rar Archive Usage. Is unrar installed and on the system PATH?
2020-03-28 21:04:34 INFO POSTPROCESSOR-AUTO :: 2ca85d2a202949d88aa8052c49ecaadf.part001.rar : Unpacking failed: Unpacking Failed with Invalid Rar Archive Usage. Is unrar installed and on the system PATH?
2020-03-28 21:04:34 INFO POSTPROCESSOR-AUTO :: Some items were not processed.
2020-03-28 21:04:34 INFO POSTPROCESSOR-AUTO :: Successfully processed
2020-03-28 21:04:34 WARNING POSTPROCESSOR-AUTO :: Failed to extract the archive the.blacklist.s06e15.multi.1080p.bluray.x264-sodapop.rar: Invalid Rar Archive Usage
2020-03-28 21:03:44 WARNING POSTPROCESSOR-AUTO :: Failed to extract the archive 36453c61574143d9b59592be386c1d3b.part01.rar: Invalid Rar Archive Usage
2020-03-28 21:03:02 WARNING POSTPROCESSOR-AUTO :: Failed to extract the archive 2ca85d2a202949d88aa8052c49ecaadf.part001.rar: Invalid Rar Archive Usage
2020-03-28 21:02:06 INFO POSTPROCESSOR-AUTO :: Processing /share/CACHEDEV1_DATA/Download/sabnzbd/complete/tv
2020-03-28 21:02:05 INFO POSTPROCESSOR-AUTO :: Beginning auto post processing task: /share/Download/sabnzbd/complete/tv
2020-03-28 21:02:05 INFO POSTPROCESSOR :: Auto post processing task for /share/Download/sabnzbd/complete/tv was added to the queue
2020-03-28 20:57:18 INFO SEARCHQUEUE-DAILY-SEARCH :: No needed episodes found
2020-03-28 20:57:00 INFO SEARCHQUEUE-DAILY-SEARCH :: Beginning daily search for new episodes
- OneCD
- Guru
- Posts: 12144
- Joined: Sun Aug 21, 2016 10:48 am
- Location: "... there, behind that sofa!"
Re: [SCRIPT] sherpa.sh
Don't presume - confirm instead.
No, please check the SABnzbd log.
-
- New here
- Posts: 7
- Joined: Sun Nov 06, 2016 7:36 pm
Re: [SCRIPT] sherpa.sh
Hi there,
love your script (used to install Watcher), but unfortunately there is no chance to use Watcher to get Italian content (Italian torrent sites are not Watcher-friendly), so I'm going to uninstall it.
After the installation I have in the App Center of the Qnap two additional icons: Entware-std 1.02 and Owatcher3: it's enough to remove them using App Center's interface ore there are other packages to be uninstalled? It's ok to do that through the interface or is better to use ssh and command line?
Thanks!
love your script (used to install Watcher), but unfortunately there is no chance to use Watcher to get Italian content (Italian torrent sites are not Watcher-friendly), so I'm going to uninstall it.
After the installation I have in the App Center of the Qnap two additional icons: Entware-std 1.02 and Owatcher3: it's enough to remove them using App Center's interface ore there are other packages to be uninstalled? It's ok to do that through the interface or is better to use ssh and command line?
Thanks!
- OneCD
- Guru
- Posts: 12144
- Joined: Sun Aug 21, 2016 10:48 am
- Location: "... there, behind that sofa!"
Re: [SCRIPT] sherpa.sh
Yes, via the App Center is fine.buongiorgio wrote: ↑Sun Mar 29, 2020 5:54 pm After the installation I have in the App Center of the Qnap two additional icons: Entware-std 1.02 and Owatcher3: it's enough to remove them using App Center's interface ore there are other packages to be uninstalled? It's ok to do that through the interface or is better to use ssh and command line?
Uninstall OWatcher3 first, wait until it's finished uninstalling, then uninstall Entware.
- Shadytree
- Know my way around
- Posts: 241
- Joined: Thu Feb 12, 2009 4:58 am
- Location: United Kingdom
Re: [SCRIPT] sherpa.sh
Hi OneCD, hope you are safe and well?
I recently ran a restart script for SABNZBD and now get lots of SQL Command Failed errors when using the interface. Not sure what went wrong, but the interface is really slow to respond, then hangs and just gives the errors.
What is the command for a fresh install from Sherpa please?
Also will that wipe my config settings completely ?
Best regards
shady
I recently ran a restart script for SABNZBD and now get lots of SQL Command Failed errors when using the interface. Not sure what went wrong, but the interface is really slow to respond, then hangs and just gives the errors.
What is the command for a fresh install from Sherpa please?
Also will that wipe my config settings completely ?
Best regards
shady
TVS-872XT-32GB | Raid 6 | 8 x 6TB WD Gold | 1TB NVMe SSD | QTS 4.5.2 1566
TS-569L-3GB | Raid 5 | 5 x 3TB WD Red Drives | QTS 4.3.4.1368 |
Apps: Python 2.7.12 | Python3 3.5.2.0 | Sherpa qpkg 200917 SABnzbdplus v3.1.1 |SickChill Master v2020.09.20-7 |
Plex Media Server 4.51.1 |
[Old Box] - QNAP TS-509 Pro | Raid 5 - 5 x 1TB WD Green Drives
FW 3.7.3 Build 20120801 -Redundancy backup
TS-569L-3GB | Raid 5 | 5 x 3TB WD Red Drives | QTS 4.3.4.1368 |
Apps: Python 2.7.12 | Python3 3.5.2.0 | Sherpa qpkg 200917 SABnzbdplus v3.1.1 |SickChill Master v2020.09.20-7 |
Plex Media Server 4.51.1 |
[Old Box] - QNAP TS-509 Pro | Raid 5 - 5 x 1TB WD Green Drives
FW 3.7.3 Build 20120801 -Redundancy backup
- OneCD
- Guru
- Posts: 12144
- Joined: Sun Aug 21, 2016 10:48 am
- Location: "... there, behind that sofa!"
Re: [SCRIPT] sherpa.sh
Hi shady.
Please download the latest sherpa.sh script, make it executable, then reinstall SABnzbd with:
Code: Select all
cd /share/Public
curl -skLO https://git.io/sherpa.sh && chmod +x sherpa.sh
./sherpa.sh sab
No, your existing settings will be retained.