Can't Update to 5.4.2 on Localhost?

Permalink 1 user found helpful
Hey guys,

So I copied a Concrete5 site (using rsync via SSH) from my webserver to my MAMP localhost setup. I want to update it from 5.4.1.1 to the newest version, and test that everything's working OK before I push it to the live server.

Everything works smoothly, but when I click the "The latest version of concrete5 is 5.4.2.1. You are running 5.4.1.1. Update Now!" button, I am taken to the updates page, where it says "Update concrete5 You are currently up to date!"

What gives? When I view the update page on the live webserver I see the button to download the update...

 
JohntheFish replied on at Permalink Reply
JohntheFish
You can manually add the update.
- Download the 5.4.2.2 zip
- create a folder: site_root/updates/concrete5.4.2.2/
- unpack the zip so you get site_root/updates/concrete5.4.2.2/concrete
- edit your existing site_root/config/site.php so the last line is:
?><?php define('DIRNAME_APP_UPDATED', 'concrete5.4.2.2');?>

with no space or return after the closing ?<. (for some inexplicable reason it can sometimes give problems if it is not absolutely last in the file)

Now, when C5 runs, it will use the folder site_root/updates/concrete5.4.2.2/concrete/ instead of site_root/concrete/ for all the C5 system files.

If you want to get back to 5.4.1.1, just delete the update line.