'yunohost tools upgrade system' shows error messages that are invalid

My YunoHost server

Hardware: Old computer
YunoHost version: 4.3.2.2
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 ? : no

Description of my issue

After running

yunohost tools upgrade system

sometimes errors are shown like

Service yunohost-api is dead

and a message

To see the issues found, you can go to the Diagnosis section of the webadmin, or run 'yunohost diagnosis show --issues --human-readable' from the command-line.

yunohost diagnosis show --issues --human-readable

then shows the same error messages.

These errors are outdated / invalid though. After running

yunohost diagnosis run --force

and then

yunohost diagnosis show --issues --human-readable

these errors aren’t shown any more.

So it seems there is a yunohost diagnosis run --force missing in the update process.

Ah I never thought about this … that’s in fact due to yunohost-api being down while the yunohost debian package is being upgraded … it’s a little tricky to explain what’s going on exactly because that’s pretty technical. In any case that’s sort of an “ephemeral” issue.

Funfact is, I just created a pull request to try to have a smarter self-upgrade mechanism that would solve some caveats of the current clumsy mechanism WIP: Smarter API self-upgrade mechanics by alexAubin · Pull Request #1374 · YunoHost/yunohost · GitHub

1 Like

Thanks for all your work on improving YunoHost! :slight_smile:

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