1 min read

Ghost upgrade -troubleshooting

upgrading ghost troubleshooting ghost-cli
Ghost upgrade -troubleshooting
Photo by Theme Photos / Unsplash

So, ghost just released an update, I had to update this blog of course. But then, I ran into a few issues, and decided to take notes. Who knows? 🤷 I just may be running another update sometime soon.

  1. EACCES: permission denied, open ‘/var/www/ghost/.ghost-cli

Solution: change the owner and group of the file to the ghost user

NB: ghost is usually not run as root, so it is assumed you are currently logged in as your ghost user

sudo chown $(whoami):$(whoami) /var/www/ghost/.ghost-cli

2. Systemd Process manager has not been setup. Run ghost setup linux-user systemd and try again.

Solution:

sudo chown -R $(whoami):$(whoami) /var/www/ghost/content

Cheers !!!