[SCRIPT] sherpa.sh

This is the best place for community developers to publish their genius work. Your Apps enrich the QNAP Turbo NAS.
Post Reply
User avatar
OneCD
Ask me anything
Posts: 6965
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [SCRIPT] sherpa.sh

Post by OneCD » Fri Nov 15, 2019 3:07 am

ncnmra wrote:
Fri Nov 15, 2019 2:58 am
My home NAS uses /mnt/MD0_DATA/.qpkg
This is usually accessed via [/share/MD0_DATA/.qpkg].

Let's check your mount-points:

Code: Select all

df
And let's get a directory listing of your QPKG installations:

Code: Select all

ll /share/MD0_DATA/.qpkg
ncnmra wrote:
Fri Nov 15, 2019 2:58 am
Can someone explain the reason for varying system volume paths?
It depends on whether your NAS uses LVM or not. The QTS firmwares available on older NAS models don't support LVM, so your volume names appear as 'MD0_DATA' or similar.

If you're using LVM (storage pools), your volume names appear as 'CACHEDEV1_DATA' or similar.

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

ncnmra
Know my way around
Posts: 113
Joined: Sun Oct 10, 2010 8:24 am

Re: [SCRIPT] sherpa.sh

Post by ncnmra » Fri Nov 15, 2019 3:21 am

/share/MD0_DATA! Sorry, you're right!

This is my dd output:

Code: Select all

/dev/ramdisk             32.9M     17.0M     15.9M  52% /
tmpfs                    64.0M    388.0k     63.6M   1% /tmp
/dev/sda4               371.0M    362.2M      8.8M  98% /mnt/ext
/dev/md9                509.5M    159.9M    349.6M  31% /mnt/HDA_ROOT
/dev/md0                915.4G    585.0G    330.0G  64% /share/MD0_DATA
tmpfs                    16.0M     76.0k     15.9M   0% /share/MD0_DATA/.samba/lock/msg.lock
tmpfs                    16.0M         0     16.0M   0% /mnt/ext/opt/samba/private/msg.sock
tmpfs                     1.0M         0      1.0M   0% /mnt/rf/nd
/dev/sdi1               931.5G    550.9G    380.6G  59% /share/external/sdi1

User avatar
OneCD
Ask me anything
Posts: 6965
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [SCRIPT] sherpa.sh

Post by OneCD » Fri Nov 15, 2019 3:24 am

ncnmra wrote:
Fri Nov 15, 2019 3:21 am
This is my dd output:
I hope not... :DD

Yup, [/share/MD0_DATA] is where we want to be.

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

ncnmra
Know my way around
Posts: 113
Joined: Sun Oct 10, 2010 8:24 am

Re: [SCRIPT] sherpa.sh

Post by ncnmra » Fri Nov 15, 2019 3:26 am

^^ Long day. df output ;) Thanks for your patience with me! :)

User avatar
OneCD
Ask me anything
Posts: 6965
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [SCRIPT] sherpa.sh

Post by OneCD » Fri Nov 15, 2019 3:27 am

No worries. :)

So, what's in that [.qpkg] directory?

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

ncnmra
Know my way around
Posts: 113
Joined: Sun Oct 10, 2010 8:24 am

Re: [SCRIPT] sherpa.sh

Post by ncnmra » Fri Nov 15, 2019 10:10 am

Code: Select all

drwxrwxrwx   17 admin    administ      4096 Nov 11 02:12 ./
drwxrwxrwx   41 admin    administ      4096 Nov 10 07:59 ../
drwxrwxrwx    2 admin    administ      4096 Dec 23  2018 .@qRPlayCenter/
drwxr-xr-x    2 admin    administ      4096 Nov  7 20:25 .installation/
drwxr-xr-x    7 admin    administ      4096 May  2  2017 DSv3/
drwxr-xr-x   11 admin    administ      4096 Oct 27 19:30 Entware-ng/
drwxr-xr-x   13 admin    administ      4096 Jun 14  2012 MSV2/
drwxr-xr-x    6 admin    administ      4096 Nov  8 22:02 MalwareRemover/
drwxr-xr-x    5 admin    administ      4096 Oct 16 11:07 Python/
drwxr-xr-x    9 admin    administ      4096 Oct 22 04:41 QDMS/
drwxrwxrwx    5 admin    administ      4096 Oct 28 18:39 SABnzbdplus/
drwxr-xr-x    4 admin    administ      4096 Oct 28 19:21 SickChill/
drwxr-xr-x    2 admin    administ      4096 Feb 18  2019 helpdesk/
drwxr-xr-x    4 admin    administ      4096 Sep 20 16:15 medialibrary/
drwxr-xr-x   10 admin    administ      4096 Jul 15 02:37 musicstation/
drwxr-xr-x   13 admin    administ      4096 Jul 15 02:34 photostation2/
drwxr-xr-x    3 admin    administ      4096 Nov 11 02:12 qmysql/

User avatar
OneCD
Ask me anything
Posts: 6965
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [SCRIPT] sherpa.sh

Post by OneCD » Fri Nov 15, 2019 12:09 pm

ncnmra wrote:
Thu Nov 14, 2019 9:06 pm
I would like to copy my SABNZBd and SickChill configurations to a new NAS. I can't seem to find where they are installed, and/or where the configuration files live.
ncnmra wrote:
Fri Nov 15, 2019 10:10 am

Code: Select all

