Interface bug in the admin pannel

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.0.12
How are you able to access your server: The webadmin

Describe your issue

Hi everyone,

Sometimes when i’m in the admin panel, i have a blank page.
It can happen after upgrading something, when i click on the domains settings , doing a backup or else.

Share relevant logs or error messages

For example, i can’t even access the permissions panel on my main browser (Librewolf).
I must use Chromium to do it

Can you check your browser’s console or network tab and see if there is any error?

Does force-resetting the cache with CTRL+MAJ+R help?

Yes, there is a lot of errors in the console tab

This does nothing

What about Network tab after reloading the page?


Do you want to see something more precisely in there ?

Yes, if there’s any 40x or 50x errors in there.

I don’t think there is any error in the network area

It happens to me. A simple refresh of the page helps. If it doesn’t, I know that there is another yunohost operation in progress. I am mainly using mobile, so no dev tools easily available.
I think v 12.1 will fix it. I don’t have access to the testing instance these days, but I didn’t have such issue.

1 Like

Ok i see, so i must wait for the next update.
Refreshing the page does nothing.

There is no “forbidden” or “not found” in the console?

I only have errors in the console tab, like showed previously or in this screenshot

If I recall correctly, the admin page used to be single user / single process before. That is easy to code and to manage, but not always handy during actual usage.

Now there can be multiple admin users, that can be logged in at the same time and perform actions at the same moment. Some of these actions are dependent on each other or block each other. Programming resolutions gets complicated quite quickly.

Especially if more than one admin is active I see the same behaviour as you describe. Sometimes it also happens when I am quite sure that I’m the only one logged in and that I do not have an action running in another tab.

Some actions have sub-operations (visible in the logging). Perhaps these can cause a race condition.

I can quite reliably get out of the situation by logging out and logging in again. I am not sure whether that actually solves the problem, or that it takes long enough for the lock to get resolved.

Edit to add: what I actually intended to write: I don’t expect errors in the browser console, because the browser is just waiting for a reply from Yunohost.

To go further, can you try to log in with SSH and run:

# update, only to see if something is locking the yunohost processes
sudo yunohost tools update
# let's check the api service
sudo systemctl status yunohost-api
# press q to quit the systemctl command