Deluge not working after dietpi update Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
bookedirl
Posts: 36
Joined: Sat Oct 24, 2015 7:15 am

Deluge not working after dietpi update

Post by bookedirl »

I was previously running the lastest dietpi under the Buster repository and after updating to the newest version of dietpi, deluge would no longer work. I took this as a chance to update to the newest version of dietpi under Bullseye repository. I have installed deluge using dietpi-software and deluge is still not working properly.

When I run dietpi-services to check the status of each service currently on it says:

Code: Select all

                                      
      │                                 deluged    : failed | Affinity 0-3                                                   │      
      │                                 deluge-web : failed | Affinity 0-3                                                   │      
      │                                 cron       : active | Affinity 0-3                                                   │      
      │                                 dropbear   : active | Affinity 0-3                                                   │      
      │                                 openvpn    : active | Affinity 0-3                                                   │      
      │                                 dietpi-vpn : active | Affinity 0-3    
Any idea how to fix this? I tried reinstalling deluge and stopping and restarting services and it still does not work. This was all on a fresh install as well if that makes any difference.*

Thank you.
User avatar
Joulinar
Posts: 6448
Joined: Sat Nov 16, 2019 12:49 am

Re: Deluge not working after dietpi update

Post by Joulinar »

Hi,

pls share following

Code: Select all

journalctl -u deluged
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
bookedirl
Posts: 36
Joined: Sat Oct 24, 2015 7:15 am

Re: Deluge not working after dietpi update

Post by bookedirl »

Code: Select all

