Help: Cannot create directory

Support for the Debian/Ubuntu package, created by JCFP.
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
bobido
Newbie
Newbie
Posts: 4
Joined: January 11th, 2012, 5:51 pm

Help: Cannot create directory

Post 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!
User avatar
sander
Release Testers
Release Testers
Posts: 9264
Joined: January 22nd, 2008, 2:22 pm

Re: Help: Cannot create directory

Post 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.
bobido
Newbie
Newbie
Posts: 4
Joined: January 11th, 2012, 5:51 pm

Re: Help: Cannot create directory

Post 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:~$
User avatar
sander
Release Testers
Release Testers
Posts: 9264
Joined: January 22nd, 2008, 2:22 pm

Re: Help: Cannot create directory

Post 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?
bobido
Newbie
Newbie
Posts: 4
Joined: January 11th, 2012, 5:51 pm

Re: Help: Cannot create directory

Post by bobido »

that is my bad, it is: /home/samba-upload/

see:

Incorrect parameter
Cannot create dirscan_dir folder /home/samba-upload/NZBWatch
User avatar
sander
Release Testers
Release Testers
Posts: 9264
Joined: January 22nd, 2008, 2:22 pm

Re: Help: Cannot create directory

Post by sander »

Aha. What if you create /home/samba-upload/NZBWatch by hand, and then run SABnzbd ... does that work?
bobido
Newbie
Newbie
Posts: 4
Joined: January 11th, 2012, 5:51 pm

Re: Help: Cannot create directory

Post by bobido »

Thanks, everything seems to work now =). Permissions on the folder were set the wrong way.
wahnamhong
Newbie
Newbie
Posts: 17
Joined: January 15th, 2012, 5:50 am

Re: Help: Cannot create directory

Post 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?
Post Reply