8.4.0 Uprgade Fails

Permalink
Trying to upgrade from 8.3.1 to 8.4.0 and get this message on the update

An unexpected error occurred.
Cannot override final method Concrete\Core\Updater\Migrations\AbstractMigration::up()

Same on two sites

Did 4 other sites from 8.3.2 to 8.4.0 and no problems

View Replies: View Best Answer
mlocati replied on at Permalink Reply
mlocati
How did you upgrade concrete5? Replacing the concrete directory?
captshaw replied on at Permalink Reply
All where done with softaculous, on TMDHosting Service.
captshaw replied on at Permalink Reply
I go the same error when I tried to go from 8.3.1 to 8.3.2, spent hours with TMDHosting and they said it was a Concrete5 Issue, so I hoped that 8.4.0 would over come the problem.
mlocati replied on at Permalink Reply
mlocati
To see what's going wrong we'd need the contents of the /concrete directory, the /updates directory and (if they exist) the /composer.json and /composer.lock files.

These files shouldn't contain any sensitive data, so you can post here a zip file containing them. Of course if you prefer you can send me a private message.
mlocati replied on at Permalink Best Answer Reply
mlocati
@captshaw sent me the concrete directory via a PM.

BTW that directory contains very malformed files. It seems that the upgrade procedure of softaculous is really broken: the concrete directory contains files from older versions that have been removed in newer versions, and some other files have not been updated to the recent versions.

What I'd do is:
1. delete the /concrete directory
2. delete the /composer.json and /composer.lock files
3. download concrete5 8.4.0 ZIP archive from the concrete5.org website
4. extract from it the /concrete directory and the /composer.json and /composer.lock files
5. upload those 3 elements to the web server

That would solve the problem. BTW someone should contact softaculous about this issue...
cristi78 replied on at Permalink Reply
I'm also planning to use Softaculous to upgrade from 8.3.2 to 8.4.0.
@captshaw said that were no problems with the upgrade on 4 of his sites but I wonder if the upgrade script is doing 100% the right thing.

If possible, I kindly ask @captshaw and @mlocati to also check the concrete folder from a site that went from 8.3.2 to 8.4.0.

Thanks.
mlocati replied on at Permalink Reply
mlocati
> If possible, I kindly ask @captshaw and @mlocati to also check the concrete folder from a site that went from 8.3.2 to 8.4.0.

It's quite easy: simply download the /concrete folder from your website (or the 8.4.0 folder in /updates folder if present), and compare it with the one you can download fromhttp://www.concrete5.org.
To compare folders you can use WinMerge (on Windows) FileMerge (on Mac) or Meld.
cristi78 replied on at Permalink Reply
Oh, I did not update my site yet. I can not afford a site outage during this week and the next one - it's the site of the company I work for and it must be accessible, at least during daytime. Eventually, I will get to update the site at the end of this month.

For now, I was hoping that @captshaw will provide you with the concrete folder from one of the working sites he updated from 8.3.2 to 8.4.0, if it's not too much trouble.
Or, if the upgrade for 4 of his sites went well, can assume that the Softaculous update script is working properly?

I searched today the Softaculous forums but didn't find anything C5 related...

Thanks.
captshaw replied on at Permalink Reply
I will try this as soon as I get a chance, Thank you.