Nextcloud News
Product 🌐 English

Nextcloud Updates Require Sequential Version Upgrades

A new guide details the safe process for updating Nextcloud, emphasizing the importance of backups and adhering to a strict one-version-at-a-time upgrade rule.

Nextcloud updates necessitate a careful process to prevent data loss and ensure stability, according to a recent guide. The update process involves backing up the database, configuration, and data directories, and choosing between a web-based updater, command-line tool, or Docker container method depending on instance size.

A critical rule is to update Nextcloud one major version at a time; skipping versions can lead to database corruption and leave the instance stuck in maintenance mode. The guide provides specific commands for database backups using MySQL, MariaDB, or PostgreSQL, and outlines the importance of verifying PHP versions before proceeding.

The guide also details the process of using the web-based updater for smaller instances, emphasizing the automatic disabling of third-party apps during the update and the need to re-enable compatible apps afterward. A real-world example highlights the consequences of skipping versions, resulting in a three-day recovery period from backups.

← Back to all news