Ghost - Minor update available!

Ghost - Minor update available!

Wer kennt es nicht? Man schreibt gerade einen Blog Beitrag und überlegt plötzlich wann man das letzte Mal ein Update der Blog App gemacht hat.

Bei Wordpress gabs das Auto Update, war auch zwingend notwenig bei den vielen Plugins. Und leider das Update auch oft etwas vollautomatisch kaputt gemacht.

Aber wie ist es bei Ghost?

Eigentlich ganz einfach...

Ghost Docs
Everything you need to know about working with the Ghost professional publishing platform.

also.. ins richtige Verzeichnis wechseln

cd /var/www/screamy.at/

und dann schauen ob es ein Update gibt

ghost check-update

und wenn es eines gibt, gleich mal das Backup ausführen.

ghost backup

Kaum ist das Backup fertig, machen wir schon das Update.

ghost update


Bei mir gabs einen Fehler..

screamy@ghost:/var/www/screamy.at$ ghost update

Love open source? We’re hiring JavaScript Engineers to work on Ghost full-time.
https://careers.ghost.org

  • sudo systemctl is-active ghost_www-screamy-at
    ✔ Checking system Node.js version - found v18.20.8
    ✔ Ensuring user is not logged in as ghost user
    ✔ Checking if logged in user is directory owner
    ✔ Checking current folder permissions
    ✔ Checking folder permissions
    ✖ Checking file permissions
    ✔ Checking content folder ownership
    ✔ Checking memory availability
    ✔ Checking free space
    One or more errors occurred.
  1. Checking file permissions

Message: Your installation folder contains some directories or files with incorrect permissions:

  • ./content/themes/solo/assets/images/default-skin.svg
  • ./content/themes/solo/assets/images/preloader.gif
  • ./content/themes/solo/assets/images/default-skin.png
  • ./content/themes/alto/assets/js/lib/owl.carousel.min.js
  • ./content/themes/alto/assets/images/default-skin.svg
  • ./content/themes/alto/assets/images/preloader.gif
  • ./content/themes/alto/assets/images/default-skin.png
  • ./content/themes/ruby/assets/images/default-skin.svg
  • ./content/themes/ruby/assets/images/preloader.gif
  • ./content/themes/ruby/assets/images/default-skin.png
    Run sudo find ./ ! -path "./versions/*" -type f -exec chmod 664 {} ; and try again.

Debug Information:
OS: Ubuntu, v24.04.2 LTS
Node Version: v18.20.8
Ghost Version: 5.110.4
Ghost-CLI Version: 1.27.0
Environment: production
Command: 'ghost update'

Try running ghost doctor to check your system for known issues.

You can always refer to https://ghost.org/docs/ghost-cli/ for troubleshooting.

Also gleich mal

sudo find ./ ! -path "./versions/*" -type f -exec chmod 664 {} ;

ausgeführt und dann nochmal das update versucht.

Und siehe da, alles ging gut 😄