Page 1 of 1
Help: Cannot create directory
Posted: January 11th, 2012, 5:59 pm
by bobido
Hi there,
I'm trying to set up sabnzbd on Debian. So far everything seems to work except for one thing: I'am trying to separate the download folder (in the users home folder) from the nzbwatch folder. However when I fill in the absolute path I get the following error message:
2012-01-11 23:37:05,664 ERROR: Cannot create directory /home/samba/NZBWatch
With the same user used for installing and running sabnzbd I can create a folder (right groups etc), however sabnzbd itself cannot.
Thanks in advance!
Re: Help: Cannot create directory
Posted: January 12th, 2012, 2:05 am
by sander
Under which account is SABnzbd running? Check with "ps -ef | grep -i sabnzbd".
As that user, can you really create that directory? Try from the command line and post the output here.
Re: Help: Cannot create directory
Posted: January 12th, 2012, 3:41 am
by bobido
Incorrect parameter
Cannot create dirscan_dir folder /home/samba-upload/NZBWatch
Here you are:
Code: Select all
robbert@cdv:~$ ps -ef | grep -i sabnzbd
robbert 24012 1 0 Jan11 ? 00:00:18 /usr/bin/python /usr/bin/sabnzbd plus --daemon
robbert 24903 24886 0 09:35 pts/0 00:00:00 grep -i sabnzbd
robbert@cdv:~$ groups robbert
robbert theflo
robbert@cdv:~$ ls -l /home/samba-upload/
total 21768
-rwxr-xr-x 1 theflo theflo 0 2011-12-07 21:29 00000.MTS
-rw-r--r-- 1 theflo theflo 1988872 2011-09-15 11:23 Connecting to the dc++ MAC.pdf
-rwxr--r-- 1 theflo theflo 352738 2011-09-14 17:50 Connecting to the dc++.pdf
drwxr-xr-x 2 theflo theflo 4096 2012-01-10 17:57 Downloads
robbert@cdv:~$ mkdir /home/samba-upload/test
robbert@cdv:~$ ls -l /home/samba-upload/
total 21772
-rwxr-xr-x 1 theflo theflo 0 2011-12-07 21:29 00000.MTS
-rw-r--r-- 1 theflo theflo 1988872 2011-09-15 11:23 Connecting to the dc++ MAC.pdf
-rwxr--r-- 1 theflo theflo 352738 2011-09-14 17:50 Connecting to the dc++.pdf
drwxr-xr-x 2 theflo theflo 4096 2012-01-10 17:57 Downloads
drwxr-xr-x 2 robbert robbert 4096 2012-01-12 09:36 test
robbert@cdv:~$ rmdir /home/samba-upload/test
robbert@cdv:~$ ls -l /home/samba-upload/
total 21768
-rwxr-xr-x 1 theflo theflo 0 2011-12-07 21:29 00000.MTS
-rw-r--r-- 1 theflo theflo 1988872 2011-09-15 11:23 Connecting to the dc++ MAC.pdf
-rwxr--r-- 1 theflo theflo 352738 2011-09-14 17:50 Connecting to the dc++.pdf
drwxr-xr-x 2 theflo theflo 4096 2012-01-10 17:57 Downloads
robbert@cdv:~$
Re: Help: Cannot create directory
Posted: January 12th, 2012, 4:02 am
by sander
SAB says "Cannot create directory /home/samba/NZBWatch", and your are showing stuff in "/home/samba-upload/" ... so ... which directory do you mean?
Re: Help: Cannot create directory
Posted: January 12th, 2012, 4:15 am
by bobido
that is my bad, it is: /home/samba-upload/
see:
Incorrect parameter
Cannot create dirscan_dir folder /home/samba-upload/NZBWatch
Re: Help: Cannot create directory
Posted: January 12th, 2012, 4:31 am
by sander
Aha. What if you create /home/samba-upload/NZBWatch by hand, and then run SABnzbd ... does that work?
Re: Help: Cannot create directory
Posted: January 12th, 2012, 5:17 am
by bobido
Thanks, everything seems to work now =). Permissions on the folder were set the wrong way.
Re: Help: Cannot create directory
Posted: January 25th, 2012, 1:41 pm
by wahnamhong
Hi, I have the same problem here, only this time it's on a Mac. And, annoyingly, it works on and off, so two days ago everything went fine, and now it's creating this directory on my own harddrive instead of the mediaplayer's drive.
I am trying to direct both the incomplete and complete folders to my mediaplayer through: /Volumes/share/Nieuw
Anyone any tips?