-- Journal begins at Sun 2021-10-17 22:05:02 BST, ends at Sun 2021-10-17 22:05:10 BST. --
Oct 17 22:05:03 DietPi systemd[1]: Started Deluge Daemon (DietPi).
Oct 17 22:05:05 DietPi deluged[561]: 22:05:05 [ERROR   ][deluge.config                 :436 ] Expecting ',' delimiter: line 31 column 26 (char 832)
Oct 17 22:05:05 DietPi deluged[561]: Traceback (most recent call last):
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3/dist-packages/deluge/config.py", line 434, in load
Oct 17 22:05:05 DietPi deluged[561]:     self.__config.update(json.loads(data[start:end]))
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3.9/json/__init__.py", line 346, in loads
Oct 17 22:05:05 DietPi deluged[561]:     return _default_decoder.decode(s)
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3.9/json/decoder.py", line 337, in decode
Oct 17 22:05:05 DietPi deluged[561]:     obj, end = self.raw_decode(s, idx=_w(s, 0).end())
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3.9/json/decoder.py", line 353, in raw_decode
Oct 17 22:05:05 DietPi deluged[561]:     obj, end = self.scan_once(s, idx)
Oct 17 22:05:05 DietPi deluged[561]: json.decoder.JSONDecodeError: Expecting ',' delimiter: line 31 column 26 (char 832)
Oct 17 22:05:05 DietPi deluged[561]: Unhandled error in Deferred:
Oct 17 22:05:05 DietPi deluged[561]: 22:05:05 [CRITICAL][twisted                       :154 ] Unhandled error in Deferred:
Oct 17 22:05:05 DietPi deluged[561]: Traceback (most recent call last):
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3/dist-packages/deluge/common.py", line 1344, in run_profiled
Oct 17 22:05:05 DietPi deluged[561]:     return func(*args)
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3/dist-packages/deluge/core/daemon_entry.py", line 132, in run_daemon
Oct 17 22:05:05 DietPi deluged[561]:     log.error('Unable to start deluged: %s', ex)
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1613, in unwindGenerator
Oct 17 22:05:05 DietPi deluged[561]:     return _cancellableInlineCallbacks(gen)
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1529, in _cancellableInlineCallbacks
Oct 17 22:05:05 DietPi deluged[561]:     _inlineCallbacks(None, g, status)
Oct 17 22:05:05 DietPi deluged[561]: --- <exception caught here> ---
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1418, in _inlineCallbacks
Oct 17 22:05:05 DietPi deluged[561]:     result = g.send(result)
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3/dist-packages/deluge/log.py", line 79, in error
Oct 17 22:05:05 DietPi deluged[561]:     yield LoggingLoggerClass.error(self, msg, *args, **kwargs)
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3.9/logging/__init__.py", line 1471, in error
Oct 17 22:05:05 DietPi deluged[561]:     self._log(ERROR, msg, args, **kwargs)
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3.9/logging/__init__.py", line 1573, in _log
Oct 17 22:05:05 DietPi deluged[561]:     fn, lno, func, sinfo = self.findCaller(stack_info, stacklevel)
Oct 17 22:05:05 DietPi deluged[561]: builtins.TypeError: findCaller() takes from 1 to 2 positional arguments but 3 were given
Oct 17 22:05:05 DietPi deluged[561]: Temporarily disabling observer LegacyLogObserverWrapper(<bound method TwistedLoggingObserver.emit of <deluge.log.TwistedLoggingObserver object at 0x7f7e424dc0>>) due to exception: [Failure instance: Traceback: <class 'TypeError'>: findCaller() takes from 1 to 2 positional arguments but 3 were given
Oct 17 22:05:05 DietPi deluged[561]: /usr/lib/python3/dist-packages/twisted/internet/defer.py:962:__del__
Oct 17 22:05:05 DietPi deluged[561]: /usr/lib/python3/dist-packages/twisted/logger/_logger.py:190:failure
Oct 17 22:05:05 DietPi deluged[561]: /usr/lib/python3/dist-packages/twisted/logger/_logger.py:144:emit
Oct 17 22:05:05 DietPi deluged[561]: --- <exception caught here> ---
Oct 17 22:05:05 DietPi deluged[561]: /usr/lib/python3/dist-packages/twisted/logger/_observer.py:131:__call__
Oct 17 22:05:05 DietPi deluged[561]: /usr/lib/python3/dist-packages/twisted/logger/_legacy.py:93:__call__
Oct 17 22:05:05 DietPi deluged[561]: /usr/lib/python3/dist-packages/deluge/log.py:204:emit
Oct 17 22:05:05 DietPi deluged[561]: /usr/lib/python3.9/logging/__init__.py:1489:critical
Oct 17 22:05:05 DietPi deluged[561]: /usr/lib/python3.9/logging/__init__.py:1573:_log
Oct 17 22:05:05 DietPi deluged[561]: ]
Oct 17 22:05:05 DietPi deluged[561]: Traceback (most recent call last):
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 962, in __del__
Oct 17 22:05:05 DietPi deluged[561]:     log.failure(format,
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3/dist-packages/twisted/logger/_logger.py", line 190, in failure
Oct 17 22:05:05 DietPi deluged[561]:     self.emit(level, format, log_failure=failure, **kwargs)
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3/dist-packages/twisted/logger/_logger.py", line 144, in emit
Oct 17 22:05:05 DietPi deluged[561]:     self.observer(event)
Oct 17 22:05:05 DietPi deluged[561]: --- <exception caught here> ---
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3/dist-packages/twisted/logger/_observer.py", line 131, in __call__
Oct 17 22:05:05 DietPi deluged[561]:     observer(event)
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3/dist-packages/twisted/logger/_legacy.py", line 93, in __call__
Oct 17 22:05:05 DietPi deluged[561]:     self.legacyObserver(event)
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3/dist-packages/deluge/log.py", line 204, in emit
Oct 17 22:05:05 DietPi deluged[561]:     getattr(LoggingLoggerClass, event_dict['log_level'].name)(
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3.9/logging/__init__.py", line 1489, in critical
Oct 17 22:05:05 DietPi deluged[561]:     self._log(CRITICAL, msg, args, **kwargs)
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3.9/logging/__init__.py", line 1573, in _log
Oct 17 22:05:05 DietPi deluged[561]:     fn, lno, func, sinfo = self.findCaller(stack_info, stacklevel)
Oct 17 22:05:05 DietPi deluged[561]: builtins.TypeError: findCaller() takes from 1 to 2 positional arguments but 3 were given
Oct 17 22:05:08 DietPi systemd[1]: deluged.service: Main process exited, code=exited, status=1/FAILURE
Oct 17 22:05:08 DietPi systemd[1]: deluged.service: Failed with result 'exit-code'.
Oct 17 22:05:08 DietPi systemd[1]: deluged.service: Consumed 1.453s CPU time.
root@DietPi:~# 
User avatar
Joulinar
Posts: 6448
Joined: Sat Nov 16, 2019 12:49 am

Re: Deluge not working after dietpi update

Post by Joulinar »

could you check if there is anything in the log

Code: Select all

cat /var/log/deluged/daemon.log
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
bookedirl
Posts: 36
Joined: Sat Oct 24, 2015 7:15 am

Re: Deluge not working after dietpi update

Post by bookedirl »

Not found
root@DietPi:~# cat /var/log/deluged/daemon.log
cat: /var/log/deluged/daemon.log: No such file or directory
User avatar
Joulinar
Posts: 6448
Joined: Sat Nov 16, 2019 12:49 am

Re: Deluge not working after dietpi update

Post by Joulinar »

could you share some more system details

Required Information
  • DietPi version | cat /boot/dietpi/.version
  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
  • Kernel version | uname -a
  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
bookedirl
Posts: 36
Joined: Sat Oct 24, 2015 7:15 am

Re: Deluge not working after dietpi update

Post by bookedirl »

Code: Select all

root@DietPi:~# cat /boot/dietpi/.version
G_DIETPI_VERSION_CORE=7
G_DIETPI_VERSION_SUB=7
G_DIETPI_VERSION_RC=3
G_GITBRANCH='master'
G_GITOWNER='MichaIng'

root@DietPi:~# echo $G_DISTRO_NAME $G_RASPBIAN
bullseye 0

root@DietPi:~# uname -a
Linux DietPi 5.10.63-v8+ #1459 SMP PREEMPT Wed Oct 6 16:42:49 BST 2021 aarch64 GNU/Linux

root@DietPi:~# echo $G_HW_MODEL_NAME
RPi 4 Model B (aarch64)
User avatar
MichaIng
Site Admin
Posts: 3516
Joined: Sat Nov 18, 2017 6:21 pm

Re: Deluge not working after dietpi update

Post by MichaIng »

Deluge is not logging by default to files anymore: https://dietpi.com/docs/releases/#improvements-77
To check the logs via journal:

Code: Select all

journalctl -u deluged -u deluge-web
The Deluge version faced a major version bump, so likely some config values got invalidated and new ones added. Can you share the lines mentioned in the error message, please:

Code: Select all

sed -n 30,32p /mnt/dietpi_userdata/deluge/.config/deluge/core.conf
sed -n 9,11p /mnt/dietpi_userdata/deluge/.config/deluge/web.conf
Not sure if the second one is from your issue, picked it from: https://github.com/MichaIng/DietPi/issu ... -945210692
User avatar
Joulinar
Posts: 6448
Joined: Sat Nov 16, 2019 12:49 am

Re: Deluge not working after dietpi update

Post by Joulinar »

On GitHub both errors generated on my test system. But at least for the Deluge Daemon, they are matching the one posted by OP. I played around with the one we provide during install. But I was not able to find correct configuration. :roll:
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
bookedirl
Posts: 36
Joined: Sat Oct 24, 2015 7:15 am

Re: Deluge not working after dietpi update

Post by bookedirl »

Here's the journal command again:

Code: Select all

root@DietPi:~# journalctl -u deluged -u deluge-web
-- Journal begins at Sun 2021-10-17 22:05:02 BST, ends at Mon 2021-10-18 17:34:49 BST. --
Oct 17 22:05:03 DietPi systemd[1]: Started Deluge Daemon (DietPi).
Oct 17 22:05:03 DietPi systemd[1]: Started Deluge Web UI (DietPi).
Oct 17 22:05:05 DietPi deluged[561]: 22:05:05 [ERROR   ][deluge.config                 :436 ] Expecting ',' delimiter: line 31 column 26 (char 832)
Oct 17 22:05:05 DietPi deluged[561]: Traceback (most recent call last):
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3/dist-packages/deluge/config.py", line 434, in load
Oct 17 22:05:05 DietPi deluged[561]:     self.__config.update(json.loads(data[start:end]))
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3.9/json/__init__.py", line 346, in loads
Oct 17 22:05:05 DietPi deluged[561]:     return _default_decoder.decode(s)
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3.9/json/decoder.py", line 337, in decode
Oct 17 22:05:05 DietPi deluged[561]:     obj, end = self.raw_decode(s, idx=_w(s, 0).end())
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3.9/json/decoder.py", line 353, in raw_decode
Oct 17 22:05:05 DietPi deluged[561]:     obj, end = self.scan_once(s, idx)
Oct 17 22:05:05 DietPi deluged[561]: json.decoder.JSONDecodeError: Expecting ',' delimiter: line 31 column 26 (char 832)
Oct 17 22:05:05 DietPi deluged[561]: Unhandled error in Deferred:
Oct 17 22:05:05 DietPi deluged[561]: 22:05:05 [CRITICAL][twisted                       :154 ] Unhandled error in Deferred:
Oct 17 22:05:05 DietPi deluged[561]: Traceback (most recent call last):
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3/dist-packages/deluge/common.py", line 1344, in run_profiled
Oct 17 22:05:05 DietPi deluged[561]:     return func(*args)
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3/dist-packages/deluge/core/daemon_entry.py", line 132, in run_daemon
Oct 17 22:05:05 DietPi deluged[561]:     log.error('Unable to start deluged: %s', ex)
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1613, in unwindGenerator
Oct 17 22:05:05 DietPi deluged[561]:     return _cancellableInlineCallbacks(gen)
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1529, in _cancellableInlineCallbacks
Oct 17 22:05:05 DietPi deluged[561]:     _inlineCallbacks(None, g, status)
Oct 17 22:05:05 DietPi deluged[561]: --- <exception caught here> ---
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1418, in _inlineCallbacks
Oct 17 22:05:05 DietPi deluged[561]:     result = g.send(result)
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3/dist-packages/deluge/log.py", line 79, in error
Oct 17 22:05:05 DietPi deluged[561]:     yield LoggingLoggerClass.error(self, msg, *args, **kwargs)
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3.9/logging/__init__.py", line 1471, in error
Oct 17 22:05:05 DietPi deluged[561]:     self._log(ERROR, msg, args, **kwargs)
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3.9/logging/__init__.py", line 1573, in _log
Oct 17 22:05:05 DietPi deluged[561]:     fn, lno, func, sinfo = self.findCaller(stack_info, stacklevel)
Oct 17 22:05:05 DietPi deluged[561]: builtins.TypeError: findCaller() takes from 1 to 2 positional arguments but 3 were given
Oct 17 22:05:05 DietPi deluged[561]: Temporarily disabling observer LegacyLogObserverWrapper(<bound method TwistedLoggingObserver.emit of <deluge.log.TwistedLoggingObserver object at 0x7f7e424dc0>>) due to exception: [Failure instance: Traceback: <class 'TypeError'>: findCaller() takes from 1 to 2 positional arguments but 3 were given
Oct 17 22:05:05 DietPi deluged[561]: /usr/lib/python3/dist-packages/twisted/internet/defer.py:962:__del__
Oct 17 22:05:05 DietPi deluged[561]: /usr/lib/python3/dist-packages/twisted/logger/_logger.py:190:failure
Oct 17 22:05:05 DietPi deluged[561]: /usr/lib/python3/dist-packages/twisted/logger/_logger.py:144:emit
Oct 17 22:05:05 DietPi deluged[561]: --- <exception caught here> ---
Oct 17 22:05:05 DietPi deluged[561]: /usr/lib/python3/dist-packages/twisted/logger/_observer.py:131:__call__
Oct 17 22:05:05 DietPi deluged[561]: /usr/lib/python3/dist-packages/twisted/logger/_legacy.py:93:__call__
Oct 17 22:05:05 DietPi deluged[561]: /usr/lib/python3/dist-packages/deluge/log.py:204:emit
Oct 17 22:05:05 DietPi deluged[561]: /usr/lib/python3.9/logging/__init__.py:1489:critical
Oct 17 22:05:05 DietPi deluged[561]: /usr/lib/python3.9/logging/__init__.py:1573:_log
Oct 17 22:05:05 DietPi deluged[561]: ]
Oct 17 22:05:05 DietPi deluged[561]: Traceback (most recent call last):
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 962, in __del__
Oct 17 22:05:05 DietPi deluged[561]:     log.failure(format,
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3/dist-packages/twisted/logger/_logger.py", line 190, in failure
Oct 17 22:05:05 DietPi deluged[561]:     self.emit(level, format, log_failure=failure, **kwargs)
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3/dist-packages/twisted/logger/_logger.py", line 144, in emit
Oct 17 22:05:05 DietPi deluged[561]:     self.observer(event)
Oct 17 22:05:05 DietPi deluged[561]: --- <exception caught here> ---
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3/dist-packages/twisted/logger/_observer.py", line 131, in __call__
Oct 17 22:05:05 DietPi deluged[561]:     observer(event)
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3/dist-packages/twisted/logger/_legacy.py", line 93, in __call__
Oct 17 22:05:05 DietPi deluged[561]:     self.legacyObserver(event)
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3/dist-packages/deluge/log.py", line 204, in emit
Oct 17 22:05:05 DietPi deluged[561]:     getattr(LoggingLoggerClass, event_dict['log_level'].name)(
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3.9/logging/__init__.py", line 1489, in critical
Oct 17 22:05:05 DietPi deluged[561]:     self._log(CRITICAL, msg, args, **kwargs)
Oct 17 22:05:05 DietPi deluged[561]:   File "/usr/lib/python3.9/logging/__init__.py", line 1573, in _log
Oct 17 22:05:05 DietPi deluged[561]:     fn, lno, func, sinfo = self.findCaller(stack_info, stacklevel)
Oct 17 22:05:05 DietPi deluged[561]: builtins.TypeError: findCaller() takes from 1 to 2 positional arguments but 3 were given
Oct 17 22:05:06 DietPi deluge-web[564]: 22:05:06 [ERROR   ][deluge.config              :436 ] Expecting ',' delimiter: line 10 column 21 (char 218)
Oct 17 22:05:06 DietPi deluge-web[564]: Traceback (most recent call last):
Oct 17 22:05:06 DietPi deluge-web[564]:   File "/usr/lib/python3/dist-packages/deluge/config.py", line 434, in load
Oct 17 22:05:06 DietPi deluge-web[564]:     self.__config.update(json.loads(data[start:end]))
Oct 17 22:05:06 DietPi deluge-web[564]:   File "/usr/lib/python3.9/json/__init__.py", line 346, in loads
Oct 17 22:05:06 DietPi deluge-web[564]:     return _default_decoder.decode(s)
Oct 17 22:05:06 DietPi deluge-web[564]:   File "/usr/lib/python3.9/json/decoder.py", line 337, in decode
Oct 17 22:05:06 DietPi deluge-web[564]:     obj, end = self.raw_decode(s, idx=_w(s, 0).end())
Oct 17 22:05:06 DietPi deluge-web[564]:   File "/usr/lib/python3.9/json/decoder.py", line 353, in raw_decode
Oct 17 22:05:06 DietPi deluge-web[564]:     obj, end = self.scan_once(s, idx)
Oct 17 22:05:06 DietPi deluge-web[564]: json.decoder.JSONDecodeError: Expecting ',' delimiter: line 10 column 21 (char 218)
Oct 17 22:05:06 DietPi deluge-web[564]: Traceback (most recent call last):
Oct 17 22:05:06 DietPi deluge-web[564]:   File "/usr/bin/deluge-web", line 33, in <module>
Oct 17 22:05:06 DietPi deluge-web[564]:     sys.exit(load_entry_point('deluge==2.0.3', 'console_scripts', 'deluge-web')())
Oct 17 22:05:06 DietPi deluge-web[564]:   File "/usr/lib/python3/dist-packages/deluge/ui/web/__init__.py", line 8, in start
Oct 17 22:05:06 DietPi deluge-web[564]:     web.start()
Oct 17 22:05:06 DietPi deluge-web[564]:   File "/usr/lib/python3/dist-packages/deluge/ui/web/web.py", line 74, in start
Oct 17 22:05:06 DietPi deluge-web[564]:     self.__server = server.DelugeWeb(options=self.options)
Oct 17 22:05:06 DietPi deluge-web[564]:   File "/usr/lib/python3/dist-packages/deluge/ui/web/server.py", line 696, in __init__
Oct 17 22:05:06 DietPi deluge-web[564]:     self.web_api = WebApi()
Oct 17 22:05:06 DietPi deluge-web[564]:   File "/usr/lib/python3/dist-packages/deluge/ui/web/json_api.py", line 385, in __init__
Oct 17 22:05:06 DietPi deluge-web[564]:     self.hostlist = HostList()
Oct 17 22:05:06 DietPi deluge-web[564]:   File "/usr/lib/python3/dist-packages/deluge/ui/hostlist.py", line 97, in __init__
Oct 17 22:05:06 DietPi deluge-web[564]:     default_hostlist(),
Oct 17 22:05:06 DietPi deluge-web[564]:   File "/usr/lib/python3/dist-packages/deluge/ui/hostlist.py", line 34, in default_hostlist
Oct 17 22:05:06 DietPi deluge-web[564]:     username, password = get_localhost_auth()
Oct 17 22:05:06 DietPi deluge-web[564]: TypeError: cannot unpack non-iterable NoneType object
Oct 17 22:05:06 DietPi systemd[1]: deluge-web.service: Main process exited, code=exited, status=1/FAILURE
Oct 17 22:05:06 DietPi systemd[1]: deluge-web.service: Failed with result 'exit-code'.
Oct 17 22:05:06 DietPi systemd[1]: deluge-web.service: Consumed 1.632s CPU time.
Oct 17 22:05:08 DietPi systemd[1]: deluged.service: Main process exited, code=exited, status=1/FAILURE
Oct 17 22:05:08 DietPi systemd[1]: deluged.service: Failed with result 'exit-code'.
Oct 17 22:05:08 DietPi systemd[1]: deluged.service: Consumed 1.453s CPU time.
Oct 17 22:19:03 DietPi systemd[1]: Started Deluge Daemon (DietPi).
Oct 17 22:19:03 DietPi systemd[1]: Started Deluge Web UI (DietPi).
Oct 17 22:19:04 DietPi deluged[1329]: 22:19:04 [ERROR   ][deluge.config                 :436 ] Expecting ',' delimiter: line 31 column 26 (char 832)
Oct 17 22:19:04 DietPi deluged[1329]: Traceback (most recent call last):
Oct 17 22:19:04 DietPi deluged[1329]:   File "/usr/lib/python3/dist-packages/deluge/config.py", line 434, in load
Oct 17 22:19:04 DietPi deluged[1329]:     self.__config.update(json.loads(data[start:end]))
Oct 17 22:19:04 DietPi deluged[1329]:   File "/usr/lib/python3.9/json/__init__.py", line 346, in loads
Oct 17 22:19:04 DietPi deluged[1329]:     return _default_decoder.decode(s)
Oct 17 22:19:04 DietPi deluged[1329]:   File "/usr/lib/python3.9/json/decoder.py", line 337, in decode
Oct 17 22:19:04 DietPi deluged[1329]:     obj, end = self.raw_decode(s, idx=_w(s, 0).end())
Oct 17 22:19:04 DietPi deluged[1329]:   File "/usr/lib/python3.9/json/decoder.py", line 353, in raw_decode
Oct 17 22:19:04 DietPi deluged[1329]:     obj, end = self.scan_once(s, idx)
Oct 17 22:19:04 DietPi deluged[1329]: json.decoder.JSONDecodeError: Expecting ',' delimiter: line 31 column 26 (char 832)
Oct 17 22:19:04 DietPi deluged[1329]: Unhandled error in Deferred:
Oct 17 22:19:04 DietPi deluged[1329]: 22:19:04 [CRITICAL][twisted                       :154 ] Unhandled error in Deferred:
Oct 17 22:19:04 DietPi deluged[1329]: Traceback (most recent call last):
Oct 17 22:19:04 DietPi deluged[1329]:   File "/usr/lib/python3/dist-packages/deluge/common.py", line 1344, in run_profiled
Oct 17 22:19:04 DietPi deluged[1329]:     return func(*args)
Oct 17 22:19:04 DietPi deluged[1329]:   File "/usr/lib/python3/dist-packages/deluge/core/daemon_entry.py", line 132, in run_daemon
Oct 17 22:19:04 DietPi deluged[1329]:     log.error('Unable to start deluged: %s', ex)
Oct 17 22:19:04 DietPi deluged[1329]:   File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1613, in unwindGenerator
Oct 17 22:19:04 DietPi deluged[1329]:     return _cancellableInlineCallbacks(gen)
Oct 17 22:19:04 DietPi deluged[1329]:   File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1529, in _cancellableInlineCallbacks
Oct 17 22:19:04 DietPi deluged[1329]:     _inlineCallbacks(None, g, status)
Oct 17 22:19:04 DietPi deluged[1329]: --- <exception caught here> ---
Oct 17 22:19:04 DietPi deluged[1329]:   File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1418, in _inlineCallbacks
Oct 17 22:19:04 DietPi deluged[1329]:     result = g.send(result)
Oct 17 22:19:04 DietPi deluged[1329]:   File "/usr/lib/python3/dist-packages/deluge/log.py", line 79, in error
Oct 17 22:19:04 DietPi deluged[1329]:     yield LoggingLoggerClass.error(self, msg, *args, **kwargs)
Oct 17 22:19:04 DietPi deluged[1329]:   File "/usr/lib/python3.9/logging/__init__.py", line 1471, in error
Oct 17 22:19:04 DietPi deluged[1329]:     self._log(ERROR, msg, args, **kwargs)
Oct 17 22:19:04 DietPi deluged[1329]:   File "/usr/lib/python3.9/logging/__init__.py", line 1573, in _log
Oct 17 22:19:04 DietPi deluged[1329]:     fn, lno, func, sinfo = self.findCaller(stack_info, stacklevel)
Oct 17 22:19:04 DietPi deluged[1329]: builtins.TypeError: findCaller() takes from 1 to 2 positional arguments but 3 were given
Oct 17 22:19:04 DietPi deluged[1329]: Temporarily disabling observer LegacyLogObserverWrapper(<bound method TwistedLoggingObserver.emit of <deluge.log.TwistedLoggingObserver object at 0x7f7f09dd90>>) due to exception: [Failure instance: Traceback: <class 'TypeError'>: findCaller() takes from 1 to 2 positional arguments but 3 were given
Oct 17 22:19:04 DietPi deluged[1329]: /usr/lib/python3/dist-packages/twisted/internet/defer.py:962:__del__
Oct 17 22:19:04 DietPi deluged[1329]: /usr/lib/python3/dist-packages/twisted/logger/_logger.py:190:failure
Oct 17 22:19:04 DietPi deluged[1329]: /usr/lib/python3/dist-packages/twisted/logger/_logger.py:144:emit
Oct 17 22:19:04 DietPi deluged[1329]: --- <exception caught here> ---
Oct 17 22:19:04 DietPi deluged[1329]: /usr/lib/python3/dist-packages/twisted/logger/_observer.py:131:__call__
Oct 17 22:19:04 DietPi deluged[1329]: /usr/lib/python3/dist-packages/twisted/logger/_legacy.py:93:__call__
Oct 17 22:19:04 DietPi deluged[1329]: /usr/lib/python3/dist-packages/deluge/log.py:204:emit
Oct 17 22:19:04 DietPi deluged[1329]: /usr/lib/python3.9/logging/__init__.py:1489:critical
Oct 17 22:19:04 DietPi deluged[1329]: /usr/lib/python3.9/logging/__init__.py:1573:_log
Oct 17 22:19:04 DietPi deluged[1329]: ]
Oct 17 22:19:04 DietPi deluged[1329]: Traceback (most recent call last):
Oct 17 22:19:04 DietPi deluged[1329]:   File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 962, in __del__
Oct 17 22:19:04 DietPi deluged[1329]:     log.failure(format,
Oct 17 22:19:04 DietPi deluged[1329]:   File "/usr/lib/python3/dist-packages/twisted/logger/_logger.py", line 190, in failure
Oct 17 22:19:04 DietPi deluged[1329]:     self.emit(level, format, log_failure=failure, **kwargs)
Oct 17 22:19:04 DietPi deluged[1329]:   File "/usr/lib/python3/dist-packages/twisted/logger/_logger.py", line 144, in emit
Oct 17 22:19:04 DietPi deluged[1329]:     self.observer(event)
Oct 17 22:19:04 DietPi deluged[1329]: --- <exception caught here> ---
Oct 17 22:19:04 DietPi deluged[1329]:   File "/usr/lib/python3/dist-packages/twisted/logger/_observer.py", line 131, in __call__
Oct 17 22:19:04 DietPi deluged[1329]:     observer(event)
Oct 17 22:19:04 DietPi deluged[1329]:   File "/usr/lib/python3/dist-packages/twisted/logger/_legacy.py", line 93, in __call__
Oct 17 22:19:04 DietPi deluged[1329]:     self.legacyObserver(event)
Oct 17 22:19:04 DietPi deluged[1329]:   File "/usr/lib/python3/dist-packages/deluge/log.py", line 204, in emit
Oct 17 22:19:04 DietPi deluged[1329]:     getattr(LoggingLoggerClass, event_dict['log_level'].name)(
Oct 17 22:19:04 DietPi deluged[1329]:   File "/usr/lib/python3.9/logging/__init__.py", line 1489, in critical
Oct 17 22:19:04 DietPi deluged[1329]:     self._log(CRITICAL, msg, args, **kwargs)
Oct 17 22:19:04 DietPi deluged[1329]:   File "/usr/lib/python3.9/logging/__init__.py", line 1573, in _log
Oct 17 22:19:04 DietPi deluged[1329]:     fn, lno, func, sinfo = self.findCaller(stack_info, stacklevel)
Oct 17 22:19:04 DietPi deluged[1329]: builtins.TypeError: findCaller() takes from 1 to 2 positional arguments but 3 were given
Oct 17 22:19:04 DietPi deluge-web[1337]: 22:19:04 [ERROR   ][deluge.config              :436 ] Expecting ',' delimiter: line 10 column 21 (char 218)
Oct 17 22:19:04 DietPi deluge-web[1337]: Traceback (most recent call last):
Oct 17 22:19:04 DietPi deluge-web[1337]:   File "/usr/lib/python3/dist-packages/deluge/config.py", line 434, in load
Oct 17 22:19:04 DietPi deluge-web[1337]:     self.__config.update(json.loads(data[start:end]))
Oct 17 22:19:04 DietPi deluge-web[1337]:   File "/usr/lib/python3.9/json/__init__.py", line 346, in loads
Oct 17 22:19:04 DietPi deluge-web[1337]:     return _default_decoder.decode(s)
Oct 17 22:19:04 DietPi deluge-web[1337]:   File "/usr/lib/python3.9/json/decoder.py", line 337, in decode
Oct 17 22:19:04 DietPi deluge-web[1337]:     obj, end = self.raw_decode(s, idx=_w(s, 0).end())
Oct 17 22:19:04 DietPi deluge-web[1337]:   File "/usr/lib/python3.9/json/decoder.py", line 353, in raw_decode
Oct 17 22:19:04 DietPi deluge-web[1337]:     obj, end = self.scan_once(s, idx)
Oct 17 22:19:04 DietPi deluge-web[1337]: json.decoder.JSONDecodeError: Expecting ',' delimiter: line 10 column 21 (char 218)
Oct 17 22:19:04 DietPi deluge-web[1337]: Traceback (most recent call last):
Oct 17 22:19:04 DietPi deluge-web[1337]:   File "/usr/bin/deluge-web", line 33, in <module>
Oct 17 22:19:04 DietPi deluge-web[1337]:     sys.exit(load_entry_point('deluge==2.0.3', 'console_scripts', 'deluge-web')())
Oct 17 22:19:04 DietPi deluge-web[1337]:   File "/usr/lib/python3/dist-packages/deluge/ui/web/__init__.py", line 8, in start
Oct 17 22:19:04 DietPi deluge-web[1337]:     web.start()
Oct 17 22:19:04 DietPi deluge-web[1337]:   File "/usr/lib/python3/dist-packages/deluge/ui/web/web.py", line 74, in start
Oct 17 22:19:04 DietPi deluge-web[1337]:     self.__server = server.DelugeWeb(options=self.options)
Oct 17 22:19:04 DietPi deluge-web[1337]:   File "/usr/lib/python3/dist-packages/deluge/ui/web/server.py", line 696, in __init__
Oct 17 22:19:04 DietPi deluge-web[1337]:     self.web_api = WebApi()
Oct 17 22:19:04 DietPi deluge-web[1337]:   File "/usr/lib/python3/dist-packages/deluge/ui/web/json_api.py", line 385, in __init__
Oct 17 22:19:04 DietPi deluge-web[1337]:     self.hostlist = HostList()
Oct 17 22:19:04 DietPi deluge-web[1337]:   File "/usr/lib/python3/dist-packages/deluge/ui/hostlist.py", line 97, in __init__
Oct 17 22:19:04 DietPi deluge-web[1337]:     default_hostlist(),
Oct 17 22:19:04 DietPi deluge-web[1337]:   File "/usr/lib/python3/dist-packages/deluge/ui/hostlist.py", line 34, in default_hostlist
Oct 17 22:19:04 DietPi deluge-web[1337]:     username, password = get_localhost_auth()
Oct 17 22:19:04 DietPi deluge-web[1337]: TypeError: cannot unpack non-iterable NoneType object
Oct 17 22:19:04 DietPi systemd[1]: deluge-web.service: Main process exited, code=exited, status=1/FAILURE
Oct 17 22:19:04 DietPi systemd[1]: deluge-web.service: Failed with result 'exit-code'.
Oct 17 22:19:04 DietPi systemd[1]: deluge-web.service: Consumed 1.584s CPU time.
Oct 17 22:19:04 DietPi systemd[1]: deluged.service: Main process exited, code=exited, status=1/FAILURE
Oct 17 22:19:04 DietPi systemd[1]: deluged.service: Failed with result 'exit-code'.
Oct 17 22:19:04 DietPi systemd[1]: deluged.service: Consumed 1.404s CPU time.
Oct 17 22:19:29 DietPi systemd[1]: Started Deluge Daemon (DietPi).
Oct 17 22:19:29 DietPi systemd[1]: Started Deluge Web UI (DietPi).
Oct 17 22:19:31 DietPi deluged[1363]: 22:19:31 [ERROR   ][deluge.config                 :436 ] Expecting ',' delimiter: line 31 column 26 (char 832)
Oct 17 22:19:31 DietPi deluged[1363]: Traceback (most recent call last):
Oct 17 22:19:31 DietPi deluged[1363]:   File "/usr/lib/python3/dist-packages/deluge/config.py", line 434, in load
Oct 17 22:19:31 DietPi deluged[1363]:     self.__config.update(json.loads(data[start:end]))
Oct 17 22:19:31 DietPi deluged[1363]:   File "/usr/lib/python3.9/json/__init__.py", line 346, in loads
Oct 17 22:19:31 DietPi deluged[1363]:     return _default_decoder.decode(s)
Oct 17 22:19:31 DietPi deluged[1363]:   File "/usr/lib/python3.9/json/decoder.py", line 337, in decode
Oct 17 22:19:31 DietPi deluged[1363]:     obj, end = self.raw_decode(s, idx=_w(s, 0).end())
Oct 17 22:19:31 DietPi deluged[1363]:   File "/usr/lib/python3.9/json/decoder.py", line 353, in raw_decode
Oct 17 22:19:31 DietPi deluged[1363]:     obj, end = self.scan_once(s, idx)
Oct 17 22:19:31 DietPi deluged[1363]: json.decoder.JSONDecodeError: Expecting ',' delimiter: line 31 column 26 (char 832)
Oct 17 22:19:31 DietPi deluged[1363]: Unhandled error in Deferred:
Oct 17 22:19:31 DietPi deluged[1363]: 22:19:31 [CRITICAL][twisted                       :154 ] Unhandled error in Deferred:
Oct 17 22:19:31 DietPi deluged[1363]: Traceback (most recent call last):
Oct 17 22:19:31 DietPi deluged[1363]:   File "/usr/lib/python3/dist-packages/deluge/common.py", line 1344, in run_profiled
Oct 17 22:19:31 DietPi deluged[1363]:     return func(*args)
Oct 17 22:19:31 DietPi deluged[1363]:   File "/usr/lib/python3/dist-packages/deluge/core/daemon_entry.py", line 132, in run_daemon
Oct 17 22:19:31 DietPi deluged[1363]:     log.error('Unable to start deluged: %s', ex)
Oct 17 22:19:31 DietPi deluged[1363]:   File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1613, in unwindGenerator
Oct 17 22:19:31 DietPi deluged[1363]:     return _cancellableInlineCallbacks(gen)
Oct 17 22:19:31 DietPi deluged[1363]:   File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1529, in _cancellableInlineCallbacks
Oct 17 22:19:31 DietPi deluged[1363]:     _inlineCallbacks(None, g, status)
Oct 17 22:19:31 DietPi deluged[1363]: --- <exception caught here> ---
Oct 17 22:19:31 DietPi deluged[1363]:   File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1418, in _inlineCallbacks
Oct 17 22:19:31 DietPi deluged[1363]:     result = g.send(result)
Oct 17 22:19:31 DietPi deluged[1363]:   File "/usr/lib/python3/dist-packages/deluge/log.py", line 79, in error
Oct 17 22:19:31 DietPi deluged[1363]:     yield LoggingLoggerClass.error(self, msg, *args, **kwargs)
Oct 17 22:19:31 DietPi deluged[1363]:   File "/usr/lib/python3.9/logging/__init__.py", line 1471, in error
Oct 17 22:19:31 DietPi deluged[1363]:     self._log(ERROR, msg, args, **kwargs)
Oct 17 22:19:31 DietPi deluged[1363]:   File "/usr/lib/python3.9/logging/__init__.py", line 1573, in _log
Oct 17 22:19:31 DietPi deluged[1363]:     fn, lno, func, sinfo = self.findCaller(stack_info, stacklevel)
Oct 17 22:19:31 DietPi deluged[1363]: builtins.TypeError: findCaller() takes from 1 to 2 positional arguments but 3 were given
Oct 17 22:19:31 DietPi deluged[1363]: Temporarily disabling observer LegacyLogObserverWrapper(<bound method TwistedLoggingObserver.emit of <deluge.log.TwistedLoggingObserver object at 0x7fba7ced90>>) due to exception: [Failure instance: Traceback: <class 'TypeError'>: findCaller() takes from 1 to 2 positional arguments but 3 were given
Oct 17 22:19:31 DietPi deluged[1363]: /usr/lib/python3/dist-packages/twisted/internet/defer.py:962:__del__
Oct 17 22:19:31 DietPi deluged[1363]: /usr/lib/python3/dist-packages/twisted/logger/_logger.py:190:failure
Oct 17 22:19:31 DietPi deluged[1363]: /usr/lib/python3/dist-packages/twisted/logger/_logger.py:144:emit
Oct 17 22:19:31 DietPi deluged[1363]: --- <exception caught here> ---
Oct 17 22:19:31 DietPi deluged[1363]: /usr/lib/python3/dist-packages/twisted/logger/_observer.py:131:__call__
Oct 17 22:19:31 DietPi deluged[1363]: /usr/lib/python3/dist-packages/twisted/logger/_legacy.py:93:__call__
Oct 17 22:19:31 DietPi deluged[1363]: /usr/lib/python3/dist-packages/deluge/log.py:204:emit
Oct 17 22:19:31 DietPi deluged[1363]: /usr/lib/python3.9/logging/__init__.py:1489:critical
Oct 17 22:19:31 DietPi deluged[1363]: /usr/lib/python3.9/logging/__init__.py:1573:_log
Oct 17 22:19:31 DietPi deluged[1363]: ]
Oct 17 22:19:31 DietPi deluged[1363]: Traceback (most recent call last):
Oct 17 22:19:31 DietPi deluged[1363]:   File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 962, in __del__
Oct 17 22:19:31 DietPi deluged[1363]:     log.failure(format,
Oct 17 22:19:31 DietPi deluged[1363]:   File "/usr/lib/python3/dist-packages/twisted/logger/_logger.py", line 190, in failure
Oct 17 22:19:31 DietPi deluged[1363]:     self.emit(level, format, log_failure=failure, **kwargs)
Oct 17 22:19:31 DietPi deluged[1363]:   File "/usr/lib/python3/dist-packages/twisted/logger/_logger.py", line 144, in emit
Oct 17 22:19:31 DietPi deluged[1363]:     self.observer(event)
Oct 17 22:19:31 DietPi deluged[1363]: --- <exception caught here> ---
Oct 17 22:19:31 DietPi deluged[1363]:   File "/usr/lib/python3/dist-packages/twisted/logger/_observer.py", line 131, in __call__
Oct 17 22:19:31 DietPi deluged[1363]:     observer(event)
Oct 17 22:19:31 DietPi deluged[1363]:   File "/usr/lib/python3/dist-packages/twisted/logger/_legacy.py", line 93, in __call__
Oct 17 22:19:31 DietPi deluged[1363]:     self.legacyObserver(event)
Oct 17 22:19:31 DietPi deluged[1363]:   File "/usr/lib/python3/dist-packages/deluge/log.py", line 204, in emit
Oct 17 22:19:31 DietPi deluged[1363]:     getattr(LoggingLoggerClass, event_dict['log_level'].name)(
Oct 17 22:19:31 DietPi deluged[1363]:   File "/usr/lib/python3.9/logging/__init__.py", line 1489, in critical
Oct 17 22:19:31 DietPi deluged[1363]:     self._log(CRITICAL, msg, args, **kwargs)
Oct 17 22:19:31 DietPi deluged[1363]:   File "/usr/lib/python3.9/logging/__init__.py", line 1573, in _log
Oct 17 22:19:31 DietPi deluged[1363]:     fn, lno, func, sinfo = self.findCaller(stack_info, stacklevel)
Oct 17 22:19:31 DietPi deluged[1363]: builtins.TypeError: findCaller() takes from 1 to 2 positional arguments but 3 were given
Oct 17 22:19:31 DietPi deluge-web[1371]: 22:19:31 [ERROR   ][deluge.config              :436 ] Expecting ',' delimiter: line 10 column 21 (char 218)
Oct 17 22:19:31 DietPi deluge-web[1371]: Traceback (most recent call last):
Oct 17 22:19:31 DietPi deluge-web[1371]:   File "/usr/lib/python3/dist-packages/deluge/config.py", line 434, in load
Oct 17 22:19:31 DietPi deluge-web[1371]:     self.__config.update(json.loads(data[start:end]))
Oct 17 22:19:31 DietPi deluge-web[1371]:   File "/usr/lib/python3.9/json/__init__.py", line 346, in loads
Oct 17 22:19:31 DietPi deluge-web[1371]:     return _default_decoder.decode(s)
Oct 17 22:19:31 DietPi deluge-web[1371]:   File "/usr/lib/python3.9/json/decoder.py", line 337, in decode
Oct 17 22:19:31 DietPi deluge-web[1371]:     obj, end = self.raw_decode(s, idx=_w(s, 0).end())
Oct 17 22:19:31 DietPi deluge-web[1371]:   File "/usr/lib/python3.9/json/decoder.py", line 353, in raw_decode
Oct 17 22:19:31 DietPi deluge-web[1371]:     obj, end = self.scan_once(s, idx)
Oct 17 22:19:31 DietPi deluge-web[1371]: json.decoder.JSONDecodeError: Expecting ',' delimiter: line 10 column 21 (char 218)
Oct 17 22:19:31 DietPi deluge-web[1371]: Traceback (most recent call last):
Oct 17 22:19:31 DietPi deluge-web[1371]:   File "/usr/bin/deluge-web", line 33, in <module>
Oct 17 22:19:31 DietPi deluge-web[1371]:     sys.exit(load_entry_point('deluge==2.0.3', 'console_scripts', 'deluge-web')())
Oct 17 22:19:31 DietPi deluge-web[1371]:   File "/usr/lib/python3/dist-packages/deluge/ui/web/__init__.py", line 8, in start
Oct 17 22:19:31 DietPi deluge-web[1371]:     web.start()
Oct 17 22:19:31 DietPi deluge-web[1371]:   File "/usr/lib/python3/dist-packages/deluge/ui/web/web.py", line 74, in start
Oct 17 22:19:31 DietPi deluge-web[1371]:     self.__server = server.DelugeWeb(options=self.options)
Oct 17 22:19:31 DietPi deluge-web[1371]:   File "/usr/lib/python3/dist-packages/deluge/ui/web/server.py", line 696, in __init__
Oct 17 22:19:31 DietPi deluge-web[1371]:     self.web_api = WebApi()
Oct 17 22:19:31 DietPi deluge-web[1371]:   File "/usr/lib/python3/dist-packages/deluge/ui/web/json_api.py", line 385, in __init__
Oct 17 22:19:31 DietPi deluge-web[1371]:     self.hostlist = HostList()
Oct 17 22:19:31 DietPi deluge-web[1371]:   File "/usr/lib/python3/dist-packages/deluge/ui/hostlist.py", line 97, in __init__
Oct 17 22:19:31 DietPi deluge-web[1371]:     default_hostlist(),
Oct 17 22:19:31 DietPi deluge-web[1371]:   File "/usr/lib/python3/dist-packages/deluge/ui/hostlist.py", line 34, in default_hostlist
Oct 17 22:19:31 DietPi deluge-web[1371]:     username, password = get_localhost_auth()
Oct 17 22:19:31 DietPi deluge-web[1371]: TypeError: cannot unpack non-iterable NoneType object
Oct 17 22:19:31 DietPi systemd[1]: deluge-web.service: Main process exited, code=exited, status=1/FAILURE
Oct 17 22:19:31 DietPi systemd[1]: deluge-web.service: Failed with result 'exit-code'.
Oct 17 22:19:31 DietPi systemd[1]: deluge-web.service: Consumed 1.581s CPU time.
Oct 17 22:19:31 DietPi systemd[1]: deluged.service: Main process exited, code=exited, status=1/FAILURE
Oct 17 22:19:31 DietPi systemd[1]: deluged.service: Failed with result 'exit-code'.
Oct 17 22:19:31 DietPi systemd[1]: deluged.service: Consumed 1.404s CPU time.
And the other two commands:

Code: Select all

root@DietPi:~# sed -n 30,32p /mnt/dietpi_userdata/deluge/.config/deluge/core.conf
        6891
    ],
    "lsd": true,


root@DietPi:~# sed -n 9,11p /mnt/dietpi_userdata/deluge/.config/deluge/web.conf
    "first_login": false,
    "https": false,
    "pkey": "ssl/daemon.pkey",
Post Reply