What type of hardware are you using: Raspberry Pi 3, 4+
What YunoHost version are you running: 11.3
How are you able to access your server: SSH
Describe your issue
I started the migration from webadmin, after a while the browser could not connect to the server, so I connected via ssh and I restarted the migration which took some time, but it crashed.
Every command using yunohost crashes with same error.
Share relevant logs or error messages
sudo yunohost tools migrations run
Traceback (most recent call last):
File “/usr/lib/python3.11/logging/config.py”, line 389, in resolve
found = getattr(found, frag)
^^^^^^^^^^^^^^^^^^^^
AttributeError: module ‘moulinette.interfaces’ has no attribute ‘api’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/lib/python3.11/logging/config.py”, line 391, in resolve
self.importer(used)
File “/usr/lib/python3/dist-packages/moulinette/interfaces/api.py”, line 16, in
from bottle import redirect, request, response, Bottle, HTTPResponse, FileUpload
File “/usr/lib/python3/dist-packages/bottle.py”, line 44, in
from inspect import getargspec
ImportError: cannot import name ‘getargspec’ from ‘inspect’ (/usr/lib/python3.11/inspect.py)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “/usr/lib/python3.11/logging/config.py”, line 562, in configure
handler = self.configure_handler(handlers[name])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.11/logging/config.py”, line 724, in configure_handler
klass = self.resolve(cname)
^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.11/logging/config.py”, line 396, in resolve
raise v from e
ValueError: Cannot resolve ‘moulinette.interfaces.api.APIQueueHandler’: cannot import name ‘getargspec’ from ‘inspect’ (/usr/lib/python3.11/inspect.py)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “/usr/bin/yunohost”, line 77, in
yunohost.cli(
File “/usr/lib/python3/dist-packages/yunohost/init.py”, line 35, in cli
init_logging(interface=“cli”, debug=debug, quiet=quiet)
File “/usr/lib/python3/dist-packages/yunohost/init.py”, line 194, in init_logging
configure_logging(logging_configuration)
File “/usr/lib/python3/dist-packages/moulinette/utils/log.py”, line 66, in configure_logging
dictConfig(logging_config)
File “/usr/lib/python3.11/logging/config.py”, line 812, in dictConfig
dictConfigClass(config).configure()
File “/usr/lib/python3.11/logging/config.py”, line 569, in configure
raise ValueError('Unable to configure handler ’
ValueError: Unable to configure handler ‘api’