Legacy upgrade looking for /application directory which doesn't exist

Permalink 1 user found helpful
I am attempting to upgrade a legacy version of C5 to Concrete 5.7.3 and I am following the instructions onhttps://documentation.concrete5.org/developers/installation/upgradin...

When I replace my concrete directory with the concrete directory from the download I get the error below.

There is no /application directory on my system at all. Is this a config error?

Warning: include(/home/vol3_3/crmpicco.co.uk/htdocs/application/bootstrap/autoload.php): failed to open stream: No such file or directory in /home/vol3_3/crmpicco.co.uk/htdocs/concrete/bootstrap/autoload.php on line 8

Warning: include(): Failed opening '/home/vol3_3/crmpicco.co.uk/htdocs/application/bootstrap/autoload.php' for inclusion (include_path='/home/vol3_3/crmpicco.co.uk/htdocs/concrete/vendor:.:/usr/share/pear/') in /home/vol3_3/crmpicco.co.uk/htdocs/concrete/bootstrap/autoload.php on line 8

Fatal error: Uncaught Error: Class 'Symfony\Component\ClassLoader\MapClassLoader' not found in /home/vol3_3/crmpicco.co.ukhtdocs/concrete/src/Foundation/ClassLoader.php:34

crmpicco
View Replies: View Best Answer
Gondwana replied on at Permalink Reply
Gondwana
5.7 is not backward compatible with 5.6, so that process won't work. There is a script that attempts to undertake some of the upgrade work from 5.6 to 5.7; see
https://www.concrete5.org/community/forums/customizing_c5/5.6-to-5.7...
...but, unless your site is very vanilla, a fair bit of manual work will also be required.
crmpicco replied on at Permalink Reply
crmpicco
Thanks. Is there a way to take just the content from an old 5.6 site to a newer version? I'm not convinced that script will allow me to migrate and I am not familiar enough with the Concrete 5 code base to hack it back in to business.

What has happened is my host has upgraded to PHP 5.6 or 5.7 and now my Concrete 5 site is borked. If I knew of a free host that would support Concrete 5.6 then I'd shift over but I don't know of any.

It's a real pita as I haven't looked at C5 code for a long time and I haven't been following the project so the client who's site is currently in maintenance mode is stuck with no site 😕

Regards,
Craig R Morton
http://www.crmpicco.co.uk

Sent from my iPhone

> On 9 Apr 2017, at 15:21, concrete5 Community <[email protected]> wrote:
Gondwana replied on at Permalink Reply
Gondwana
I think that script is the only thing that comes close, short of basically recreating the site from scratch.

Your host may be willing to downgrade your php version for a limited amount of time to allow you to back up your current site and give the script a go. You may even be able to select the php version you want if your hosting gives you CPanel.

Another option might be to copy your 5.6 site to another host (free trial?) that lets you set the php version. Then try the script. If successful, save the 5.7 version thus created and install it on your original host.

Or maybe you could sweet-talk someone else who has such a host into doing it for you, or giving you access.

Dunno if it could be done using a LAMP/WAMP/XAMP installation on your own computer.

I've never used 5.6 nor that script; hopefully someone who knows what they're talking about will be along soon. :)

Whatever you do, keep your current backup safe, and take another backup of your current site before doing anything else to it.
hutman replied on at Permalink Best Answer Reply
hutman
I have used this package before and it's nothing magic, all it does is creates an XML file with your site's content. You then need to start with a blank 5.8 site, theme, and any blocks you had on the old site you want to continue using then you can run the import on the new site and it will create the pages with the content (the content of the blocks that are on this site as well as the old one).

Depending upon how large the site is, it might be easier to copy/paste the content from the old site into a new blank site.
crmpicco replied on at Permalink Reply
crmpicco
The upgrade of Concrete 5.5 was proving to be a nightmare so I asked my host to rollback my PHP version to 5.6. Luckily the cPanel allowed me to do it.