Jump to content

Help finding a Share folder...where is it? (SOLVED)


Recommended Posts

Hello.

I have been using Unraid with SABNZBD for years now and don't have any issues with my movies and tv shows and various folders.

 

However I am trying something new and have created a share called MLB and have SABNZBD setup using a specific Category for MLB content, and am using the Folder/Path option to specify where I want the content stored. I am pointing SAB to put MLB Categorized content in /mnt/user/MLB.  When I try and use the SAB browser I get to /mnt and the contents are blank, so I cannot have it write to the /user/MLB location and I get a 'permission denied: /root' error in SAB.

 

I feel like I need a way to grant SAB read/write access to this Share (though I haven't had to do that with Movies or TV Shows) so I think I am missing some fundamental understanding here about how to setup and use a Share. Is my share in the /mnt path? And if so, why would I not be able to browse to it?

 

I know this is marginally related to SAB, but I am looking for support here for the Share I created and how to let a third-party application browse to it, as I think that is my issue.

 

Thanks for any help/suggestions.

Screenshots attached of configurations from Share and SAB.

 

Error output from SAB, in case this helps...

 

ERROR 9 minutes ago [11/Jul/2021:09:08:19] HTTP 
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/cherrypy/_cprequest.py", line 638, in respond
    self._do_respond(path_info)
  File "/usr/lib/python3.9/site-packages/cherrypy/_cprequest.py", line 697, in _do_respond
    response.body = self.handler()
  File "/usr/lib/python3.9/site-packages/cherrypy/lib/encoding.py", line 219, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/lib/sabnzbd/sabnzbd/interface.py", line 174, in internal_wrap
    return wrap_func(*args, **kwargs)
  File "/usr/lib/sabnzbd/sabnzbd/interface.py", line 483, in api
    return api_handler(kwargs)
  File "/usr/lib/sabnzbd/sabnzbd/api.py", line 99, in api_handler
    response = _api_table.get(mode, (_api_undefined, 2))[0](name, output, kwargs)
  File "/usr/lib/sabnzbd/sabnzbd/api.py", line 781, in _api_browse
    paths = folders_at_path(name, True, show_hidden)
  File "/usr/lib/sabnzbd/sabnzbd/utils/pathbrowser.py", line 103, in folders_at_path
    for filename in os.listdir(path):
PermissionError: [Errno 13] Permission denied: '/root'
ERROR 11 minutes ago Post Processing Failed for MLB 2021 07 05 Atlanta Braves vs Pittsburgh Pirates 720p WEB h264-SPORTSNET (see logfile)
ERROR 11 minutes ago Cannot create final folder /mnt/user/MLB/MLB 2021 07 05 Atlanta Braves vs Pittsburgh Pirates 720p WEB h264-SPORTSNET

2021-07-11_9-16-44.png

2021-07-11_9-17-25.png

Edited by slofiend
Link to comment

If I do it was not something I did intentionally.

Usually SAB downloads to a Download folder and then Sonarr (or whatever) picks up and moves/manages the file from there.

So Sonarr has the relative permissions, but since I can't use Sonarr to manage sports, I was hoping to have SAB just unpack and move the games for me, which is where this permission issue is coming from and why I think I haven't run into it before.

Link to comment

Thanks trurl, hope this helps.

 

Run output...

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='binhex-sabnzbd' --net='bridge' -e TZ="America/Los_Angeles" -e HOST_OS="Unraid" -e 'UMASK'='000' -e 'PUID'='99' -e 'PGID'='100' -p '8080:8080/tcp' -p '8090:8090/tcp' -v '/mnt/user/Download/':'/data':'rw' -v '/mnt/user/appdata/binhex-sabnzbd':'/config':'rw' 'binhex/arch-sabnzbd'

a6478afbf34338a3a875bcb7c20994450440a4a3ec8ff5c224f0f4411e7e9aee

Log output FWIW...

Created by...
___. .__ .__
\_ |__ |__| ____ | |__ ____ ___ ___
| __ \| |/ \| | \_/ __ \\ \/ /
| \_\ \ | | \ Y \ ___/ > <
|___ /__|___| /___| /\___ >__/\_ \
\/ \/ \/ \/ \/
https://hub.docker.com/u/binhex/

2021-07-12 08:50:14.553657 [info] Host is running unRAID
2021-07-12 08:50:14.571654 [info] System information Linux a97584cdb154 5.10.28-Unraid #1 SMP Wed Apr 7 08:23:18 PDT 2021 x86_64 GNU/Linux
2021-07-12 08:50:14.593805 [info] OS_ARCH defined as 'x86-64'
2021-07-12 08:50:14.615134 [info] PUID defined as '99'
2021-07-12 08:50:14.653916 [info] PGID defined as '100'
2021-07-12 08:50:14.710623 [info] UMASK defined as '000'
2021-07-12 08:50:14.730443 [info] Permissions already set for '/config'
2021-07-12 08:50:14.761555 [info] Deleting files in /tmp (non recursive)...
2021-07-12 08:50:14.793209 [info] Starting Supervisor...
2021-07-12 08:50:15,037 INFO Included extra file "/etc/supervisor/conf.d/sabnzbd.conf" during parsing
2021-07-12 08:50:15,038 INFO Set uid to user 0 succeeded
2021-07-12 08:50:15,040 INFO supervisord started with pid 7
2021-07-12 08:50:16,042 INFO spawned: 'sabnzbd' with pid 64
2021-07-12 08:50:16,044 INFO spawned: 'shutdown-script' with pid 65
2021-07-12 08:50:16,044 INFO reaped unknown pid 8 (exit status 0)
2021-07-12 08:50:16,802 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,801::INFO::[SABnzbd:1160] --------------------------------

2021-07-12 08:50:16,802 INFO success: shutdown-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2021-07-12 08:50:16,802 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,802::INFO::[SABnzbd:1161] SABnzbd.py-3.3.1

2021-07-12 08:50:16,802 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,802::INFO::[SABnzbd:1171] Commit = 654302e6914fc3f50d4fee6ed1d59c148a81998d

2021-07-12 08:50:16,802 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,802::INFO::[SABnzbd:1173] Full executable path = /usr/lib/sabnzbd/SABnzbd.py

2021-07-12 08:50:16,802 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,802::INFO::[SABnzbd:1174] Arguments = "/usr/lib/sabnzbd/SABnzbd.py" "--config-file" "/config" "--server" "0.0.0.0:8080" "--https" "8090"

2021-07-12 08:50:16,802 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,802::INFO::[SABnzbd:1175] Python-version = 3.9.5 (default, May 24 2021, 12:50:35)
[GCC 11.1.0]

2021-07-12 08:50:16,802 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,802::INFO::[SABnzbd:1176] Dockerized = True

2021-07-12 08:50:16,802 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,802::INFO::[SABnzbd:1177] CPU architecture = x86_64

2021-07-12 08:50:16,805 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,805::INFO::[SABnzbd:1180] Platform = posix - Linux-5.10.28-Unraid-x86_64-with-glibc2.33

2021-07-12 08:50:16,805 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,805::INFO::[SABnzbd:1186] Preferred encoding = UTF-8

2021-07-12 08:50:16,806 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,805::INFO::[SABnzbd:1198] SSL version = OpenSSL 1.1.1k 25 Mar 2021

2021-07-12 08:50:16,806 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,806::INFO::[SABnzbd:1228] Using INI file /config/sabnzbd.ini

2021-07-12 08:50:16,809 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,808::INFO::[postproc:139] Loading postproc queue

2021-07-12 08:50:16,811 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,811::INFO::[scheduler:190] Scheduling RSS interval task every 60 min (delay=22)

2021-07-12 08:50:16,811 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,811::INFO::[scheduler:201] Scheduling VersionCheck on day 4 at 21:12

2021-07-12 08:50:16,811 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,811::INFO::[scheduler:215] Setting schedule for midnight BPS reset

2021-07-12 08:50:16,811 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,811::INFO::[scheduler:218] Setting schedule for server expiration check

2021-07-12 08:50:16,812 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,811::INFO::[scheduler:223] Setting scheduler for server quota check

2021-07-12 08:50:16,812 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,812::INFO::[__init__:334] All processes started

2021-07-12 08:50:16,812 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,812::INFO::[SABnzbd:324] Template location for Glitter is /usr/lib/sabnzbd/interfaces/Glitter

2021-07-12 08:50:16,812 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,812::INFO::[SABnzbd:324] Template location for Config is /usr/lib/sabnzbd/interfaces/Config

2021-07-12 08:50:16,813 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,813::INFO::[misc:1071] [N/A] Running external command: ['/usr/sbin/unrar']

2021-07-12 08:50:16,819 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,818::INFO::[misc:1071] [N/A] Running external command: ['/usr/sbin/par2', '-h']

2021-07-12 08:50:16,827 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,827::INFO::[SABnzbd:411] SABYenc module (v4.0.2)... found!

2021-07-12 08:50:16,827 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,827::INFO::[SABnzbd:430] Cryptography module (v3.4.7)... found!

2021-07-12 08:50:16,828 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,827::INFO::[SABnzbd:435] par2 binary... found (/usr/sbin/par2)

2021-07-12 08:50:16,828 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,828::INFO::[SABnzbd:442] UNRAR binary... found (/usr/sbin/unrar)

2021-07-12 08:50:16,828 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,828::INFO::[SABnzbd:452] UNRAR binary version 6.02

2021-07-12 08:50:16,828 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,828::INFO::[SABnzbd:460] 7za binary... found (/usr/sbin/7za)

2021-07-12 08:50:16,828 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,828::INFO::[SABnzbd:471] nice binary... found (/usr/sbin/nice)

2021-07-12 08:50:16,828 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,828::INFO::[SABnzbd:475] ionice binary... found (/usr/sbin/ionice)

2021-07-12 08:50:16,831 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,831::INFO::[SABnzbd:1285] HTTPS keys are OK

2021-07-12 08:50:16,832 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,831::INFO::[SABnzbd:1417] Starting web-interface on 0.0.0.0:8090

2021-07-12 08:50:16,832 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,832::INFO::[_cplogging:213] [12/Jul/2021:08:50:16] ENGINE Bus STARTING

2021-07-12 08:50:16,936 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:16,935::INFO::[_cplogging:213] [12/Jul/2021:08:50:16] ENGINE Serving on http://0.0.0.0:8080

2021-07-12 08:50:17,047 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:17,047::INFO::[_cplogging:213] [12/Jul/2021:08:50:17] ENGINE Serving on https://0.0.0.0:8090

2021-07-12 08:50:17,047 INFO success: sabnzbd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-07-12 08:50:17,048 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:17,047::INFO::[_cplogging:213] [12/Jul/2021:08:50:17] ENGINE Bus STARTED
2021-07-12 08:50:17,047::INFO::[SABnzbd:1454] Starting SABnzbd.py-3.3.1

2021-07-12 08:50:17,051 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:17,050::INFO::[dirscanner:117] Dirscanner starting up

2021-07-12 08:50:17,051 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:17,051::INFO::[panic:239] Launching browser with https://127.0.0.1:8090/sabnzbd

2021-07-12 08:50:17,052 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:17,052::INFO::[notifier:122] Sending notification: SABnzbd - SABnzbd 3.3.1 started (type=startup, job_cat=None)

2021-07-12 08:50:17,058 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:17,057::INFO::[postproc:237] Completed Download Folder /data/Complete is not on FAT

2021-07-12 08:50:17,145 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:17,145::INFO::[zconfig:62] No bonjour/zeroconf support installed

2021-07-12 08:50:17,146 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:17,145::INFO::[ssdp:108] Serving SSDP on 172.17.0.5 as SABnzbd

2021-07-12 08:50:31,816 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:31,816::INFO::[rss:481] Starting scheduled RSS read-out for "NZBGeek MLB"

2021-07-12 08:50:48,949 DEBG 'sabnzbd' stderr output:
2021-07-12 08:50:48,949::INFO::[rss:497] Finished scheduled RSS read-outs
 

Link to comment

You've asked Sab to store MLB within /mnt/user/MLB.  This path was not passed through to Sab, so it's storing it directly within the container.

 

You need to add another path (when editing the template) of the host path /mnt/user/MLB mapped to the container path of /MLB and then within Sab tell it to store that category within /MLB  

 

(And also under advanced settings somewhere in Sab, tell it to store the files with permissions of 777 for the least amount of trouble on the array)

Link to comment
  • slofiend changed the title to Help finding a Share folder...where is it? (SOLVED)

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.

×
×
  • Create New...