# Upgrade Ghost failed - 6.x

**URL:** <https://forum.yunohost.org/t/upgrade-ghost-failed-6-x/40145>\
**Category:** Support apps\
**Tags:** ghost, french\
**Created:** [September 22, 2025, 7:43pm UTC](https://forum.yunohost.org/t/upgrade-ghost-failed-6-x/40145 "2025-09-22T19:43:53Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![RobinMoretti](https://forum.yunohost.org/user_avatar/forum.yunohost.org/robinmoretti/32/10652_2.png) [@RobinMoretti](https://forum.yunohost.org/u/RobinMoretti)\
**Post date:** [September 22, 2025, 7:43pm UTC](https://forum.yunohost.org/t/upgrade-ghost-failed-6-x/40145/1 "2025-09-22T19:43:54Z")

</div>

**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:

```bash
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](https://paste.yunohost.org/raw/igopiyoyuy)

---

<div class="post-metadata">

**Author:** ![tituspijean](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tituspijean/32/3584_2.png) [@tituspijean](https://forum.yunohost.org/u/tituspijean)\
**Post date:** [September 22, 2025, 10:08pm UTC](https://forum.yunohost.org/t/upgrade-ghost-failed-6-x/40145/2 "2025-09-22T22:08:59Z")

</div>

```auto
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. 😵‍💫

---

<div class="post-metadata">

**Author:** ![RobinMoretti](https://forum.yunohost.org/user_avatar/forum.yunohost.org/robinmoretti/32/10652_2.png) [@RobinMoretti](https://forum.yunohost.org/u/RobinMoretti)\
**Post date:** [September 23, 2025, 6:13am UTC](https://forum.yunohost.org/t/upgrade-ghost-failed-6-x/40145/4 "2025-09-23T06:13:10Z")

</div>

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:

```auto
https://github.com/YunoHost-Apps/ghost_ynh/tree/dbc9d5b8e0cbc34a410a31f3682ead2136a4d683

```

---

<div class="post-metadata">

**Author:** ![tituspijean](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tituspijean/32/3584_2.png) [@tituspijean](https://forum.yunohost.org/u/tituspijean)\
**Post date:** [September 23, 2025, 6:52pm UTC](https://forum.yunohost.org/t/upgrade-ghost-failed-6-x/40145/5 "2025-09-23T18:52:06Z")

</div>

I’ll try to propose a fix with version v5.130.5 as an intermediate upgrade.

---

<div class="post-metadata">

**Author:** ![OniriCorpe](https://forum.yunohost.org/user_avatar/forum.yunohost.org/oniricorpe/32/3356_2.png) [@OniriCorpe](https://forum.yunohost.org/u/OniriCorpe)\
**Post date:** [September 23, 2025, 7:06pm UTC](https://forum.yunohost.org/t/upgrade-ghost-failed-6-x/40145/6 "2025-09-23T19:06:01Z")

</div>

5.130.4 was the latest released version when i did the PR to add this message 😕

---

<div class="post-metadata">

**Author:** ![tituspijean](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tituspijean/32/3584_2.png) [@tituspijean](https://forum.yunohost.org/u/tituspijean)\
**Post date:** [September 23, 2025, 8:13pm UTC](https://forum.yunohost.org/t/upgrade-ghost-failed-6-x/40145/7 "2025-09-23T20:13:12Z")

</div>

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`

---

<div class="post-metadata">

**Author:** ![RobinMoretti](https://forum.yunohost.org/user_avatar/forum.yunohost.org/robinmoretti/32/10652_2.png) [@RobinMoretti](https://forum.yunohost.org/u/RobinMoretti)\
**Post date:** [September 27, 2025, 9:44am UTC](https://forum.yunohost.org/t/upgrade-ghost-failed-6-x/40145/8 "2025-09-27T09:44:29Z")

</div>

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):

> **[Fédérer son blog Ghost (Yunohost)](https://robinmoretti.eu/federer-son-blog-ghost-yunohost/)**
>
> Ghost 6 supporte désormais ActivityPub, permettant de fédérer son blog auto-hébergé et de le rendre visible sur le Fediverse.

---

<div class="post-metadata">

**Author:** ![RobinMoretti](https://forum.yunohost.org/user_avatar/forum.yunohost.org/robinmoretti/32/10652_2.png) [@RobinMoretti](https://forum.yunohost.org/u/RobinMoretti)\
**Post date:** [September 27, 2025, 9:50am UTC](https://forum.yunohost.org/t/upgrade-ghost-failed-6-x/40145/9 "2025-09-27T09:50:10Z")

</div>

And also thx for the quick fix and all the amazing work !

---

<div class="post-metadata">

**Author:** ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)\
**Post date:** [October 12, 2025, 12:40pm UTC](https://forum.yunohost.org/t/upgrade-ghost-failed-6-x/40145/11 "2025-10-12T12:40:51Z")

</div>

Closed on October 12, 2025, 12:40pm UTC

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