Cannot visit the backup page

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.1.40.1
How are you able to access your server: The webadmin
SSH
Direct access via physical keyboard/screen
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: Nope

Describe your issue

Hi all, marvelous yubohost community! O have a problem with the web backup page.

When I try to visit the backup page (home ~> backup ~> local) the waiting pop-up (trying to communicate with the server… Maybe yunohost-api is down) comes up and I’m unable to use the web interface for some time (more than fifteen minutes and less than six hours for sure). What can I do to debug the problem?

Have a good day :slight_smile:

Share relevant logs or error messages

Nothing to share atm

This is yunohost-api taking forever to list the contents of /home/yunohost.backup/archives.

How many backups do you have there? On console, does it take a reasonable time to run sudo yunohost backup list ?

Thank you for your answer!

How many backups do you have there? On console, does it take a reasonable time to run sudo yunohost backup list ?

Less than a second.

This is yunohost-api taking forever to list the contents of /home/yunohost.backup/archives.

I only have 14 backups (output of sudo yunohost backup list).

EDIT: After deleting a pair of backups (going from 14 to 12) it works again! I wasn’t aware that this could be a problem, it even stops the admin web interface from responding (it remains empty when I reload it) for at least 15 minutes. Is it possible to at least increase the timeout if the slowness is the problem?

From my experience, the time to load the page depends not only on the number of backups but also on how heavy they are.
I don’t know is this is expected or just a coincidence.

The admin page actually does something equal to yunohost backup info on each archive listed, these may take some time.