Deluge app working intially, now stuck deploying

I installed Deluge and it initially worked for a day or so but has been stuck deploying since then. Usually when this happens I can find a permission issue from using host-path for config stuff but that doesn’t seem to be the case here, like it said, it was working and then stopped. The container is stuck on deploying and the kubernetes event history says:

2024-07-21 18:19:28 Startup probe failed: Get “http://172.16.0.123:8112/”: dial tcp 172.16.0.123:8112: connect: connection refused

2024-07-21 18:19:16 Container image “linuxserver/deluge:2.1.1” already present on machine

2024-07-21 18:19:16 Created container deluge

2024-07-21 18:19:16 Started container deluge

2024-07-21 18:19:14 Started container deluge-init-config

2024-07-21 18:19:13 Scaled up replica set deluge-86bc5cdd9b to 1

2024-07-21 18:19:13 Created pod: deluge-86bc5cdd9b-rv6dg

2024-07-21 18:19:13 Successfully assigned ix-deluge/deluge-86bc5cdd9b-rv6dg to ix-truenas

2024-07-21 18:19:13 Add eth0 [172.16.0.123/16] from ix-net

2024-07-21 18:19:13 Container image “linuxserver/deluge:2.1.1” already present on machine

2024-07-21 18:19:13 Created container deluge-init-config

If I look at the container log it repeates:

2024-07-21T18:21:30.416847191-04:00 18:21:30 [ERROR ][deluge.ui.web.web :78 ] Couldn’t listen on 0.0.0.0:9088: [Errno 98] Address in use.
2024-07-21T18:21:30.416922171-04:00 Check that deluge-web or webui plugin is not already running.
2024-07-21T18:21:31.048169552-04:00 Connection to 127.0.0.1 9088 port [tcp/*] succeeded!
2024-07-21T18:21:31.048662401-04:00 18:21:31 [INFO ][deluge.core.rpcserver :1672] Deluge Client connection made from: 127.0.0.1:58666
2024-07-21T18:21:31.049057897-04:00 18:21:31 [INFO ][deluge.core.rpcserver :1672] Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.

I don’t know how to interpret these very well and would appreciate anyone input, but it looks to me like a problem with either the node IP 0.0.0.0, or something to do with the kubernetes internal pod IP’s vs the LAN facing IP of the server? That is just a vague Idea though, I can’t think of anything to try?

FYI In the app install options I have the torrent port configured to 9088 and web port to 9087. Also, removing and reinstalling the app doesn’t seem to help. Perhaps I screwed something up with the deluge settings inside of the app (It asks about it’s own IP addresses and ports), but I can’t access those settings any-longer because the app doesn’t deploy.

TIA

Any advice or help interpreting these logs?

Have you tried deleting the app entirely and installing again? deluge has given me such a headache with install and constant issue with unable to access config file and it is inside ix folder so i can no longer add acl once its installed. What i did was delete the app and then install again at which point it gives u access to those settings

but you in your case you want to use a specific port for deluge but from the logs it looks like its already being used

The error message [Errno 98] Address in use indicates that the port 9088, which Deluge is trying to use, is already being used by another process. This can happen if another instance of Deluge or a different application is already using this port.

Try the following

  • Identify the process using the port:

bash

Copy code

sudo netstat -tuln | grep 9088
# or
sudo lsof -i :9088
  • Stop the conflicting process:

bash

Copy code

sudo kill <PID>
  • Change the port in Deluge configuration:

bash

Copy code

cd /config
nano web.conf
# Change the port number

and finally restart deluge