What type of hardware are you using: VPS bought online
What YunoHost version are you running: 11
How are you able to access your server: SSH
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: no
Describe your issue
I wanted to get access to the web admin
Expected behavior :
connect to the webadmin interface
What happens :
I get the following error message :
L’API YunoHost ne répond pas
Vraiment désolé de cela.
Vous devez chercher de l’aide sur le forum ou le chat pour corriger la situation, ou signaler le bug sur le bugtracker.
Les informations suivantes peuvent être utiles à la personne qui vous aide :
Erreur: “502”
Action: “GET” /yunohost/api/installed?locale=fr
Message d’erreur :
L’API YunoHost ne répond pas. Peut-être que ‘yunohost-api’ est en panne ou a été redémarré ?
J’ai essayé les choses suivantes sans succès :
- redémarrer l’api en ligne de commande
- redémarrer le VPS
voir les messages d’erreurs suivants
Comment avancer dans le diag et résoudre le pb ?
Merci d’avance
Share relevant logs or error messages
yunohost tools diagnosis
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 <module>
from bottle import request, response, Bottle, HTTPResponse, FileUpload
File "/usr/lib/python3/dist-packages/bottle.py", line 44, in <module>
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 <module>
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 168, in init_logging
configure_logging(logging_configuration)
File "/usr/lib/python3/dist-packages/moulinette/utils/log.py", line 67, 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'
# systemctl restart matrix-synapse.service
Failed to restart matrix-synapse.service: Unit matrix-synapse.service not found.
# yunohost tools update system
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 <module>
from bottle import request, response, Bottle, HTTPResponse, FileUpload
File "/usr/lib/python3/dist-packages/bottle.py", line 44, in <module>
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 <module>
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 168, in init_logging
configure_logging(logging_configuration)
File "/usr/lib/python3/dist-packages/moulinette/utils/log.py", line 67, 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'