I’ve got a site running 2.1.3 and I spent a lot of time preparing the files for the upgrade to 2.5.2 - updating the system file but making sure the 3rd party folders, themes directories, index, admin, config and database files etc were all included and pointing to the right places where relevant.
I did all of this in a local directory and then uploaded that to the server root. I took the site offline, and to run the update I switched the existing site directory and the new one so that a) I still had the original site files and b) it should have been a quick, straightforward update(!)
As soon as I switched the folders over I got a 500 error on the index page, but the admin side of things worked ok and the installer kicked in to run the update. I wasn’t sure what caused the 500 error but thought it might be that the old database structure somehow wasn’t compatible with the new index file. I ran the update and that went fine, but as soon as it finished and I removed the installer file I started getting 500 errors on both the front and back end. At this point panic started setting in… 😊
I’ve reverted all site files and the database to their previous 2.1.3 state and the site is back up ok, but I don’t really know how to progress this - because of the unhelpful nature of the 500 error I don’t know what’s causing it - whether it’s a 3rd party addon that needs updating, or something else that I could prepare for. I tried commenting out the htaccess file to see if that was the problem, but it made no difference.
I’m trying to get a local version of the site running on my laptop so that I can do all the upgrade work locally, but if anyone has experience of this happening to them or can offer any more robust update advice I’d be most grateful!