GreenFrogSB / LMDS

LMDS - Linux Media Delivery System
https://greenfrognest.com
GNU General Public License v3.0
214 stars 45 forks source link

Deluge doesn't recognise symlinked NAS folder for "Downloads" #17

Closed Rhfelwr closed 3 years ago

Rhfelwr commented 3 years ago

I created the following symlinks:

pi@raspberrypi:~/LMDS/media $ sudo ln -s /mnt/BFDS/tvshows /home/pi/LMDS/media/tvshows
pi@raspberrypi:~/LMDS/media $ sudo ln -s /mnt/BFDS/movies /home/pi/LMDS/media/movies
pi@raspberrypi:~/LMDS $ sudo ln -s /mnt/BFDS/downloads /home/pi/LMDS/downloads

Then I ran ./deploy.sh, then deployed the containers with docker-compose up -d. When I enter the Deluge WebUI through Portainer it says "Error" in the bottom right corner for free space. If I go into Preferences/Downloads and change the "Download to" field from /root/Downloads to just /Downloads it sees the free space and my NAS share.

When inspecting the configuration in Portainer I see the following default setup:

Host/volume                                          Path in container
/home/pi/LMDS/downloads                    /downloads
/home/pi/LMDS/volumes/deluge/config  /config

So what is wrong here? is there some problem with the symlink I created? My NAS is mounted properly with fstab set up and all that. Also alongside this issue I also see that Sonarr and Radarr reports an error, that "Deluge is downloading to /root folder which is unsafe", what is the deal with that?

Please help, and thanks a lot in advance! :)

GreenFrogSB commented 3 years ago

The error you saw at the beginning regarding your downloads storage capacity is to be expected. This is coming from container default config that I am not able to correct as I am not a developer of deluge container. The workaround you already implemented is all to be done just change download settings in deluge Web UI from /root/Downloads to just /Downloads.

Rebot all the containers after above is done. Then warning about downloading to root should be also gone.

All is due to this small, tiny misconfiguration of default downloads locations in deluge that I am not able to change myself.

I hope that helps.

On Mon 6 Sep 2021, 2:36 p.m. Rhfelwr, @.***> wrote:

I created the following symlinks:

@.:~/LMDS/media $ sudo ln -s /mnt/BFDS/tvshows /home/pi/LMDS/media/tvshows @.:~/LMDS/media $ sudo ln -s /mnt/BFDS/movies /home/pi/LMDS/media/movies @.***:~/LMDS $ sudo ln -s /mnt/BFDS/downloads /home/pi/LMDS/downloads

Then I ran ./deploy.sh, then deployed the containers with docker-compose up -d. When I enter the Deluge WebUI through Portainer it says "Error" in the bottom right corner for free space. If I go into Preferences/Downloads and change the "Download to" field from /root/Downloads to just /Downloads it sees the free space and my NAS share.

When inspecting the configuration in Portainer I see the following default setup:

Host/volume Path in container /home/pi/LMDS/downloads /downloads /home/pi/LMDS/volumes/deluge/config /config

So what is wrong here? is there some problem with the symlink I created? My NAS is mounted properly with fstab set up and all that. Also alongside this issue I also see that Sonarr and Radarr reports an error, that "Deluge is downloading to /root folder which is unsafe", what is the deal with that?

Please help, and thanks a lot in advance! :)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GreenFrogSB/LMDS/issues/17, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARFVEPSDXEQKBDTO4IFVBGTUASYTDANCNFSM5DQLW37Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Rhfelwr commented 3 years ago

Thanks! It makes sense, I spoke with the linuxserver.io guys on Discord and they said the same. Do the alternative torrent clients like QBittorrent/Transmission etc. suffer from the same issue or is it only Deluge?

GreenFrogSB commented 3 years ago

I think Deluge is the only one with this out of the box config issue. Nevertheless, I continue using it as my primary download client. There are other plugin in Deluge that work for me and this small thing at the beginning is a small price to pay for other perx there.