raspberry could not create file

Get help, report and discuss bugs.
hugbug
Developer & Admin
Posts: 7091
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: raspberry could not create file

Post by hugbug » 10 Feb 2015, 12:06

Now start nzbget in console server mode (as opposite to daemon mode) with

Code: Select all

/path/to/nzbget -c /path/to/nzbget.conf -s
Does it work?

mentex
Posts: 15
Joined: 08 Feb 2015, 20:38

Re: raspberry could not create file

Post by mentex » 10 Feb 2015, 12:17

yes i can start with:

/usr/bin/nzbget -c /root/.nzbget -s

and then i think i have to add the file from webinterface as "normal"?

if i do so i again receive the error:

Could not create file..

hugbug
Developer & Admin
Posts: 7091
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: raspberry could not create file

Post by hugbug » 10 Feb 2015, 12:40

That's strange.
Keep nzbget running (or pause it but not terminate) and from another terminal window try to create the file with the exact name.

mentex
Posts: 15
Joined: 08 Feb 2015, 20:38

Re: raspberry could not create file

Post by mentex » 10 Feb 2015, 12:58

root@raspberrypi:~# mkdir /mnt/un/asmedia-ASMT1053-01/downloads/inter/00_ewig_-_indianerehrenwort-de-2015.m3u.#1/4.out.tmp
mkdir: cannot create directory `/mnt/un/asmedia-ASMT1053-01/downloads/inter/00_ewig_-_indianerehrenwort-de-2015.m3u.#1/4.out.tmp': No such file or directory
root@raspberrypi:~# cd /mnt/un/asmedia-ASMT1053-01/downloads/inter/
root@raspberrypi:/mnt/un/asmedia-ASMT1053-01/downloads/inter# ll
total 0
root@raspberrypi:/mnt/un/asmedia-ASMT1053-01/downloads/inter#

folder is not created..

hugbug
Developer & Admin
Posts: 7091
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: raspberry could not create file

Post by hugbug » 10 Feb 2015, 13:24

Try creating it:

Code: Select all

cd /mnt/un/asmedia-ASMT1053-01/downloads/inter
mkdir 00_ewig_-_indianerehrenwort-de-2015.m3u.#1

mentex
Posts: 15
Joined: 08 Feb 2015, 20:38

Re: raspberry could not create file

Post by mentex » 10 Feb 2015, 13:53

root@raspberrypi:~# cd /mnt/un/asmedia-ASMT1053-01/downloads/inter
root@raspberrypi:/mnt/un/asmedia-ASMT1053-01/downloads/inter# mkdir 00_ewig_-_indianerehrenwort-de-2015.m3u.#1
root@raspberrypi:/mnt/un/asmedia-ASMT1053-01/downloads/inter# ll
total 0
drwxrwxrwx 2 root root 0 Feb 10 14:50 00_ewig_-_indianerehrenwort-de-2015.m3u.#1
root@raspberrypi:/mnt/un/asmedia-ASMT1053-01/downloads/inter#

hugbug
Developer & Admin
Posts: 7091
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: raspberry could not create file

Post by hugbug » 10 Feb 2015, 14:21

Well, I don't know then :(

mentex
Posts: 15
Joined: 08 Feb 2015, 20:38

Re: raspberry could not create file

Post by mentex » 10 Feb 2015, 20:22

me too:-(

hugbug
Developer & Admin
Posts: 7091
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: raspberry could not create file

Post by hugbug » 10 Feb 2015, 22:34

Another attempt: set option UMask=000, delete all directories and then start NZBGet.

mentex
Posts: 15
Joined: 08 Feb 2015, 20:38

Re: raspberry could not create file

Post by mentex » 11 Feb 2015, 09:08

does not work..:-(

but you helped me to find out something!

could it be that nzbget starts before my fstab is executed?!?
because if i
umount /mnt/un

i still have a /mnt/un/asmedia-ASMT1053-01/downloads/ with inter, nzb, queue, tmp..

when i delete all folders an restart my pi.

do again an umount, the folders are again there..
also after a reboot i get a old download folder which was the first one and his name was /mnt/un/asmedia-ASMT1053-01/Downloads/

Somewhere i read that a catipal letter could be a problem an therefore i change it to "downloads"
but as i said after a reboot "Downloads" (with capital "D") is also created?!?!

EDIT:
OK the Donwloads folder with capital D was form pyload :D
I disable autostart of nzbget, after that the folder downloads was not created in /mnt/un/asmedia-ASMT1053-01/downloads/
then i started nzbget manually and folders where created on nas not on the local sd card, so far so good..
but unfortunately again "could not create file.." :-(

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 3 guests