Could not move file ... to ...: Directory not empty

Get help, report and discuss bugs.
Post Reply
NovemberLima
Posts: 1
Joined: 22 Aug 2016, 14:57

Could not move file ... to ...: Directory not empty

Post by NovemberLima » 23 Aug 2016, 00:26

I'm currently trying to replace my old nzbget installation with a newer, dockerized version. Downloading, par-checking and extracting work fine, but once the download is completed, it can't be moved to the completed downloads directory.
Below is a log from re-trying the postprocessing:

Tue Aug 23 2016 01:23:53 INFO Queueing __censored__ for post-processing
Tue Aug 23 2016 01:23:53 INFO Moving completed files for __censored__
Tue Aug 23 2016 01:23:54 INFO Moving file _unpack to /completed_downloads/series/__censored__
Tue Aug 23 2016 01:23:54 ERROR Could not move file /base/intermediate/__censored__.#4/_unpack to /completed_downloads/series/__censored__/_unpack: Directory not empty
Tue Aug 23 2016 01:23:54 ERROR Move for __censored__ failed
Tue Aug 23 2016 01:23:54 INFO Collection __censored__ added to history

This is with nzbget 17.0 running in a docker container (linuxserver/nzbget).
All directory / file permissions are correct, and it happens with any nzb file I've tried.

The /base directory is ext4 on an SSD, /completed_downloads is ZFS on an HDD (in case it matters).

I have found this link on these forums, but I'm not using mergerfs.
Also I'm pretty sure the files are not being accessed by anything other than nzbget (since this is a new installation, I'm currently downloading to a directory that's not being used for anything else).

Do you have any ideas what could be the problem?

Post Reply

Who is online

Users browsing this forum: No registered users and 52 guests