Opened 5 weeks ago

Last modified 5 weeks ago

#3395 new bug

deluge-web.service does not work on debian 10 stable based on the official guide

Reported by: totavent43 Owned by:
Priority: blocker Milestone: 1.3.16
Component: Web UI Version: 1.3.15
Keywords: Cc:

Description

On a fresh install of Debian 10 stable test environment

root@debian-s-1vcpu-1gb-ams3-01:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:          10
Codename:     buster

First downloading via apt-get install deluged and apt-get install deluge-web

root@debian-s-1vcpu-1gb-ams3-01:~# deluge-web --version
deluge-web: 1.3.15
libtorrent: 1.1.11.0
root@debian-s-1vcpu-1gb-ams3-01:~# deluged --version

deluged: 1.3.15
libtorrent: 1.1.11.0

Then following the official guide step by step on to set up services works for deluged but does not work for deluge-web.

Everything looks file until this command for checking the status

root@debian-s-1vcpu-1gb-ams3-01:~# sudo systemctl status deluge-web
● deluge-web.service - Deluge Bittorrent Client Web Interface
   Loaded: loaded (/etc/systemd/system/deluge-web.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/deluge-web.service.d
           └─user.conf
   Active: failed (Result: exit-code) since Sun 2020-05-03 09:15:37 UTC; 5min ago
     Docs: man:deluge-web
  Process: 461 ExecStart=/usr/bin/strace -f /usr/bin/deluge-web -l /var/log/deluge/web.log -L debug (code=exited, status=203/EXEC)
 Main PID: 461 (code=exited, status=203/EXEC)

May 03 09:15:37 debian-s-1vcpu-1gb-ams3-01 systemd[1]: deluge-web.service: Service RestartSec=100ms expired, scheduling restart.
May 03 09:15:37 debian-s-1vcpu-1gb-ams3-01 systemd[1]: deluge-web.service: Scheduled restart job, restart counter is at 5.
May 03 09:15:37 debian-s-1vcpu-1gb-ams3-01 systemd[1]: Stopped Deluge Bittorrent Client Web Interface.
May 03 09:15:37 debian-s-1vcpu-1gb-ams3-01 systemd[1]: deluge-web.service: Start request repeated too quickly.
May 03 09:15:37 debian-s-1vcpu-1gb-ams3-01 systemd[1]: deluge-web.service: Failed with result 'exit-code'.
May 03 09:15:37 debian-s-1vcpu-1gb-ams3-01 systemd[1]: Failed to start Deluge Bittorrent Client Web Interface.

You may wish to reference the bug report #927197, though I have not verified if this works yet.

You may also wish to reference this old Reddit post

Change History (1)

comment:1 Changed 5 weeks ago by totavent43

Edit: the above log contained my own debug flag, hence the line

  Process: 461 ExecStart=/usr/bin/strace -f /usr/bin/deluge-web -l /var/log/deluge/web.log -L debug (code=exited, status=203/EXEC)

Which by the way, did not make any logs.

Since this is not in the official guide, I remove the debug flag and ran it again. Here is the result

root@debian-s-1vcpu-1gb-ams3-01:~# sudo systemctl status deluge-web
● deluge-web.service - Deluge Bittorrent Client Web Interface
   Loaded: loaded (/etc/systemd/system/deluge-web.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/deluge-web.service.d
           └─user.conf
   Active: failed (Result: exit-code) since Sun 2020-05-03 10:13:28 UTC; 2s ago
     Docs: man:deluge-web
  Process: 638 ExecStart=/usr/bin/deluge-web -d (code=exited, status=2)
 Main PID: 638 (code=exited, status=2)

May 03 10:13:28 debian-s-1vcpu-1gb-ams3-01 systemd[1]: deluge-web.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
May 03 10:13:28 debian-s-1vcpu-1gb-ams3-01 systemd[1]: deluge-web.service: Failed with result 'exit-code'.
May 03 10:13:28 debian-s-1vcpu-1gb-ams3-01 systemd[1]: deluge-web.service: Service RestartSec=100ms expired, scheduling restart.
May 03 10:13:28 debian-s-1vcpu-1gb-ams3-01 systemd[1]: deluge-web.service: Scheduled restart job, restart counter is at 5.
May 03 10:13:28 debian-s-1vcpu-1gb-ams3-01 systemd[1]: Stopped Deluge Bittorrent Client Web Interface.
May 03 10:13:28 debian-s-1vcpu-1gb-ams3-01 systemd[1]: deluge-web.service: Start request repeated too quickly.
May 03 10:13:28 debian-s-1vcpu-1gb-ams3-01 systemd[1]: deluge-web.service: Failed with result 'exit-code'.
May 03 10:13:28 debian-s-1vcpu-1gb-ams3-01 systemd[1]: Failed to start Deluge Bittorrent Client Web Interface.
Note: See TracTickets for help on using tickets.