Can't get SABnzbd folders changed

Status
Not open for further replies.

JFD

Dabbler
Joined
Jul 25, 2016
Messages
46
Hi everyone, I am new to FreeNAS and with several websites and video's I managed to build my very own FreeNAS. So far so good. Now I want to use the SABnzbd plugin to take care of my usenet downloads.

What I did:
- installed the plugin
- added storage to the jail by mounting the download dataset
- added a group to the jail, the same as in the FreeNAS webUI
- added the 816 en 350 user to the group

What is not working:
- I can't change the folder in SABnzbd settings for the downloads. I can use the browse button to go the mounted dataset and select a folder. But when I press SAVE I get this error:

Cannot create download_dir folder /mnt/NZB/SABnzbd incomplete

Can somebody please help me?
 

JFD

Dabbler
Joined
Jul 25, 2016
Messages
46
I don't want to be rude or impatient. But perhaps my question isn't clear enough or missing information. If so, please let me know. Also sorry if my English isn't totally correct
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
Try without the space in the name.
 

JFD

Dabbler
Joined
Jul 25, 2016
Messages
46
Already tried that. Used a different folder with a name without space. It looks like somekind of permission issue. I also tried with a different dataset but had the same result.

Can't get it to work but I really want it to. So maybe someone can help me?
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
Have you tried not changing the user and group info and see if you can do it?
 

JFD

Dabbler
Joined
Jul 25, 2016
Messages
46
I started with nothing changed. Then found on this forum instructions to add the media (user) and the group. But no succes so far
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
Please provide a screenshot of what configuration you are trying to make when you get the error (you can just paste the image into the post) as well as an output of zfs list (please use code tags).
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
can you show the output of "ls -l /mnt/NZB/*"
 

JFD

Dabbler
Joined
Jul 25, 2016
Messages
46
Just got it working with the command chown -R media: Download mnt/NZB/

At least it looks like it's working.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
yeah, sabnzbd needs to be able to write to the folders you specify so you fixed it there.
 

JFD

Dabbler
Joined
Jul 25, 2016
Messages
46
@Joshua Parker Ruehlig your command gives:

root@sabnzbd_1:/ # ls -l /mnt/NZB/
total 99
drwxrwxr-x+ 2 media Download 2 Jul 26 16:36 SABnzbd complete
drwxrwxr-x+ 4 media Download 4 Jul 15 11:10 SABnzbd config
drwxrwxr-x+ 2 media Download 2 Jul 26 16:35 SABnzbd incomplete
drwxrwxr-x+ 2 media Download 2 Jul 26 16:35 SABnzbd nzb files

Can you tell me if it is correct now? And can you explain what I did by using the chown command in the jail? I would like to understand.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
sabnzbd wont save the folder settings, unless it confirms it can write to the folders you specify.
those folders have 775 permissions which mean the folder owner, and group owner, can write to the directories.
The chown command changed the user that owned the folder to 'media'. Since sabnzbd runs as this user by default it can now write to those folders.
 
Status
Not open for further replies.
Top