

Stop Cron Jobs systemctl stop cron Stop the Web Server systemctl stop apache2 Download the Latest ownCloud Server Release Now, if you try to access ownCloud, you will see a status informing you of the state. To enable maintenance mode, you can edit the /var/This can also be simply done by the use of occ command as shown below sudo -u www-data php /var/www/owncloud/occ maintenance:mode -on

ownCloud will also display the status on the web UI to let users know what is happening. This prevents new logins and locks the sessions of the logged in users. Nothing outdo a snap of the finger restore!! Enable ownCloud Maintenance Modeīefore you can proceed, put ownCloud on maintenance mode. NOTE: You can as well take a snapshot of the current state of your server so that you can always restore to it in case things go south. Now, if you check you home folder ls -l /home/amos/ĭrwxr-xr-x 17 amos amos 4096 Nov 30 17:09 owncloud This ensures that a copy is made with permissions preserved.īackup the ownCloud database mysqldump -u root -p owncloud > /home/amos/owncloud-`date +%F`.sql Manual ownCloud UpgradeĪs mentioned above, make the necessary backups as shown below īackup ownCloud server directory rsync -avpP /var/www/owncloud /opt/backups/
Owncloud data directory permissions how to#
In this guide, we are going to learn how to upgrade ownCloud using, of course, the recommended method, manual upgrade. Using Updater App in the case where admins have no command line access to the server.Using OS specific distribution package manager in conjunction with official ownCloud repositories.Manually upgrade method using the latest release ownCloud source code.There are three ways in which ownCloud server can be upgraded
Owncloud data directory permissions update#
Update and upgrade your server to ensure that other ownCloud mandatory requirements are updated. You can re-enable them after upgrade in case they are compatible. If any third party application is installed, review them for compatibility and disable them before upgrade.Make a backup of your ownCloud server data directory, config.php, 3rd party apps and ownCloud database.

