Unable to upgrade to 5.4.2.1

Permalink
Hey guys,

I'm trying to upgrade a clients concrete5 site but am getting the following weird error:

"An Unexpected Error occurred while upgrading: No block found with the handle youtube found."

I've checked the blocks, and the YouTube block is there...the only thing out of place is we are overriding the view.php file of the YouTube block. I've tried removing the override but still get the same issue.

I don't suppose anyone has experienced anything similar? Any help would be appreciated.

Thanks,

Dan

 
Danives replied on at Permalink Reply
I think I've partially figured it out...

The database of the concrete5 site is over 20MB, and on checking the logs I found the following:

[Fri Sep 30 14:43:16 2011] [error] [client 90.211.75.11] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/sites/craveonmusic.com/public_html/updates/concrete5.4.2.1/concrete/libraries/3rdparty/Zend/Cache/Backend/File.php on line 656

I am assuming from this that perhaps the database script didn't finish fully and this is why its unable to find the youtube block handle. Is there a way to increase the maximum execution time?

Only issue now is on clicking upgrade it takes me instantly to that message, so I'm unsure how to do a complete/fresh install now...any help at all?

EDIT: Looks like the upgrade has 'partially' taken but not completed, but if I renamed the update package Concrete5 throws errors at me (or rather apache does in the logs) so I don't think I can revert it and come back...and I think the incomplete install is causing speed issues with the site.
MissMarvels replied on at Permalink Reply
MissMarvels
Hi,

I have the same problem. Also with a large database.
Did you find a solution?

Regards, Casper
12345j replied on at Permalink Reply
12345j
hey,
I submitted an addon that decreases the db size the other day. Its not apporved yet, but its going to be free and available athttp://www.concrete5.org/marketplace/addons/remove-old-page-version...
MissMarvels replied on at Permalink Reply
MissMarvels
Ok, thnx....

By the way... i did solve it by uninstalling the youtube add-on.. then the upgrade was fine.

But now the you-tube block is gone... and i do need it.

Any ideas on this one.
jelthure replied on at Permalink Reply
jelthure
just copy the "youtube" folder out of the core blocks folder "/concrete/blocks" folder and place it in the blocks folder in base directory of your install. then you can re-install it on the "Add Functionality" page in the dashboard.
sjee replied on at Permalink Reply
or even better and less work:

before you upgrade place the youtube block in /blocks , this way you don't have to uninstall and install it manually