GhostBlog Docker 5.0 Broken

ghostblog Jul 18, 2023

Anyone using GhostBlog in Docker that has recently update to 5.0 will have experienced an error breaking their current site.

GhostBlog previously used SQLite however in 5.0 and newer they have moved to MySQL. Unfortunately upgrading the docker container doesnt automatically spin up a MySQL container. If like me you are perfectly happy with SQLite then there is a fix.

Add these to you env

-e database__client=sqlite3 \
-e database__connection__filename="content/data/ghost.db" \
-e database__useNullAsDefault=true \
-e database__debug=false \

Tags