Upload upgraded MySql schema, data directory, and installation directory back to server.Stop the server and revert the changes in oc/config/config.php and oc/lib/base.php.Start apache server and check whether everything is OK.Wait until it finishes, which took around 12 hours and more than 7 gigs of memory in my case.Change time out value from 3600 to 0 (no timeout) in oc/lib/base.php.Open the URL in browser to check whether the owncloud installation works, do not start the upgrade since you cannot monitor it.Restore encryption backup files as described here.Update the database and directory information in oc/config/config.php and also turn off maintenance mode.Create a schema and a user on the local MySql server and execute/import the dump.Get a dump of the MySql database on the server.Download owncloud installation folder, which resides probably under ~/public_html/ or /var/.Change the group ownership of data to www-data, give group read write permission to all of the sub-directories, and give execute permission for all ( a+x) to its parent directories.Download owncloud data folder, I’ll call this folder data.Install Apache, MySql, and PHP on my local computer, addressing the requirements for an owncloud install.I’ve decided to do the update on my local computer and then redeploy the owncloud installation. Apparently, power of the poor shared hosting machine that I use is not enough to complete in time limits. The cause of the problem is that all of the encryption keys should be updated (renamed) and this takes time. But after a couple of days this issue hits the first page. During a few days after first the release, search engines did not give me any clue about the problem. I’ve tried to restart the update a few times but it stuck every time. The upgrades by Softaculous have never been a problem but in this instance it took so long, it didn’t even finished. I’ve tried to upgrade my owncloud installation from version 7 to version 8.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |