be consistent and make sure occ can run

This commit is contained in:
Martin Mazur
2016-09-21 23:44:10 +02:00
committed by GitHub
parent e0a3d04d5f
commit a707684f80

View File

@@ -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.