Viewing anything in the webadmin causes 500 & users that are classed as "admin" can no longer login through sudo

My YunoHost server

Hardware: VPS bought online (Linode)
YunoHost version: 11.2.5
I have access to my server : Through SSH & through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : not to my knowledge

Description of my issue

I’ve updated everything and that’s when the issues with both sudo & the webadmin started happening.

This is what gets spat out when I try to do anything that requires sudo/admin

Error: "500"

Action: "GET" /yunohost/api/users/admin?locale=en

Error message:
Unexpected server error

Traceback

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/moulinette/interfaces/api.py", line 453, in process
    ret = self.actionsmap.process(arguments, timeout=30, route=_route)
  File "/usr/lib/python3/dist-packages/moulinette/actionsmap.py", line 580, in process
    return func(**arguments)
  File "/usr/lib/python3/dist-packages/yunohost/user.py", line 616, in user_info
    if service_status("dovecot")["status"] != "running":
  File "/usr/lib/python3/dist-packages/yunohost/service.py", line 357, in service_status
    output = {
  File "/usr/lib/python3/dist-packages/yunohost/service.py", line 358, in <dictcomp>
    s: _get_and_format_service_status(s, infos) for s, infos in services.items()
  File "/usr/lib/python3/dist-packages/yunohost/service.py", line 395, in _get_and_format_service_status
    raw_status, raw_service = _get_service_information_from_systemd(systemd_service)
  File "/usr/lib/python3/dist-packages/yunohost/service.py", line 368, in _get_service_information_from_systemd
    import dbus
  File "/usr/lib/python3/dist-packages/dbus/__init__.py", line 71, in <module>
    import dbus.types as types
  File "/usr/lib/python3/dist-packages/dbus/types.py", line 10, in <module>
    from _dbus_bindings import (
ModuleNotFoundError: No module named '_dbus_bindings'

Could a bad update to python be causing call of this?

1 Like

Yes … are you thinking about something more specific …?

From what I can tell, it is actually due to lack of storage space as well as a partly borked install which managed to fix itself a little after clearing up some storage.

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