Continuously receiving Ghost critical vulnerability notification, but cannot upgrade!

What app is this about, and its version: 6.22.1~ynh1
What YunoHost version are you running: 13.0.4 (testing)
What type of hardware are you using: VPS bought online

Describe your issue

I am continuing to receive this warning email, but Ghost upgrade fails.

Share relevant logs or error messages

See related issue on GitHub:

There is an error on the database : the foreign key constraint is malformed.
So you need to wait for a correction from TryGhost.

And there is also a timeout on the restart process that may be tweaked for Yunohost.

Thank you, @MariusBaguepi! Are you saying that there is nothing I can do until a Ghost update fixes this problem?

In if it is not the case, I would really need @tituspijean’s help to continue the troubleshoot in the GitHub issue! (Once again, so sorry to tag you but it seems quite a critical issue to address and fix!)

Did you try to reach ghost forum for help concerning the database issue?
If there is any solution they provide you can use it after upgrading using no remove on failure to fix the database

I proposed this fix Fix systemd start wait_until by Gredin67 · Pull Request #628 · YunoHost-Apps/ghost_ynh · GitHub

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

The last time there was an issue with the foreign key (3.6), Try Ghost make a new version (3.7) that fixes the issue.

There is no problem pinging me @tommi, but I am afraid that I would be of little help. :frowning:

I’m glad gauthier had a look into it. Let us know on his PR if that helps. You might to restore an backup of the app before the failed migration.

Additionally, the Ghost devs might deflect the issue because we are not using their recommended database. :confused:

Yes, thank you! I am leaving feedback in the GitHub PR comments. Thank you so much!

Indeed, I won’t even try to post on the Ghost forum :face_with_peeking_eye: