# Getting internal server error when I try to write a new post

**URL:** <https://forum.ghost.org/t/getting-internal-server-error-when-i-try-to-write-a-new-post/33879>\
**Category:** Self-hosting\
**Created:** [November 4, 2022, 12:25am UTC](https://forum.ghost.org/t/getting-internal-server-error-when-i-try-to-write-a-new-post/33879 "2022-11-04T00:25:04Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![sashinexists](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/sashinexists/32/1816_2.png) [@sashinexists](https://forum.ghost.org/u/sashinexists)\
**Post date:** [November 4, 2022, 12:25am UTC](https://forum.ghost.org/t/getting-internal-server-error-when-i-try-to-write-a-new-post/33879/1 "2022-11-04T00:25:04Z")

</div>

![image](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/a/1/a16565c23fb1d03e27dc6bcea4d95a4bbc275fed.png)

---

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [November 4, 2022, 1:06am UTC](https://forum.ghost.org/t/getting-internal-server-error-when-i-try-to-write-a-new-post/33879/2 "2022-11-04T01:06:24Z")

</div>

Much more info needed but I’ll take a guess: are you on something other than MySQL 8 and just upgraded ghost to 5.21 or 5.22?

---

<div class="post-metadata">

**Author:** ![sashinexists](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/sashinexists/32/1816_2.png) [@sashinexists](https://forum.ghost.org/u/sashinexists)\
**Post date:** [November 4, 2022, 1:20am UTC](https://forum.ghost.org/t/getting-internal-server-error-when-i-try-to-write-a-new-post/33879/3 "2022-11-04T01:20:34Z")

</div>

I don’t know what version of MySql I’m on, it true that I recently upgraded to 5.x after not having upgraded in a really long time

(I think it’s safe to assume you’re right, if that’s the case, how do I upgrade MySql?)

---

<div class="post-metadata">

**Author:** ![sashinexists](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/sashinexists/32/1816_2.png) [@sashinexists](https://forum.ghost.org/u/sashinexists)\
**Post date:** [November 4, 2022, 1:31am UTC](https://forum.ghost.org/t/getting-internal-server-error-when-i-try-to-write-a-new-post/33879/4 "2022-11-04T01:31:55Z")

</div>

![image](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/3/2/328412410a1ea61db188298ea5e973b36d1b3778.png)

This is the version of MySql I have at the moment. It looks like 14 somehow?

---

<div class="post-metadata">

**Author:** ![sashinexists](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/sashinexists/32/1816_2.png) [@sashinexists](https://forum.ghost.org/u/sashinexists)\
**Post date:** [November 4, 2022, 1:35am UTC](https://forum.ghost.org/t/getting-internal-server-error-when-i-try-to-write-a-new-post/33879/5 "2022-11-04T01:35:14Z")

</div>

Okay, I might be in the process of solving this, am trying to upgrade ubuntu now and I think this will update mySql

---

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [November 4, 2022, 1:39am UTC](https://forum.ghost.org/t/getting-internal-server-error-when-i-try-to-write-a-new-post/33879/6 "2022-11-04T01:39:25Z")

</div>

Yup. You were on 5.7.

As a stopgap, if you need a temp fix, ghost 5.20 does run on MySQL 5. You could force the downgrade.

---

<div class="post-metadata">

**Author:** ![sashinexists](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/sashinexists/32/1816_2.png) [@sashinexists](https://forum.ghost.org/u/sashinexists)\
**Post date:** [November 4, 2022, 2:15am UTC](https://forum.ghost.org/t/getting-internal-server-error-when-i-try-to-write-a-new-post/33879/7 "2022-11-04T02:15:04Z")

</div>

Thanks for the tip!!

Am upgrading to Ubuntu 20.04 now hopefully I won’t need to.

I’m thinking of upgrading again to 22.04 right away after since I already here, does that sound like it could be a bad idea?

---

<div class="post-metadata">

**Author:** ![mjw](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/mjw/32/30781_2.png) [@mjw](https://forum.ghost.org/u/mjw)\
**Post date:** [November 4, 2022, 9:43am UTC](https://forum.ghost.org/t/getting-internal-server-error-when-i-try-to-write-a-new-post/33879/8 "2022-11-04T09:43:45Z")

</div>

Upgrading Ubuntu will not change your database from MariaDB to MySQL, so your best short-term option is @Cathy_Sarisky’s suggestion to downgrade to 5.20.

Changing to MySQL is relatively straightforward. It would be helpful you shared details of your hosting arrangements. Ideally, you want to clone the current environment or migrate to a new server running MySQL and a newer OS.

---

<div class="post-metadata">

**Author:** ![sashinexists](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/sashinexists/32/1816_2.png) [@sashinexists](https://forum.ghost.org/u/sashinexists)\
**Post date:** [November 13, 2022, 5:39am UTC](https://forum.ghost.org/t/getting-internal-server-error-when-i-try-to-write-a-new-post/33879/9 "2022-11-13T05:39:10Z")

</div>

thanks, I was on digital ocean, I just made a new droplet!

(it’s all solved now :) )
