"Unable to get free space" errors on docker install

I’m currently seeing a lot of the following type errors in the log:

Unable to get free space for: /: Object reference not set to an instance of an object

http://pastebin.com/YSiWphA5

Drone is installed inside a docker which could explain the errors I’m seeing. I seem to notice them when accessing the UI. I’m lauching the docker container with the following volumes:

docker run -d --net=host --privileged -e BIND_ADDR=192.168.1.99 -v /media/nfs/tv:/media/tv -v /home/user/docker-nzbdrone/.config:/root/.config -v /srv/export/drone_factory:/downloads/drone_factory docker-nzbdrone

Where: /media/nfs/tv is a local mount to an nfs share on my nas (mounted via the fstab), and /srv/export/drone_factory is a locally mounted disk

Ubuntu 14.04, docker 1.2, mono 3.6

It would be helpful to get logs while mono is running with the --debug switch.

Thanks for the reply. I launched drone with the following:

mono --debug /opt/NzbDrone/NzbDrone.exe

Then I clicked the “System” icon in the web ui, which produces the error. The logs are in the config dir, correct? For me it’s /.config/NzbDrone/logs. The error I see in the log pertaining to this is: nzbdrone.txt

I also see the same error on the command line after running the command above. I don’t see much more pertaining to the error unless I’m doing something wrong here.

Thanks, the new logs have line numbers so I can see where it is failing. I have pushed a fix to develop.