How to upgrade Nextcloud

nextcloudNew versions of Nextcloud are released on a regular basis.  This article describes how to upgrade to the latest version (I'm using Nextcloud 13 at the time of writing).

Built-in Updater

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.

  1. Go to the Settings page (click your avatar, top-right).
  2. Select Administration > Overview in the left pane.
  3. Click the Open updater button.
  4. Click Start update.
  5. Click the No (for usage of the web based updater) button.
  6. Click Go back to your Nextcloud instance to finish the update.
    1. Make a note of information on this screen.
  7. Click the Start update button to apply the update to your database.


Tidying up

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 might decide to edit this file, for improved security and you will need to add in the settings to force SSL.

The default favicon at /core/img/favicon.ico will get overwritten.

Finally don't forget to move back any files or folders that you might've removed as part of the upgrade process.


Thanks for visiting.