Update 1.7.8 --> 1.8.1 Problem / Stops at Point 43 Upgrade Layouts

Hello,

I try to Update 1.7.8 → 1.8.1

The Update process stops at Point 43 Upgrade Layouts (Takes infinitely long)

the Log file entries

Does anyone have a solution for me?

Sorry, i’m going to have to ask you to add some additional logging if possible

Can you edit lib/Upgrade/LayoutStructureStep.php on Line#161, add a new line with this content:

$this->log->error($e->getTraceAsString());

And then rerun the upgrade? I hope this will give us more information.

Is this ok?

Info:
Windows Server 2012 R2
IIS
PHP 5.6.30

The log message would imply that it is erroring when logging an audit message when saving one of the regions in one of the layouts it is trying to upgrade.

I don’t really see why.

Can you change

$this->log->error($e->getTraceAsString());

to

$this->log->error($e->getMessage() . ' - ' . $e->getTraceAsString());

better?

Sorry I just found that I did not use the version 1.7.7 as in the heading 1.7.8
I hope that makes no difference

Hello,

I’ve deleted some old unused layouts.

Now I have a new error.

Are you starting from a working 1.7.7 each time? It seems to me that part of the upgrade has already run (i.e. the table already exists because its been created by a previous upgrade attempt).

You can skip that step and see how far you get - but it might be sensible to go back to 1.7.7, delete the layouts you don’t need, and then upgrade from fresh.