What app is this about, and its version: Ghost, 5.130.4~ynh1
What YunoHost version are you running: 12.1.25 (stable)
What type of hardware are you using: VPS bought online
Describe your issue
I’m trying to upgrade Ghost from a 5.x version to 6.x.
I followed the warning message and first updated my Ghost instance to version 5.130.4 using this command:
sudo yunohost app upgrade ghost -u https://github.com/YunoHost-Apps/ghost_ynh/tree/dbc9d5b8e0cbc34a410a31f3682ead2136a4d683
This step completed successfully.
After that, I tried to upgrade Ghost to version 6.x via the admin panel, but this step failed.
Share relevant logs or error messages
https://paste.yunohost.org/raw/igopiyoyuy
2025-09-22 20:26:41,146: DEBUG - Message: Unable to update Ghost directly to v6.0.9. You must be on the latest v5.x to update across major versions.
2025-09-22 20:26:41,147: DEBUG - Help: Run "ghost update v5" to get the latest v5.x version, then run "ghost update" to get to v6.
2025-09-22 20:26:41,148: DEBUG -
2025-09-22 20:26:41,149: DEBUG - Debug Information:
2025-09-22 20:26:41,150: DEBUG - OS: Debian GNU/Linux, v12
2025-09-22 20:26:41,151: DEBUG - Node Version: v22.19.0
2025-09-22 20:26:41,152: DEBUG - Ghost Version: 5.130.4
2025-09-22 20:26:41,152: DEBUG - Ghost-CLI Version: 1.28.3
2025-09-22 20:26:41,153: DEBUG - Environment: production
2025-09-22 20:26:41,154: DEBUG - Command: 'ghost update 6.0.9 --no-prompt --no-auto-rollback --no-restart --force'
AFAIK 5.130.4 is within 5.x. 
The logs say it crashed because:
“You must be on the latest v5.x to update across major versions.”
Doesn’t that mean the version provided by the system isn’t the correct/latest one?
Here’s the version I used for the update:
https://github.com/YunoHost-Apps/ghost_ynh/tree/dbc9d5b8e0cbc34a410a31f3682ead2136a4d683
I’ll try to propose a fix with version v5.130.5 as an intermediate upgrade.
5.130.4 was the latest released version when i did the PR to add this message 
You may try to upgrade to the latest v5.x version with the following command, then try to upgrade the usual way to v6:
sudo yunohost app upgrade grav -u https://github.com/YunoHost-Apps/ghost_ynh/tree/latest-v5
I upgraded to v5.130.5 and it worked perfectly!
I had to add an Nginx config to get the new ActivityPub features working.
I wrote a bit about it on my blog in case anyone needs it (only french):
And also thx for the quick fix and all the amazing work !