Aller au contenu

Updating a Ghost website

Ce contenu n’est pas encore disponible dans votre langue.

Keep your Ghost website up to date to get security fixes, bug fixes and new features. Always take a backup before you update.

  • Security: updates fix vulnerabilities that attackers can use to break into websites.
  • Stability: bug fixes and performance improvements help your site run smoothly.
  • New features: you get the latest editor, themes and membership tools.
  1. Export your content. In Ghost Admin, go to Settings, find the Import/Export option, and export your content.
  2. Back up your files and database. Your hosting account is backed up daily with JetBackup, but take your own copy before a major update. See Importing and exporting a MySQL database.
  3. Check your theme is compatible with the new Ghost version, especially for major updates.

If you installed Ghost with Ghost-CLI, connect to your account with SSH, go to your Ghost folder and run:

Terminal window
cd ~/path-to-your-ghost-site
ghost update

Ghost-CLI downloads the new version, updates your site and restarts it. If something goes wrong, you can return to the previous version with:

Terminal window
ghost update --rollback

For full instructions, including major version upgrades, see the official Ghost update guide.

If you’re not sure how Ghost was installed on your account, contact support before updating.

Cette page vous a-t-elle aidé ?