Code: Select all
#!/bin/bash
echo $(date) > /config/deluge-test.txt
Try run script from 'sudo docker exec -it deluge sh' - and try there 'su nobody -c "/config/scriptname,sh"' etc. And make sure the other torrent you tested was a linux iso, or atleast not something with spaces etc in names - I just test debian and arch iso's, hence for consistency, atleast initially, so on same page. Granted error states not there, but a preceding step in code did find it and was accesable i.e. os.path.isfile() and os.access() or whatever was.
However I also have my deluged in docker running as root - I seem to remember in older times when messing with it alot for troubleshooting something, that it was running as nobody, like you, so not sure why that is. I have in my script to generate docker:
Code: Select all
-e PUID=0 \
-e PGID=0 \
I'll have to experiment a little and see if can rebuild my docker to get back to before with nobody - I updated the VM little ago to new ubuntu version and rebuilded docker image as only things changed, so strange.