Frequent errors on Debian testing for privileged actions
The following error is shown whenever a privileged action is triggered from the web interface. In this case, I tried to restart the machine. The FreedomBox is running on a VPS server, installed as a package on Debian testing.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python3/dist-packages/plinth/modules/power/views.py", line 35, in restart
privileged.restart(_run_in_background=True)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/plinth/actions.py", line 75, in wrapper
return run_privileged_method(func, module_name, action_name, args,
kwargs)
File "/usr/lib/python3/dist-packages/plinth/actions.py", line 130, in run_privileged_method
client_socket = _request_to_server(request)
File "/usr/lib/python3/dist-packages/plinth/actions.py", line 99, in _request_to_server
client_socket.connect(socket_path)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
ConnectionRefusedError: [Errno 111] Connection refused
Seen in versions 25.10 and 25.11
Edited by Joseph Nuthalapati