![]() ![]() Sudo -u daemon /opt/bitnami/bin/php /opt/bitnami/apps/owncloud/htdocs/occ maintenance:mode -on Upgrade Only OwnCloud In The Bitnami OwnCloud Stack (Manually) That’s it! You updated the application! You can find more information about the Upgrade process at the ownCloud official documentation. Sudo chown -R daemon /opt/bitnami/apps/owncloud/htdocs/config /opt/bitnami/apps/owncloud/htdocs/apps Sudo chmod 444 /opt/bitnami/apps/owncloud/htdocs/.user.ini Sudo chown -R bitnami /opt/bitnami/apps/owncloud/htdocs/ If the upgrade works well, restore the permissions of your folder.Run the upgrade process from the admin panel by navigating to “Settings -> General -> Updater -> Open Updater” and running the upgrade process.Sudo chmod 644 /opt/bitnami/apps/owncloud/htdocs/.user.ini Sudo chown -R daemon /opt/bitnami/apps/owncloud/htdocs/ Before running the “Updater” app, run the following commands to change the owner of the files in your installation:.For security reasons, ownCloud files do not have write access for the web server user, but this will be required if you want to upgrade the application. OwnCloud already ships an “Updater” tool installed that allows upgrading the ownCloud application from the admin panel directly. Upgrade Only OwnCloud In The Bitnami OwnCloud Stack (Admin Panel) Sudo /opt/bitnami/ctlscript.sh restart apache Sudo cp -rf ~/owncloud-backup/conf/ /opt/bitnami/apps/owncloud/conf/ Restore the Apache configuration files in the new ownCloud stack.Sudo chmod 664 /opt/bitnami/apps/owncloud/htdocs/config/config.php Sudo chown -R daemon:daemon /opt/bitnami/apps/owncloud/htdocs/config/ Sudo chown -R daemon:daemon /opt/bitnami/apps/owncloud/data/ Sudo cp -rf ~/owncloud-backup/config /opt/bitnami/apps/owncloud/htdocs/ ![]() Sudo cp -rf ~/owncloud-backup/data /opt/bitnami/apps/owncloud/data Restore the backup files in the new Bitnami ownCloud Stack.Sudo cat /opt/bitnami/apps/owncloud/htdocs/config/config.php | grep -oP "(? )('.*')" | xargs -I % sed -e "s/'dbpassword' => '.*'/'dbpassword' => '%'/g" -i ~/owncloud-backup/config/config.php To do so, use an editor to modify it manually or the commands below: Edit the backup ~/owncloud-backup/config/config.php file and change the dbpassword parameter using the new one that can be found in the new /opt/bitnami/apps/owncloud/htdocs/config/config.php file.Restore the database backup as described on the MySQL page.Log in to the new server console via SSH.Upload via SFTP the backup files and backup.sql to the new server.Launch a new ownCloud server with the latest version.Refer to the FAQ for more information on this. Download the backup files and backup.sql using SFTP.Sudo cp /opt/bitnami/apps/owncloud/htdocs/config ~/owncloud-backup Sudo cp -rf /opt/bitnami/apps/owncloud/conf/ ~/owncloud-backup Sudo cp -rf /opt/bitnami/apps/owncloud/data ~/owncloud-backup Copy the conf/, data and htdocs//config directories to your backup directory.Backup the bitnami_owncloud database as described on the MySQL page.Create a directory to save all the data you need to backup.Please check our FAQ for instructions on how to connect to your server through SSH. Upgrade OwnCloud And All Stack Components (Recommended) ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |