[Deluge] #3395: deluge-web.service does not work on debian 10 stable based on the official guide

23 views
Skip to first unread message

Deluge

unread,
May 3, 2020, 5:58:58 AM5/3/20
to delug...@googlegroups.com
#3395: deluge-web.service does not work on debian 10 stable based on the official
guide
------------------------+---------------------
Reporter: totavent43 | Type: bug
Status: new | Priority: blocker
Milestone: 1.3.16 | Component: Web UI
Version: 1.3.15 | Keywords:
------------------------+---------------------
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 [https://deluge.readthedocs.io/en/latest/how-to
/systemd-service.html 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 [https://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=927197 #927197], though I have not verified if this
works yet.

You may also wish to reference this old
[https://www.reddit.com/r/linuxquestions/comments/47jzln/systemctl_wont_start_delugewebservice/
Reddit post]

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3395>
Deluge <https://deluge-torrent.org/>
Deluge Project

Deluge

unread,
May 3, 2020, 6:19:52 AM5/3/20
to delug...@googlegroups.com
#3395: deluge-web.service does not work on debian 10 stable based on the official
guide
-------------------------+--------------------
Reporter: totavent43 | Owner:

Type: bug | Status: new
Priority: blocker | Milestone: 1.3.16
Component: Web UI | Version: 1.3.15
Resolution: | Keywords:
-------------------------+--------------------

Comment (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.
}}}

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3395#comment:1>

Deluge

unread,
Aug 30, 2020, 8:46:34 PM8/30/20
to delug...@googlegroups.com
#3395: deluge-web.service does not work on debian 10 stable based on the official
guide
-------------------------+--------------------
Reporter: totavent43 | Owner:

Type: bug | Status: new
Priority: blocker | Milestone: 1.3.16
Component: Web UI | Version: 1.3.15
Resolution: | Keywords:
-------------------------+--------------------

Comment (by Calajese):

Appears to be that the issue #3090 has somehow appeared again.[[BR]]

Remove the "-d" in the "ExecStart=" line from "/etc/systemd/system/deluge-
web.service" and run the commands "sudo systemctl daemon-reload" and "sudo
systemctl restart deluge-web".

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3395#comment:2>

Deluge

unread,
Nov 23, 2021, 12:44:25 AM11/23/21
to delug...@googlegroups.com
#3395: deluge-web.service does not work on debian 10 stable based on the official
guide
-------------------------+--------------------
Reporter: totavent43 | Owner:

Type: bug | Status: new
Priority: blocker | Milestone: 1.3.16
Component: Web UI | Version: 1.3.15
Resolution: | Keywords:
-------------------------+--------------------

Comment (by richardsjenkins):

Great help! Thank you for this guide[https://www.kitchenremodelhawaii.com
.]

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3395#comment:3>

Deluge

unread,
Feb 23, 2022, 12:17:42 PM2/23/22
to delug...@googlegroups.com
#3395: deluge-web.service does not work on debian 10 stable based on the official
guide
-------------------------+--------------------
Reporter: totavent43 | Owner:
Type: bug | Status: closed
Priority: blocker | Milestone: Future

Component: Web UI | Version: 1.3.15
Resolution: WontFix | Keywords:
-------------------------+--------------------
Changes (by Cas):

* status: new => closed
* resolution: => WontFix


Comment:

The service file in the docs is for Deluge 2.0 that introduced the `-d` to
damonize web like deluged so of course is not valid for running Deluge 1.3

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3395#comment:4>

Reply all
Reply to author
Forward
0 new messages