drwxrwxrwx    5 admin    administ      4096 Oct 28 18:39 SABnzbdplus/
drwxr-xr-x    4 admin    administ      4096 Oct 28 19:21 SickChill/
Now navigate into the [SABnzbdplus] directory and look for a sub-directory called [config]. If you used sherpa to install your apps, that's where the configuration information is stored for each app.

You'll need to recursive-copy that entire directory.

Same for SickChill. :geek:

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

ncnmra
Know my way around
Posts: 113
Joined: Sun Oct 10, 2010 8:24 am

Re: [SCRIPT] sherpa.sh

Post by ncnmra » Sat Nov 16, 2019 12:34 am

Yup! Thanks! After finding where these lived, I knew the rest. It wasn't obvious to me where the QPKGs were installed.

joostpolletje
New here
Posts: 3
Joined: Mon Nov 25, 2013 6:24 pm

Re: [SCRIPT] sherpa.sh

Post by joostpolletje » Mon Nov 25, 2019 10:35 pm

Goodafternoon, Can someone please explain me what is happening? Each and every time Sabnzdb is closed within a few minutes.
I already reinstalled via Sherpa 3 times.
You do not have the required permissions to view the files attached to this post.

User avatar
OneCD
Ask me anything
Posts: 6965
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [SCRIPT] sherpa.sh

Post by OneCD » Tue Nov 26, 2019 1:43 am

Hi and welcome to the forum. :)
joostpolletje wrote:
Mon Nov 25, 2019 10:35 pm
Can someone please explain me what is happening? Each and every time Sabnzdb is closed within a few minutes.
What is your NAS model and firmware version please?

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

joostpolletje
New here
Posts: 3
Joined: Mon Nov 25, 2013 6:24 pm

Re: [SCRIPT] sherpa.sh

Post by joostpolletje » Tue Nov 26, 2019 4:44 pm

OneCD wrote:
Tue Nov 26, 2019 1:43 am
Hi and welcome to the forum. :)
joostpolletje wrote:
Mon Nov 25, 2019 10:35 pm
Can someone please explain me what is happening? Each and every time Sabnzdb is closed within a few minutes.
What is your NAS model and firmware version please?
Thanks! Although I am member since 2013 this is my second post ever.

Model: TS-420
Firmware: 4.3.3.1098 build 20191107

User avatar
OneCD
Ask me anything
Posts: 6965
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [SCRIPT] sherpa.sh

Post by OneCD » Wed Nov 27, 2019 2:50 am

joostpolletje wrote:
Tue Nov 26, 2019 4:44 pm
Model: TS-420
Your model NAS has only 512MB RAM. Running QTS and SABnzbd on less than 1GB RAM is not a good combination. There have been several reports that SABnzbd fails to keep running when QTS has less than 1GB of RAM to play with. This is not a SABnzbd limitation, so it seems QTS is to blame. :(

Might be time to upgrade your NAS?

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

joostpolletje
New here
Posts: 3
Joined: Mon Nov 25, 2013 6:24 pm

Re: [SCRIPT] sherpa.sh

Post by joostpolletje » Wed Nov 27, 2019 4:05 am

OneCD wrote:
Wed Nov 27, 2019 2:50 am
joostpolletje wrote:
Tue Nov 26, 2019 4:44 pm
Model: TS-420
Your model NAS has only 512MB RAM. Running QTS and SABnzbd on less than 1GB RAM is not a good combination. There have been several reports that SABnzbd fails to keep running when QTS has less than 1GB of RAM to play with. This is not a SABnzbd limitation, so it seems QTS is to blame. :(

Might be time to upgrade your NAS?
Hmm. That doenst sound well. Is something different than before? cause till few months ago I was able to run SABnzbd without any problems.

And when I go for this upgrade, is it better to move to Synology (as installing SAB.. seems to easier)

User avatar
OneCD
Ask me anything
Posts: 6965
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [SCRIPT] sherpa.sh

Post by OneCD » Wed Nov 27, 2019 4:15 am

You could also try Stephane’s QSabnzbd package (available in the Qnapclub Store repo). It’s very easy to install.

I can’t say if it will work any better though. ;)

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

Ballador
New here
Posts: 2
Joined: Sat Jun 13, 2015 5:41 am

Re: [SCRIPT] sherpa.sh

Post by Ballador » Wed Nov 27, 2019 2:08 pm

Oh Great and Powerful OneCD, :-)

I have been a long time user of your script, several years. Absolutely fantastic! I looked through some of this massive conversation, and if you have answered this and I missed it, I apologize in advance.

I have been using CouchPotato and SickChill for almost a year, and SickChill just broke due to the changes over on TheTVDB. I know you have had some discussions on this, and I am not removing them, but I am at least trying Watcher and Medusa for now to see if they are solid replacements. I just disabled the old ones and configured the new apps a couple days ago. Everything seems to be running great, with one exception. Watcher3 on my system will not scan my Movies folder. I have attempted both my /share/movies and /share/CACHEDEV1_DATA/Movies paths (depending on the app, they chose one of these two paths), but both return a 500 Internal Server Error.
WatcherLibraryImportDirectory.jpg
WatcherLibraryImportDirectory-500InternalServerError.jpg
Any ideas would be most welcome!

Edit:. Forgot to mention. I am on a QNAP TVS-EC1080, in case that matters much. Single array, single volume, different media shares.

Thank you,

Ballador
You do not have the required permissions to view the files attached to this post.

Post Reply

Return to “Community Apps”