From a707684f80159b0b7488c3e6b8d94be21f3e2f00 Mon Sep 17 00:00:00 2001 From: Martin Mazur Date: Wed, 21 Sep 2016 23:44:10 +0200 Subject: [PATCH] be consistent and make sure occ can run --- admin_manual/maintenance/manual_upgrade.rst | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/admin_manual/maintenance/manual_upgrade.rst b/admin_manual/maintenance/manual_upgrade.rst index 77950e507..cf1cc0037 100644 --- a/admin_manual/maintenance/manual_upgrade.rst +++ b/admin_manual/maintenance/manual_upgrade.rst @@ -47,15 +47,21 @@ The other way is by entering your ``config.php`` file and changing 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. + +9. Adjust file ownership and permissions -9. Restart your Web server. + chown -R www-data:www-data nextcloud + find nextcloud/ -type d -exec chmod 750 {} \; + find nextcloud/ -type f -exec chmod 640 {} \; -10. Now launch the upgrade from the command line using ``occ``, like this - example on CentOS Linux:: +10. Restart your Web server. + +11. Now launch the upgrade from the command line using ``occ``, like this + example on Ubuntu Linux:: - sudo -u apache php occ upgrade + sudo -u www-data php occ upgrade -11. The upgrade operation takes a few minutes to a few hours, depending on the +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.