You are not logged in.

#1 2021-01-25 11:24:11

Ancalagon
Member
Registered: 2017-11-11
Posts: 23

Ethernal problem with deluge

Good morning guys,
I have a problem that I can't resolve alone cause my lack of knowledge. I find the wiki extremely hard to understand in same topics (like this one) and only passable in others. I had tried many times, searched on internet for solution, reinstalled from pacman and from aur, but it seems impossible to make deluged work. First of all, I have a remote desktop where I want to have deluged as torrent server always running. I'm using PUTTY to connect to it and using deluge-console to manage the files.
I have recently change the setup with a new pc. Of course I have a fresh install and in this moment without firewall, or strange
iptable rules. A clean setup.
Another time, I can't understand the wiki for deluge, it's my fault so I ask your help, so be patient please.

I had installed deluge from pacman, had confirmed that a new user "deluge" exist in /etc/passwd.

sudo nano /etc/passwd | grep "deluge"
deluge:x:965:965:Deluge BitTorrent daemon:/srv/deluge:/usr/bin/nologin

It seems that the home for deluge is /srv/deluge/. When I stard deluged (as my normal user) with "systemctl start deluged" I get

● deluged.service - Deluge Bittorrent Client Daemon
     Loaded: loaded (/usr/lib/systemd/system/deluged.service; enabled; vendor preset: disabled)
    Drop-In: /usr/lib/systemd/system/deluged.service.d
             └─user.conf
     Active: active (running) since Mon 2021-01-25 11:02:02 CET; 5s ago
       Docs: man:deluged
   Main PID: 1806 (deluged)
      Tasks: 3 (limit: 19126)
     Memory: 35.2M
     CGroup: /system.slice/deluged.service
             └─1806 /usr/bin/python /usr/bin/deluged -d

If I try to connect (always with my normal user from ssh and putty) with deluge-console I can't connect to the server. And when I quit the program I get

deluge-console
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/twisted/internet/defer.py", line 654, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/lib/python3.9/site-packages/deluge/ui/client.py", line 436, in __on_login_fail
    login_deferred.errback(result)
  File "/usr/lib/python3.9/site-packages/twisted/internet/defer.py", line 501, in errback
    self._startRunCallbacks(fail)
  File "/usr/lib/python3.9/site-packages/twisted/internet/defer.py", line 568, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib/python3.9/site-packages/twisted/internet/defer.py", line 654, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/lib/python3.9/site-packages/deluge/ui/client.py", line 408, in __on_connect_fail
    self.daemon_info_deferred.errback(reason)
  File "/usr/lib/python3.9/site-packages/twisted/internet/defer.py", line 501, in errback
    self._startRunCallbacks(fail)
  File "/usr/lib/python3.9/site-packages/twisted/internet/defer.py", line 561, in _startRunCallbacks
    raise AlreadyCalledError
twisted.internet.defer.AlreadyCalledError:

I'm not sure but maybe that's is something related with the users because if i "pkill" deluged, and then start deluged by typing "deluged" instead of using systemctl everything work AS LONG AS I STAY CONNECTED of course.
As soon as I quit the connection the deluged server die.

I have a .config/deluge/ folder in my home user. Another one I had found in /srv/deluge/.
Do you have some advice?

Offline

#2 2021-01-26 11:25:49

Ancalagon
Member
Registered: 2017-11-11
Posts: 23

Re: Ethernal problem with deluge

I'm trying to follow the official deluge wiki but I can "translate" the debian command to arch to Create a user

Debian comand:

sudo adduser --system  --gecos "Deluge Service" --disabled-password --group --home /var/lib/deluge deluge

What I had made

sudo useradd -r -c "Deluge Services" -g --home-dir /var/lib/deluge

Something is missing because is not working.

Offline

Board footer

Powered by FluxBB