500 Internal Server Error - Yunohost has disappeared moulinette.interfaces' has no attribute 'api

What type of hardware are you using: VPS bought online
What YunoHost version are you running: Can’t see
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

Hi,
The latest update failed via the web admin last week. I didn’t keep the logs. I tried again today but couldn’t access the web admin (404).
I rebooted the VPS and now all my websites are 500.
I access via SSH and tried
sudo yunohost tools update

I copy the result below but the beginning is
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’

UPDATE
I asked the VPS provider to roll out a backup and I will keep clear of the update.

This post can be deleted