linuxserver / docker-nzbget

GNU General Public License v3.0
149 stars 83 forks source link

Nzbget Path Cannot Access Root Folder #141

Closed joetong1126 closed 2 years ago

joetong1126 commented 2 years ago

I have the nzbget docker running on ubuntu vm. The vm has unraid share mounted (/mnt/Media) When I create the container, I defined the /download as /mnt/Media/nzbget. Once it created and started, in web gui setting -> path, I am not able to point it to /mnt/Media/nzbget. Seems like it will try to create that folders under Home directory. Later on, I tried with path as /downloads, it created the folder under Home directory. Anyway force the path look for the folder from the Root directory?

docker create --name=nzbget \ -e PUID=1000 -e PGID=1000 \ -e TZ=America/Los_Angeles \ -p 6789:6789 \ -v /home/docker/nzbget/config:/config \ -v /mnt/Media/nzbget:/downloads \ --restart=always \ linuxserver/nzbget

github-actions[bot] commented 2 years ago

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

aptalca commented 2 years ago

You mapped it as /downloads so the container (and thus the app) sees it as /downloads. With the preceding slash, it's an absolute path so make sure you include that.

With that said, this is not a bug. Closing