Fatal error: Class 'LibraryFileBlockController' not found in /updates/concrete5.6.3.2/concrete/helpers/concrete/upgrade/version_500b1.php on line 40

Permalink
I have just tried updating an old site to the latest version. But I keep running into this error.

I have tried to update to 5.6.2.1, 5.6.3, 5.6.3.1 & 5.6.3.2.. every time and every version produces the same result above (identical result every time...). This happens regardless of whether I try a manual core replacement and force the update, or put the new versions in "updates" and update, or whether I update via downloading from the dashboard.

Really struggling to figure out what this is...!

Ive downloaded a copy of 5.6.1.2, clean install, update through dashboard to 5.6.3.1 (most current avail in dashboard today..) and no problems at all.

jpcharrier
 
A3020 replied on at Permalink Reply
A3020
Do a manual core replacement.

Then go to /helpers/concrete/upgrade/version_500b1.php and uncomment lines 39, 40 and 41.
jpcharrier replied on at Permalink Reply
jpcharrier
I have tried a manual core replacement.

Lines 39, 40 & 41 are not commented out in file (both in original core, and updated core). Here they are below...

/ concrete / helpers / concrete / upgrade / version_500b1.php
39:   Loader::block('library_file');
40:   $bl = new LibraryFileBlockController();
41:   $bl->populateOriginalFilenames();


/ updates / concrete5.6.3.2 / concrete / helpers / concrete / upgrade / version_500b1.php
39:   Loader::block('library_file');
40:   $bl = new LibraryFileBlockController();
41:   $bl->populateOriginalFilenames();


I've managed to get this one to work... Although immediately after the upgrade it threw the error, but when I went to the root url "/" it didnt give me an error anymore and a check in the Environment Information confirmed it was now on 5.6.3.2.

But it still concerns me that the error came up, and revisiting the manual upgrade URL would cause the error to come up again.
A3020 replied on at Permalink Reply
A3020
Oh yeah, sorry, I meant 'comment' instead of 'uncomment' ;) The file_library block has been removed in later versions. That's why the BlockController couldn't be found.
jpcharrier replied on at Permalink Reply
jpcharrier
Ahh ok... Ive done that but then it threw another error in version_520.php

Im now also getting an error trying to visit the sitemap
mysqlt error: [1146: Table 'tamaki.queues' doesn't exist] in EXECUTE("select queue_id from Queues where queue_name = 'copy_page' LIMIT 1")


This upgrade has not gone well!