From 87c4b3a34677c5446844838b0eeea639ff22eed6 Mon Sep 17 00:00:00 2001 From: Fermulator Date: Sun, 14 Oct 2018 11:59:24 -0400 Subject: [PATCH 1/2] minor corrections to manual upgrade steps --- admin_manual/maintenance/manual_upgrade.rst | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/admin_manual/maintenance/manual_upgrade.rst b/admin_manual/maintenance/manual_upgrade.rst index 7a1c8c769..b8e116509 100644 --- a/admin_manual/maintenance/manual_upgrade.rst +++ b/admin_manual/maintenance/manual_upgrade.rst @@ -12,6 +12,8 @@ Always start by making a fresh backup and disabling all 3rd party apps. .. note:: To unpack your new tarball, run: unzip nextcloud-[version].zip + or + 3. Stop your Web server. @@ -19,11 +21,11 @@ Always start by making a fresh backup and disabling all 3rd party apps. 4. Rename your current Nextcloud directory, for example ``nextcloud-old``. 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 + with your new server files. Move 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/nextcloud``. -6. Copy the ``config.php`` file from your old Nextcloud directory to your new +6. Copy the ``config/config.php`` file from your old Nextcloud directory to your new Nextcloud directory. 7. If you keep your ``data/`` directory in your ``nextcloud/`` directory, copy @@ -36,6 +38,7 @@ Always start by making a fresh backup and disabling all 3rd party 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. + ## THIS APPS part IS INSUFFICIENTLY DOCUMENTED (needs better instructions) 9. Adjust file ownership and permissions:: @@ -45,11 +48,13 @@ Always start by making a fresh backup and disabling all 3rd party apps. 10. Restart your Web server. -11. Now launch the upgrade from the command line using ``occ``, like this +11. Now launch the upgrade from the command line using ``occ``, like this example on Ubuntu Linux:: sudo -u www-data php occ upgrade + (!) this MUST be executed from within your nextcloud installation directory + 12. The upgrade operation takes a few minutes to a few hours, depending on the size of your installation. When it is finished you will see a success message, or an error message that will tell where it went wrong. From d130e575664b5d7d57fc60611dad93bbf8b7b548 Mon Sep 17 00:00:00 2001 From: Fermulator Date: Sun, 14 Oct 2018 12:02:00 -0400 Subject: [PATCH 2/2] add tar.gz2 example to manual upgrade steps --- admin_manual/maintenance/manual_upgrade.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin_manual/maintenance/manual_upgrade.rst b/admin_manual/maintenance/manual_upgrade.rst index b8e116509..c1c4fef92 100644 --- a/admin_manual/maintenance/manual_upgrade.rst +++ b/admin_manual/maintenance/manual_upgrade.rst @@ -13,7 +13,7 @@ Always start by making a fresh backup and disabling all 3rd party apps. .. note:: To unpack your new tarball, run: unzip nextcloud-[version].zip or - + tar -xjf nextcloud-[version].tar.bz2 3. Stop your Web server.