Upgrade from Concrete5.7.5.13 to 8.1.0 times out

Permalink 1 user found helpful
I've downloaded the recent version of Concrete5 8.1.0 and uploaded/unzipped it into updates directory. When I then upgrade through the dashboard, installation of C5 times out and I get an internal 500 server error. Unfortunately, my hoster allows only a max_execution_time of 60 seconds. Therefore, I tried to replace the concrete folder and upgrade through ssh, but I read that this wouldn't be possible with C5.7 and I got this error message: "Could not open input file: /path/to/my/concrete5-site/concrete5.php". Could anybody give me advice?

 
aZuL2001 replied on at Permalink Reply
aZuL2001
Replacing the core doesn't upgrade the database.
There should be an url for that.
Rennsemmel replied on at Permalink Reply
Yes, this ishttp://www.yoursite.com/ccm/system/upgrade... but when I access this site, Concrete5 says, that it runs on the latest version and doesn't need to upgrade.
hostco replied on at Permalink Reply
hostco
"As of version 8 replacing the concrete directory and visiting any page on the site will transparently upgrade the site and its database to the proper version."

See here

https://www.concrete5.org/developers/bugs/8-1-0/upgrade-concrete5-8....
Rennsemmel replied on at Permalink Reply
This is right for Version 8 but also for 5.7? This is the issue. I am still using 5.7 and want to upgrade to Version 8.
madesimplemedia replied on at Permalink Best Answer Reply
madesimplemedia
I'd get rid of the versions in the updates directory.
Rename the old concrete5 directory, add the new one and go to that update link.
Rennsemmel replied on at Permalink Reply
This might be my mistake. As I swapped the concrete directory, I didn't delete the concrete directories in the update folder. I'll try that and post the result.
Rennsemmel replied on at Permalink Reply
Many thanks for this tip and the information you all gave me. After deleteing the concrete folders in the updates directory, I was able to upgrade to 8.1. I also had to delete the update.php file in application/config and then hit the upgrade link (/ccm/system/upgrade) another time because the timeout error returned.
TRRosen replied on at Permalink Reply
If you can, I would just rebuild the site on a clean 8.1 build.
8.1 is worth it. The 7 to 8 upgrade still seems a bit finicky. but a rebuild really helps you clean up stuff. you'll also realize a lot of stuff you should have done differently. A lot of work but worth it in the long run.
Rennsemmel replied on at Permalink Reply
Yes, I thought of that too and tried that already. Annoyingly, on a fresh install I also got the timeout error. If madesimplemedia's advice won't work, I have to install Concrete5 locally and migrate it to the server. Another issue that kept me from a fresh install, are my frontend users and their private messages. Therefore, I would have to export and import the database entries.
HarryVienna replied on at Permalink Reply
HarryVienna
Hello,

I also had some strange problems while updating from 5.7 to 5.8

I did this:

Install XAMPP on your PC, copy the site to your PC, make a backup of the database and import on your PC. I had to do minor changed in some config file (database login, url...) but then I had a working copy.

Now you can do the update on your PC. If all works, copy the files back, export your database (mysqldump) and import on your server.

Worked perfect for me. But you need ssh access to you server. The big advantage is, you can try the update without risk to damage your original installation.

Cheers,
Harald