|
2 | 2 | How to upgrade |
3 | 3 | ============== |
4 | 4 |
|
5 | | -There are three ways to upgrade your Nextcloud server: |
6 | | - |
7 | | -* With the :doc:`Updater <update>`. |
8 | | -* :doc:`Manually upgrading <manual_upgrade>` with the Nextcloud ``.tar`` archive |
9 | | - from our `Download page <https://nextcloud.com/install/>`_. |
10 | | -* :doc:`Upgrading <package_upgrade>` via the snap packages. |
11 | | -* Manually upgrading is also an option for users on shared hosting; download |
12 | | - and unpack the Nextcloud tarball to your PC. Delete your existing Nextcloud |
13 | | - files, except ``data/`` and ``config/`` files, on your hosting account. Then |
14 | | - transfer the new Nextcloud files to your hosting account, again |
15 | | - preserving your existing ``data/`` and ``config/`` files. |
16 | | - |
17 | | -When an update is available for your Nextcloud server, you will see a |
18 | | -notification at the top of your Nextcloud Web interface. When you click the |
19 | | -notification it brings you here, to this page. |
20 | | - |
21 | | -**It is best to keep your Nextcloud server upgraded regularly**, and to install |
22 | | -all point releases and major releases. |
23 | | -Major releases are 18, 19 or 20. Point releases are intermediate releases for each major release. For example 18.0.4 and 19.0.2 are point releases. |
| 5 | +Overview |
| 6 | +-------- |
| 7 | + |
| 8 | +The approach used to upgrade your Nextcloud Server depends on your installation type. This |
| 9 | +manual mainly focuses on the methods that apply to an Archive based installation. If you installed |
| 10 | +using Snap, Docker, a pre-built VM, or a package management tool then refer to the installation |
| 11 | +and update instructions for that installation method for the most accurate upgrading inststructions |
| 12 | +(generally located at the distribution point for the install method you chose). |
| 13 | + |
| 14 | +There are two ways to upgrade an Archive based Nextcloud Server deployment: |
| 15 | + |
| 16 | +* With the :doc:`Built-in Updater <update>` (via the web or command-line interfaces). |
| 17 | +* :doc:`Manually upgrading <manual_upgrade>` (using a downloaded Archive file) |
| 18 | + |
| 19 | +The Built-in Updater, in either Web or command-line mode, is the easiest choice for most environments. |
| 20 | +However some environments require the manual approach. Both approaches are covered fully here. |
| 21 | + |
| 22 | +.. important:: |
| 23 | + Before upgrading, especially between major versions (e.g. v27.y.z -> v28.y.z) please review |
| 24 | + :ref:`critical changes<critical-changes>` first. These are highlights of changes that may be required |
| 25 | + in your environment to accomodate changes in Nextcloud Server. These notes are periodically revised as |
| 26 | + needed so it is also a good idea to revisit them periodically, such as when proceeding with maintenance |
| 27 | + upgrades. |
| 28 | + |
| 29 | +When an update is available for your Nextcloud server, by default you will receive |
| 30 | +a notification. You can also check for available updates by visiting the Update section under |
| 31 | +**Administration settings->Overview** in the Web UI. |
| 32 | + |
| 33 | +.. note:: |
| 34 | + It is best to keep your Nextcloud server upgraded regularly. This means installing all maintenance/point releases |
| 35 | + and upgrading to new major releases before your current one reaches :doc:`end-of-life</release_schedule>` status. |
| 36 | + Examples of major releases are 27, 28, or 29. Maintenance releases are intermediate releases for each |
| 37 | + major release that address critical functionality or security bugs. For example 28.0.4 and 29.0.2 are maintenance |
| 38 | + releases. |
| 39 | + |
| 40 | +Approaching Upgrades |
| 41 | +-------------------- |
24 | 42 |
|
25 | 43 | Nextcloud must be upgraded step by step: |
26 | 44 | * Before you can upgrade to the next major release, Nextcloud upgrades to the latest point release. |
@@ -131,4 +149,4 @@ Those include for example:: |
131 | 149 | $ sudo -u www-data php occ db:add-missing-indices |
132 | 150 | $ sudo -u www-data php occ db:add-missing-primary-keys |
133 | 151 |
|
134 | | -You can use the ``--dry-run`` option to output the SQL queries instead of executing them. |
| 152 | +You can use the ``--dry-run`` option to output the SQL queries instead of executing them. |
0 commit comments