Ubuntu Server 20.04 Docker Deluge
Posted: Fri Feb 04, 2022 4:59 am
Running Ubuntu server, Docker, Deluge. I will also have plex, radarr, sonarr. So far I've stopped those containers to work on deluge.
I believe I'm having an issue with permissions as the download of ubuntu torrent from their site begins and then the download speed drops to 0. I downloaded the deluge app on my windows pc and mac laptop and tested the ubuntu torrent and was successfully able to download it. So I ruled out the firewall, but please correct me if i'm wrong about that.
I'm also accessing deluge through my ip 192.168.1.173:8112 through my windows pc and adding the ubuntu torrent through the webui.
In the webui, my download path is /mnt/media/torrents/incomplete. I have changed the completed setting to /mnt/media/torrents/completed. I've also changed the outgoing ports to 49152 to 65535. Still nothing.
I also have plex, jackett, radarr, sonarr, ombi. Plex works. I believe my jackett works as I was able to test TPB and receive an ok. I haven't gotten to radarr or sonarr yet.
Running linux server
Operating System: Ubuntu 20.04.3 LTS
Kernel: Linux 5.4.0-96-generic
Architecture: x86-64
within /etc/fstab
UUID=EC2053F62053C5EC /mnt/media ntfs-3g defaults,exec,uid=1000,gid=1000,dmask=022,umask=000,fmask=133 0 0
lsblk -f
sdc
└─sdc1 ntfs Memories EC2053F62053C5EC 3.6T 1% /mnt/media
docker
Server: Docker Engine - Community
Engine:
Version: 20.10.12
API version: 1.41 (minimum version 1.12)
deluge
docker run -d \
--name=deluge \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=America/New_York \
-e DELUGE_LOGLEVEL=error `#optional` \
-p 8112:8112 \
-p 6881:6881 \
-p 6881:6881/udp \
-v /mnt/media/appdata/deluge:/config \
-v /mnt/media/torrents:/downloads \
--restart unless-stopped \
lscr.io/linuxserver/deluge
I ran sudo chmod 777 -r /mnt/media. I get this when I run ls -la
(redacted)@media:/mnt/media$ ls -la
total 1284
drwxrwxrwx 1 root root 1310720 Feb 1 23:19 .
drwxrwxrwx 3 root root 4096 Feb 1 19:12 ..
drwxrwxrwx 1 root root 0 Jan 5 2021 '$RECYCLE.BIN'
drwxrwxrwx 1 root root 0 Feb 1 23:30 appdata
drwxrwxrwx 1 root root 0 Jan 31 23:03 Movies
drwxrwxrwx 1 root root 0 Jan 31 23:14 Photos
drwxrwxrwx 1 root root 0 Feb 1 01:56 Shows
drwxrwxrwx 1 root root 0 Feb 1 21:08 torrents
(redacted)@media:/mnt/media/torrents$ ls -la
total 1280
drwxrwxrwx 1 root root 0 Feb 1 21:08 .
drwxrwxrwx 1 root root 1310720 Feb 1 23:19 ..
drwxrwxrwx 1 root root 0 Jan 31 23:29 completed
drwxrwxrwx 1 root root 0 Feb 1 22:03 incomplete
(redacted)@media:/mnt/media/torrents/completed$ ls -la
total 0
drwxrwxrwx 1 root root 0 Jan 31 23:29 .
drwxrwxrwx 1 root root 0 Feb 1 21:08 ..
I believe I'm having an issue with permissions as the download of ubuntu torrent from their site begins and then the download speed drops to 0. I downloaded the deluge app on my windows pc and mac laptop and tested the ubuntu torrent and was successfully able to download it. So I ruled out the firewall, but please correct me if i'm wrong about that.
I'm also accessing deluge through my ip 192.168.1.173:8112 through my windows pc and adding the ubuntu torrent through the webui.
In the webui, my download path is /mnt/media/torrents/incomplete. I have changed the completed setting to /mnt/media/torrents/completed. I've also changed the outgoing ports to 49152 to 65535. Still nothing.
I also have plex, jackett, radarr, sonarr, ombi. Plex works. I believe my jackett works as I was able to test TPB and receive an ok. I haven't gotten to radarr or sonarr yet.
Running linux server
Operating System: Ubuntu 20.04.3 LTS
Kernel: Linux 5.4.0-96-generic
Architecture: x86-64
within /etc/fstab
UUID=EC2053F62053C5EC /mnt/media ntfs-3g defaults,exec,uid=1000,gid=1000,dmask=022,umask=000,fmask=133 0 0
lsblk -f
sdc
└─sdc1 ntfs Memories EC2053F62053C5EC 3.6T 1% /mnt/media
docker
Server: Docker Engine - Community
Engine:
Version: 20.10.12
API version: 1.41 (minimum version 1.12)
deluge
docker run -d \
--name=deluge \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=America/New_York \
-e DELUGE_LOGLEVEL=error `#optional` \
-p 8112:8112 \
-p 6881:6881 \
-p 6881:6881/udp \
-v /mnt/media/appdata/deluge:/config \
-v /mnt/media/torrents:/downloads \
--restart unless-stopped \
lscr.io/linuxserver/deluge
I ran sudo chmod 777 -r /mnt/media. I get this when I run ls -la
(redacted)@media:/mnt/media$ ls -la
total 1284
drwxrwxrwx 1 root root 1310720 Feb 1 23:19 .
drwxrwxrwx 3 root root 4096 Feb 1 19:12 ..
drwxrwxrwx 1 root root 0 Jan 5 2021 '$RECYCLE.BIN'
drwxrwxrwx 1 root root 0 Feb 1 23:30 appdata
drwxrwxrwx 1 root root 0 Jan 31 23:03 Movies
drwxrwxrwx 1 root root 0 Jan 31 23:14 Photos
drwxrwxrwx 1 root root 0 Feb 1 01:56 Shows
drwxrwxrwx 1 root root 0 Feb 1 21:08 torrents
(redacted)@media:/mnt/media/torrents$ ls -la
total 1280
drwxrwxrwx 1 root root 0 Feb 1 21:08 .
drwxrwxrwx 1 root root 1310720 Feb 1 23:19 ..
drwxrwxrwx 1 root root 0 Jan 31 23:29 completed
drwxrwxrwx 1 root root 0 Feb 1 22:03 incomplete
(redacted)@media:/mnt/media/torrents/completed$ ls -la
total 0
drwxrwxrwx 1 root root 0 Jan 31 23:29 .
drwxrwxrwx 1 root root 0 Feb 1 21:08 ..