Update manual_upgrade.rst

Update to Nextcloud instructions
This commit is contained in:
Jos Poortvliet 2016-06-14 17:25:49 +02:00 committed by GitHub
parent 5e9b4b2336
commit 5560c186e4

View File

@ -15,37 +15,34 @@ your HTTP user. This example is for Ubuntu Linux::
The other way is by entering your ``config.php`` file and changing
``'maintenance' => false,`` to ``'maintenance' => true,``.
1. Back up your existing Nextcloud Server database, data directory, and
1. Back up your existing Nextcloud or ownCloud Server database, data directory, and
``config.php`` file. (See :doc:`backup`.)
2. Download and unpack the latest Nextcloud Server release (Archive file) from
`owncloud.org/install/`_ into an empty directory outside
`nextcloud.com/install/`_ into an empty directory outside
of your current installation.
.. note:: To unpack your new tarball, run:
tar xjf owncloud-[version].tar.bz2
tar xjf nextcloud-[version].tar.bz2
.. note:: Enterprise users must download their new Nextcloud archives from
their accounts on `<https://customer.owncloud.com/owncloud/>`_
3. Stop your Web server.
4. Rename your current Nextcloud directory, for example ``owncloud-old``.
4. Rename your current ownCloud or Nextcloud directory, for example ``owncloud-old``.
5. Unpacking the new archive creates a new ``owncloud`` directory populated
5. Unpacking the new archive creates a new ``Nextcloud`` directory populated
with your new server files. Copy this directory and its contents to the
original location of your old server, for example ``/var/www/``, so that
once again you have ``/var/www/owncloud``.
you have ``/var/www/nextcloud``.
6. Copy the ``config.php`` file from your old Nextcloud directory to your new
Nextcloud directory.
7. If you keep your ``data/`` directory in your ``owncloud/`` directory, copy
it from your old version of Nextcloud to your new ``owncloud/``. If you keep
it from your old version of Nextcloud to your new ``nextcloud/``. If you keep
it outside of ``owncloud/`` then you don't have to do anything with it,
because its location is configured in your original ``config.php``, and
none of the upgrade steps touch it.
8. If you are using 3rd party applications, look in your new ``owncloud/apps/``
8. If you are using 3rd party applications, look in your new ``nextcloud/apps/``
directory to see if they are there. If not, copy them from your old ``apps/``
directory to your new one. Make sure the directory permissions of your third
party application directories are the same as for the other ones.
@ -74,8 +71,9 @@ permissions to your Nextcloud directories (:ref:`strong_perms_label`).
Previous Nextcloud Releases
--------------------------
You'll find previous Nextcloud releases in the `Nextcloud Server Changelog
<https://owncloud.org/changelog/>`_.
You'll find previous ownCloud releases in the `ownCloud Server Changelog
<https://owncloud.org/changelog/>`_ and previous Nextcloud releases in the
`Nextcloud Server Changelog <https://nextcloud.com/changelog/>`_.
Reverse Upgrade
---------------
@ -104,7 +102,7 @@ help::
sudo -u www-data php console.php files:scan --all
See `the owncloud.org support page <https://owncloud.org/support>`_ for further
See `the nextcloud.com support page <https://nextcloud.com/support>`_ for further
resources for both home and enterprise users.
Sometimes, Nextcloud can get *stuck in a upgrade*. This is usually due to the
@ -122,6 +120,6 @@ If this does not work properly, try the repair function::
sudo -u www-data php occ maintenance:repair
.. _owncloud.org/install/:
https://owncloud.org/install/
.. _nextcloud.com/install/:
https://nextcloud.com/install/