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.
Why updates matter
Section titled “Why updates matter”- 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.
Before you update
Section titled “Before you update”- Export your content. In Ghost Admin, go to Settings, find the Import/Export option, and export your content.
- 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.
- Check your theme is compatible with the new Ghost version, especially for major updates.
Update with Ghost-CLI
Section titled “Update with Ghost-CLI”If you installed Ghost with Ghost-CLI, connect to your account with SSH, go to your Ghost folder and run:
cd ~/path-to-your-ghost-siteghost updateGhost-CLI downloads the new version, updates your site and restarts it. If something goes wrong, you can return to the previous version with:
ghost update --rollbackFor 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.
Related articles
Section titled “Related articles”Cette page vous a-t-elle aidé ?
Merci pour votre retour.