How to upgrade Nextcloud
Before upgrading Nextcloud, we will check for any updates to our installed apps.
- Start by logging in with an admin account.
- Click your Avatar > Apps.
- Select Updates in the left pane (only visible if updates are available).
- Click the Update button for individual apps, or Update all.
Note that if you don't update Apps in this step, they should be updated as part of the process below.
It's also a good time to see if there are any files that have been locked but not reported.
Nextcloud has its own built-in updater. The update process includes checking for any 'unknown' files or folders. You will need to remove any that are discovered before the upgrade can go ahead.
- Go to the Settings page (click your avatar, top-right).
- Select Administration > Overview in the left pane.
- Check to see if All apps have update for this version available.
- Click the Open updater button.
- Click Start update.
- Click the No (for usage of the web based updater) button.
- Click Go back to your Nextcloud instance to finish the update.
- Make a note of information on this screen.
- Click the Start update button to apply the update to your database.
If you are using a theme, you will need to edit the config/config.php file in order to reinstate it. Additionally the .htaccess file gets overwritten as part of the upgrade process, so you will need to add in the settings to force SSL.
The default favicon at /core/img/favicon.ico will get overwritten and don't forget to move back any files or folders that you might've removed as part of the upgrade process.
This upgrade process creates a backup directory that you can visit and remove any older backups that you no longer need. Depending on your instance, these backup directories can take up a considerable amount of space.
Thanks for visiting.