I guess something is wrong. I got mine on a server and can only start it by giving this one command:
deluge-web
It don't come back to type again have to press CTRL C and then get back but Deluge don't work any more says "Lost Connection" on the web page port 8112.
Guess it has something to do with how it auto starts not as root and when on the command line I am root and can start it like that.
Guess some one knows a fix?
-Raymond Day
Can only start it on the command line.
Re: Can only start it on the command line.
O yes it's a server Ubuntu Linux 18.04.2 I have this on. Just text screen on it no desktop.
-Raymond Day
-Raymond Day
Re: Can only start it on the command line.
This my help after I do a Ctrl C I do this command that show this:
systemctl status deluged.service
● deluged.service - Deluge Bittorrent Client Daemon
Loaded: loaded (/etc/systemd/system/deluged.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2019-06-19 14:43:55 EDT; 2s ago
Docs: man:deluged
Process: 3628 ExecStart=/usr/bin/deluged -d (code=exited, status=1/FAILURE)
Main PID: 3628 (code=exited, status=1/FAILURE)
Jun 19 14:43:55 XXXX.XXX systemd[1]: deluged.service: Service hold-off time over, scheduling restart.
Jun 19 14:43:55 XXXX.XXX systemd[1]: deluged.service: Scheduled restart job, restart counter is at 5.
Jun 19 14:43:55 XXXX.XXX systemd[1]: Stopped Deluge Bittorrent Client Daemon.
Jun 19 14:43:55 XXXX.XXX systemd[1]: deluged.service: Start request repeated too quickly.
Jun 19 14:43:55 XXXX.XXX systemd[1]: deluged.service: Failed with result 'exit-code'.
Jun 19 14:43:55 XXXX.XXX systemd[1]: Failed to start Deluge Bittorrent Client Daemon.
Some lines are in red color.
-Raymond Day
systemctl status deluged.service
● deluged.service - Deluge Bittorrent Client Daemon
Loaded: loaded (/etc/systemd/system/deluged.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2019-06-19 14:43:55 EDT; 2s ago
Docs: man:deluged
Process: 3628 ExecStart=/usr/bin/deluged -d (code=exited, status=1/FAILURE)
Main PID: 3628 (code=exited, status=1/FAILURE)
Jun 19 14:43:55 XXXX.XXX systemd[1]: deluged.service: Service hold-off time over, scheduling restart.
Jun 19 14:43:55 XXXX.XXX systemd[1]: deluged.service: Scheduled restart job, restart counter is at 5.
Jun 19 14:43:55 XXXX.XXX systemd[1]: Stopped Deluge Bittorrent Client Daemon.
Jun 19 14:43:55 XXXX.XXX systemd[1]: deluged.service: Start request repeated too quickly.
Jun 19 14:43:55 XXXX.XXX systemd[1]: deluged.service: Failed with result 'exit-code'.
Jun 19 14:43:55 XXXX.XXX systemd[1]: Failed to start Deluge Bittorrent Client Daemon.
Some lines are in red color.
-Raymond Day
Re: Can only start it on the command line.
I put that -d at the end of a line on the file at /etc/systemd/system/multi-user.target.wants/deluge-web.service but that is a symbolic link to /etc/systemd/system/deluge-web.service that file looks like this now that I added the -d.
My server had to reboot from some updates and I did and went to port 8112 and same can be displayed. Typed deluge-web on the command line and then it works. I can press enter on the command line and it just goes to a bank line I have to press CTRL C and that gets me back to the command line to type but the Deluge: Web UI 1.3.15 says The connection to the webserver has been lost!
So this did not work it must be something else. Maybe that is close have to add something to this file?
-Raymond Day
Code: Select all
[Unit]
Description=Deluge Bittorrent Client Web Interface
Documentation=man:deluge-web
After=network-online.target deluged.service
Wants=deluged.service
[Service]
Type=simple
User=deluge
Group=deluge
UMask=027
# This 5 second delay is necessary on some systems
# to ensure deluged has been fully started
ExecStartPre=/bin/sleep 5
ExecStart=/usr/bin/deluge-web -d
Restart=on-failure
[Install]
WantedBy=multi-user.target
So this did not work it must be something else. Maybe that is close have to add something to this file?
-Raymond Day
Re: Can only start it on the command line.
If I go to start it with:
/usr/bin/deluge-web -d
Usage: deluge-web [options] [actions]
deluge-web: error: no such option: -d
So that don't work on the command line.
-Raymond Day
/usr/bin/deluge-web -d
Usage: deluge-web [options] [actions]
deluge-web: error: no such option: -d
So that don't work on the command line.
-Raymond Day
Re: Can only start it on the command line.
Copy the file at https://git.deluge-torrent.org/deluge/t ... eb.service
Put all that in my file and started it up but it says this:
Warning: The unit file, source configuration file or drop-ins of deluge-web.service changed on disk. Run 'systemctl daemon-reload' to reload units.
I did that and then when starting it don't gave that error but then I got:
This site can’t be reached on port 8112.
Did back up the old deluge-web.service file. But maybe this one is better. So left it for now seems like did not fix any thing.
-Raymond Day
Put all that in my file and started it up but it says this:
Warning: The unit file, source configuration file or drop-ins of deluge-web.service changed on disk. Run 'systemctl daemon-reload' to reload units.
I did that and then when starting it don't gave that error but then I got:
This site can’t be reached on port 8112.
Did back up the old deluge-web.service file. But maybe this one is better. So left it for now seems like did not fix any thing.
-Raymond Day
Re: Can only start it on the command line.
If you are using Deluge 1.3 then that option doesn't apply. It was a change in Deluge 2.0Raymond wrote:If I go to start it with:
/usr/bin/deluge-web -d
Usage: deluge-web [options] [actions]
deluge-web: error: no such option: -d
So that don't work on the command line.
-Raymond Day
Re: Can only start it on the command line.
I am not entirely sure what you are trying to do, if you need the deluge-web (1.3 version) server to fork then supply the
-f
option. Otherwise use the following guide remembering to remove the Deluge 2.0 -d
option in the deluge-web service file: https://deluge.readthedocs.io/en/latest ... rvice.htmlRe: Can only start it on the command line.
I guess what my be wrong is when start the "Connection Manager" I put Host: 127.0.0.1 port 58846 that it auto fills in.
The Username: root
I put my root password and I guess that's wrong. Do I have to do Username deluge? But what password would I use then. It said:
"This creates a new system user and group named deluge with no login access"
Do I have to set up a password for deluge user and then type that in to the "Add Connection"
-Raymond Day
The Username: root
I put my root password and I guess that's wrong. Do I have to do Username deluge? But what password would I use then. It said:
"This creates a new system user and group named deluge with no login access"
Do I have to set up a password for deluge user and then type that in to the "Add Connection"
-Raymond Day