Error: No such method 'LoadUnit'

:uk:/:us:

Hi,

My YunoHost server

Hardware: LXC vm
YunoHost version: 3.6.5.2
I have access to my server : Through SSH
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

After a fresh install in a LXC containter, Yunohost pops errors on the main page and several page are unavailable (nothing happen when you click on it)
The error is repeated and is always the same (for GET /services/ or GET diagnosis/ )

Action

GET /services/
 {"locale":"fr","names":"glances"}

Trace

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/moulinette/interfaces/api.py", line 439, in process
    ret = self.actionsmap.process(arguments, timeout=30, route=_route)
  File "/usr/lib/python2.7/dist-packages/moulinette/actionsmap.py", line 523, in process
    return func(**arguments)
  File "/usr/lib/moulinette/yunohost/service.py", line 287, in service_status
    status = _get_service_information_from_systemd(name)
  File "/usr/lib/moulinette/yunohost/service.py", line 353, in _get_service_information_from_systemd
    service_unit = manager.LoadUnit(service + '.service')
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Error.UnknownMethod: No such method 'LoadUnit'

I found no match on search engine about this issue.
Any advice is welcome


:fr:

Bonjour,

My YunoHost server

Hardware: LXC vm
YunoHost version: 3.6.5.2
** accès au serveur :** via SSH
** des particularités de contexte ? ** : no n

Description of my issue

Après la post-installation dans un containter LXC, une pop-up rouga apparait sur la page d’acceuil de Yunohost. Plusieurs écrans sont inacessibles.
Cette erreur se répète identiquement (pour GET /services/ ou GET diagnosis/ ) :

Action

GET /services/
 {"locale":"fr","names":"glances"}

Trace

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/moulinette/interfaces/api.py", line 439, in process
    ret = self.actionsmap.process(arguments, timeout=30, route=_route)
  File "/usr/lib/python2.7/dist-packages/moulinette/actionsmap.py", line 523, in process
    return func(**arguments)
  File "/usr/lib/moulinette/yunohost/service.py", line 287, in service_status
    status = _get_service_information_from_systemd(name)
  File "/usr/lib/moulinette/yunohost/service.py", line 353, in _get_service_information_from_systemd
    service_unit = manager.LoadUnit(service + '.service')
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Error.UnknownMethod: No such method 'LoadUnit'

Je n’ai trouvé aucun résultat dans les moteurs de recherche.
Que me conseillez-vous de faire ?

Est-ce que ça bloque vraiment beaucoup de page ? (e.g. tu ne peux meme pas juste afficher la page des services ?)

Sinon c’est glances qui fait n’imp, et c’est une des raisons pour laquelle il sera retiré des prochaines version de YunoHost … en attendant, ça ne devrait pas empecher le bon fonctionnement de toutes les autres fonctionnalités

Bonsoir Aleks,

Les pages qui bloquent:
Services
Outils -> Diagnostic
Outils -> Etats du serveurs

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.