1

I'm attempting to use deluge on my Raspberry Pi.

I've followed the guide as per: https://hub.docker.com/r/linuxserver/deluge

I've created a docker-compose.yml file which consists of the following:

version: "2.1"
services:
  deluge:
    image: lscr.io/linuxserver/deluge:latest
    container_name: deluge
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/London
      - DELUGE_LOGLEVEL=error #optional
    volumes:
      - /path/to/deluge/config:/config
      - /path/to/your/downloads:/downloads
    ports:
      - 8112:8112
      - 6881:6881
      - 6881:6881/udp
    restart: unless-stopped

I can run the above using the command docker compose up -d

Once the service is running I check it using docker ps which shows the following:

CONTAINER ID   IMAGE                               COMMAND   CREATED         STATUS                           PORTS     NAMES
2524b4bb191b   lscr.io/linuxserver/deluge:latest   "/init"   5 minutes ago   Restarting (111) 2 seconds ago             deluge

When running docker ps sometimes it shows the following:

CONTAINER ID   IMAGE                               COMMAND   CREATED         STATUS                  PORTS                                                                                                                                                              NAMES
2524b4bb191b   lscr.io/linuxserver/deluge:latest   "/init"   5 minutes ago   Up Less than a second   0.0.0.0:6881->6881/tcp, :::6881->6881/tcp, 58846/tcp, 0.0.0.0:8112->8112/tcp, 0.0.0.0:6881->6881/udp, :::8112->8112/tcp, :::6881->6881/udp, 58946/tcp, 58946/udp   deluge

But, soon after it shows the following again:

CONTAINER ID   IMAGE                               COMMAND   CREATED         STATUS                            PORTS     NAMES
2524b4bb191b   lscr.io/linuxserver/deluge:latest   "/init"   7 minutes ago   Restarting (111) 55 seconds ago             deluge

Hence I cannot remote into it via a browser.

Any ideas anybody? I'm pulling my hair out!!!

CyberMITZ
  • 23
  • 8
  • Does the container have any logs (`docker logs`)? What's the status section say in an inspect (`docker inspect`)? – BMitch Sep 26 '22 at 15:47
  • `docker logs deluge` shows the following: ```s6-linux-init-hpr: fatal: unable to reboot(): Operation not permitted s6-svscan: warning: unable to iopause: Operation not permitted s6-svscan: warning: executing into .s6-svscan/crash s6-svscan crashed. Killing everything and exiting. s6-linux-init-hpr: fatal: unable to reboot(): Operation not permitted``` – CyberMITZ Sep 26 '22 at 15:50
  • `/path/to/deluge/config` I am assuming you are using proper folders with correct permissions, is that right? – Yamuk Sep 26 '22 at 15:53
  • ```pi@Pi4:/path/to/deluge/config $ pwd /path/to/deluge/config``` The folder gets created the moment the docker script is run – CyberMITZ Sep 26 '22 at 15:56

1 Answers1

0

There was clearly a corruption in my docker.

I was about to "nuke" my Pi and re-image it but decided to following this YouTube video verbatim before doing so: https://www.youtube.com/watch?v=3ahV7DD_Oxk&t=310s

This fixed the issue and now deluge is always up in docker.

CyberMITZ
  • 23
  • 8
  • 3
    Hi there! In the future when answering, please describe the steps done to solve the issue instead of linking somewhere else - even if it means writing down what you saw in a YouTube video. It helps add value to our community by having the answer here rather than having to look somewhere else. But by all means, feel free to link to it for reference! – SteppingHat Dec 05 '22 at 11:24