5.7.0.4 upgrading

Permalink
Can we upgrade from 5.7.0.3 to 5.7.0.4 by copying the new concrete directory up and running something by url like we could in 5.6. I have been doing fresh installs up until now, but have one site I would like to upgrade, but I don't like filling the upgrade directory with lots of files.

thanks

pvernaglia
 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Good question, I've been doing the same thing.
Mnkras replied on at Permalink Best Answer Reply
Mnkras
Ok, so there are 2 answers,

if you installed with 7.0.3 to get to 7.0.4 you can simply remove the old concrete directory and paste in the new one like you could previously, and then navigate to
index.php/ccm/system/upgrade


if you installed a version previous to 7.0.3 and upgraded to that due to a bug you also have to edit a file before visiting the url.

open /application/config/generated_overrides/concrete.php

in the array, add:
'version_installed' => '5.7.0.3',

so the file will look something like:

<?php
/**
 * -----------------------------------------------------------------------------
 * Generated 2014-09-30T18:20:51-04:00
 * @item      version_installed
 * @group     concrete
 * @namespace null
 * -----------------------------------------------------------------------------
 */
return array(
    'site' => 'Testing',
    'version_installed' => '5.7.0.3',
    'misc' => array(
        'access_entity_updated' => 1412114988,
        'latest_version' => '5.6.3.1',

(it may not look exactly like that, the important line is the version_installed)

once that line is in place you can then visit the url like normal to upgrade.

Mike
pvernaglia replied on at Permalink Reply
pvernaglia
I get "Access Denied" when I run
index.php/ccm/system/upgrade
Mnkras replied on at Permalink Reply
Mnkras
Are you logged in on the site?
pvernaglia replied on at Permalink Reply
pvernaglia
dang, my log in must have timed out, re-logged in and it worked, thanks