InterDir set to network share causes Could not create file *.out.tmp: (null) errors
Posted: 10 Aug 2019, 15:07
Hi there,
I am running NZBGet 21.1-testing-r2311 (same happens on 21.0 stable) on a RaspberryPi that's running OSMC. After updating to Linux 4.19 I've been getting errors when downloading NZB's when the InterDir is set to my network share:
This is however only affecting the intermediate files. My MainDir is set to /mnt/External/Downloads and every else such as the nzb, queue and tmp folders and files are working fine as well as the .lock and .log files. It also unpacks to another folder /mnt/External/Downloads/completed which also works fine it is just the intermediate files. The network share is also unprotected and mounted as follows:
If I change the directory to a folder I created on the SD card (/opt/nzbget/Downloading) then it downloads and moves the files just fine and I'm running like this at the moment, but I would prefer keeping it to the network share like it's been for the last couple of years.
As a random test I changed the folder to /mnt/External/Downloads/tmp but that also fails.
I'm pretty sure it's not a NZBGet issue, but I thought I'd ask here for help if there is anything that I need to change or configure differently.
I found this and this issue logged here, but didn't come right either.
I have tried creating the file myself using the same user account which works fine.
Running in console mode gives the same errors. (I start NZBGet up with a systemd script (posted below)
The share is definitely mounted when NZBGet starts and reloading gives the same error after ensuring that the share is mounted.
I've seen the possibility to compile in debug mode and I'm not sure if that will give more information, but if needed, please let me know how to. My linux / terminal skills are enough to get me by
systemd script:
I am running NZBGet 21.1-testing-r2311 (same happens on 21.0 stable) on a RaspberryPi that's running OSMC. After updating to Linux 4.19 I've been getting errors when downloading NZB's when the InterDir is set to my network share:
Code: Select all
ERROR Could not create file /mnt/External/Downloads/Downloading/ezNZB-Test.#2/1.out.tmp: (null)
ERROR Could not create file /mnt/External/Downloads/Downloading/ezNZB-Test.#2/1.out.tmp: (null)
WARNING Cancelling download and deleting ezNZB-Test due to health 79.0% below critical 85.0%
ERROR Could not create file /mnt/External/Downloads/Downloading/ezNZB-Test.#2/1.out.tmp: (null)
Code: Select all
//192.168.0.200/sda2/Downloads /mnt/External/Downloads cifs guest,x-systemd.automount,noauto,rw,iocharset=utf8,uid=1000,gid=1000 0 0
As a random test I changed the folder to /mnt/External/Downloads/tmp but that also fails.
I'm pretty sure it's not a NZBGet issue, but I thought I'd ask here for help if there is anything that I need to change or configure differently.
I found this and this issue logged here, but didn't come right either.
I have tried creating the file myself using the same user account which works fine.
Running in console mode gives the same errors. (I start NZBGet up with a systemd script (posted below)
The share is definitely mounted when NZBGet starts and reloading gives the same error after ensuring that the share is mounted.
I've seen the possibility to compile in debug mode and I'm not sure if that will give more information, but if needed, please let me know how to. My linux / terminal skills are enough to get me by
systemd script:
Code: Select all
[Unit]
Description=NZBGet Daemon
After=systemd-user-sessions.service network.target medusa.service
Wants=medusa.service
[Service]
User=osmc
Group=osmc
Type=forking
ExecStart=/opt/nzbget/nzbget -c /opt/nzbget/nzbget.conf -D
ExecStop=/opt/nzbget/nzbget -Q
ExecReload=/opt/nzbget/nzbget -O
KillMode=process
Restart=on-failure
[Install]
WantedBy=multi-user.target