Can only start it on the command line.

General support for problems installing or using Deluge
Raymond
Member
Member
Posts: 10
Joined: Wed Jun 19, 2019 6:14 pm

Re: Can only start it on the command line.

Post by Raymond »

With the Connection Manager if I put username and Password as deluge then on the command line it show this:

Code: Select all

--------------------------------------------------------------------------------
RPCRequest: daemon.login(deluge, deluge)
--------------------------------------------------------------------------------
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 95, in authorize
    raise BadLoginError("Password does not match")

BadLoginError: Password does not match
--------------------------------------------------------------------------------
It keeps doing that over and over.

-Raymond Day
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Can only start it on the command line.

Post by Cas »

The 'deluge' user is for the service which is not the same as the Deluge user/password, please read https://dev.deluge-torrent.org/wiki/Use ... ThinClient
Raymond
Member
Member
Posts: 10
Joined: Wed Jun 19, 2019 6:14 pm

Re: Can only start it on the command line.

Post by Raymond »

Worked on this a lot more. I just have it running on a headless server.

This my help I get this when trying to start it.

Code: Select all

root@XXXX:~# systemctl start deluge-web
Warning: The unit file, source configuration file or drop-ins of deluge-web.serv                                                                                ice changed on disk. Run 'systemctl daemon-reload' to reload units.
root@XXXX:~# systemctl daemon-reload
root@XXXX:~# systemctl enable deluge-web
root@XXXX:~# systemctl status deluge-web
● deluge-web.service - Deluge Bittorrent Client Web Interface
   Loaded: loaded (/etc/systemd/system/deluge-web.service; enabled; vendor prese
  Drop-In: /etc/systemd/system/deluge-web.service.d
           └─user.conf
   Active: failed (Result: exit-code) since Sun 2019-06-23 09:31:29 EDT; 23s ago
 Main PID: 15854 (code=exited, status=2)

Jun 23 09:31:29 XXXX.XXX systemd[1]: deluge-web.service: Service hold-off time
Jun 23 09:31:29 XXXX.XXX systemd[1]: deluge-web.service: Scheduled restart job,
Jun 23 09:31:29 XXXX.XXX systemd[1]: Stopped Deluge Bittorrent Client Web Inter
Jun 23 09:31:29 XXXX.XXX systemd[1]: deluge-web.service: Start request repeated
Jun 23 09:31:29 XXXX.XXX systemd[1]: deluge-web.service: Failed with result 'ex
Jun 23 09:31:29 XXXX.XXX systemd[1]: Failed to start Deluge Bittorrent Client W
root@XXXX:~# 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 2019-06-23 09:31:29 EDT; 46s ago
 Main PID: 15854 (code=exited, status=2)

Jun 23 09:31:29 XXXX.XXX systemd[1]: deluge-web.service: Service hold-off time over, scheduling restart.
Jun 23 09:31:29 XXXX.XXX systemd[1]: deluge-web.service: Scheduled restart job, restart counter is at 5.
Jun 23 09:31:29 XXXX.XXX systemd[1]: Stopped Deluge Bittorrent Client Web Interface.
Jun 23 09:31:29 XXXX.XXX systemd[1]: deluge-web.service: Start request repeated too quickly.
Jun 23 09:31:29 XXXX.XXX systemd[1]: deluge-web.service: Failed with result 'exit-code'.
Jun 23 09:31:29 XXXX.XXX systemd[1]: Failed to start Deluge Bittorrent Client Web Interface.
root@XXXX:~#
I went here looking for how to set up on a server.

Did all it was but I do all ready have a deluge user.

That's where I get this now.

I think it's something with the user. That web pages says the default name and password is both deluge and I type that in and it never will show Version next to it with hose 127.0.0.1:58846

-Raymond Day
Raymond
Member
Member
Posts: 10
Joined: Wed Jun 19, 2019 6:14 pm

Re: Can only start it on the command line.

Post by Raymond »

Installed it on a new system never installed before and it works. When I went to it's web page and log in as deluge/deluge it said should change my password and that worked out real good.

So on my main server I did the same the same user name too not as root. Went to uninstall it as best as I could. I thought I did and did a apt get install again. Set it up and when I do "systemctl status deluged it says this:

Code: Select all

raymond@XXXX:/etc/apt$ systemctl status deluged
● deluged.service - Deluge Bittorrent Client Daemon
   Loaded: loaded (/etc/systemd/system/deluged.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/deluged.service.d
           └─user.conf
   Active: failed (Result: exit-code) since Wed 2019-06-26 06:10:29 EDT; 1min 13s ago
 Main PID: 23688 (code=exited, status=1/FAILURE)

Jun 26 06:10:29 XXXX.XXX systemd[1]: deluged.service: Service hold-off time over, scheduling restart.
Jun 26 06:10:29 XXXX.XXX systemd[1]: deluged.service: Scheduled restart job, restart counter is at 5.
Jun 26 06:10:29 XXXX.XXX systemd[1]: Stopped Deluge Bittorrent Client Daemon.
Jun 26 06:10:29 XXXX.XXX systemd[1]: deluged.service: Start request repeated too quickly.
Jun 26 06:10:29 XXXX.XXX systemd[1]: deluged.service: Failed with result 'exit-code'.
Jun 26 06:10:29 XXXX.XXX systemd[1]: [color=#FF0080]Failed to start Deluge Bittorrent Client Daemon.[/color]
raymond@XXXX:/etc/apt$
I did this to remove it:

sudo apt-get remove --purge deluge
sudo apt autoremove deluge
sudo rm -r /usr/lib/python2.7/dist-packages/deluge*
sudo updatedb
locate deluge
sudo rm -r /var/lib/dpkg/info/deluged*
sudo apt-get remove deluged
sudo su root
userdel raymond

But because it don't work like the fresh load I guess it did not delete every thing. How can I delete all of deluged so I can install it like fresh?

-Raymond Day
Post Reply