tommi
June 24, 2026, 12:46pm
1
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:
opened 07:36AM - 11 Apr 26 UTC
Currently running YunoHost 13.0.4 beta.
The upgrade from Ghost 6.22.1\~ynh1 to … Ghost 6.27.0\~ynh1 fails.
[Here](https://paste.yunohost.org/raw/utofeverap) is the log.
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.
tommi
June 25, 2026, 5:04am
3
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
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.
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.
tommi
June 26, 2026, 6:38am
8
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