I have been having trouble with #Ghost on #YunoHost, and it has been causing me headaches for weeks.

I cannot upgrade to any version after 6.22.1~ynh1, but I must, because there are critical vulnerabilities patches in following versions.

Can anyone please help or give me tips on how to troubleshoot this? Here is the GitHub issue I opened about it.

Thank you in advance 🌻

Cc: @yunohost

#sysAd #Linux #database #MariaDB #MySQL #SQL #systemAdministration #server #selfHosting #techSupport #help

Upgrade fails from v6.22.1~ynh1 to any newer version · Issue #600 · YunoHost-Apps/ghost_ynh

Currently running YunoHost 13.0.4 beta. The upgrade from Ghost 6.22.1~ynh1 to Ghost 6.27.0~ynh1 fails. Here is the log.

GitHub

@tommi looked at the logs and posted my best guess on GitHub, but there's a follow-up question from that: is it upgraded in-place or in a separate isolated sandbox that's rolled back on failure? I don't use YH so I don't know.

Because if I'm correct and upgrades are in-place, it's already on the latest version and the issue is merely YH's version accounting due to a broken upgrade script. If there's a current version of Ghost reported anywhere within itself, that's a way to verify that.

Upgrade script not seeing the success is still a problem, but at least you can breathe easier knowing you have the updates.

@dside Unfortunately the version is still 6.22.1… Upgrade was not successful indeed.

YunoHost has an automatic rollback system if upgrade fails.

@tommi that's a good system. Though you'll want an updated script then, yeah… someone proposed a fix in the meantime, which looks good from my perspective (it changes the text the start command is looking for to one that's actually there), hopefully all that's left is for someone in charge of packaging to validate and merge it.

Let's hope this happens sooner rather than later