3.2.1 to 3.2.2 update timeout

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
User avatar
Marc
Development Team Leader
Development Team Leader
Posts: 5289
Joined: Tue Oct 30, 2007 10:57 pm
Location: Munich, Germany
Name: Marc
Contact:

Re: 3.2.1 to 3.2.2 update timeout

Post by Marc » Wed Jan 10, 2018 9:18 pm

bacon tacon wrote:
Tue Jan 09, 2018 9:56 pm
With the above in mind, I restored the phpBB Gallery extension and can now access ACP again.

Reverted to prosilver style and ran the update (with phpBB Gallery installed but disabled). Timeout exactly the same.

Restored database, logged into ACP, then deleted phpBB Gallery and ran update again. Timeout exactly the same.

Despite editing merge_duplicate_bbcodes.php, I'm still getting the error:
mod_fcgid: stderr: PHP Fatal error: Uncaught Error: Call to a member function get() on null in .../install/update/new/phpbb/db/migration/data/v32x/merge_duplicate_bbcodes.php:49

Plus: mod_fcgid: stderr: PHP Fatal error: require(): Failed opening required './ext/phpbbgallery/core/event/main_listener.php' (include_path='.:/usr/local/php7/lib/php') in ...phpBB/phpbb/class_loader.php on line 160


Clearly part of the problem is with the extension - I'll contact the author for help.
This message seems to relate to a known issue in 3.2.2. Please take a look at this sticky topic:
viewtopic.php?f=556&t=2453611
Quickedit for phpBB 3.1
I'm available for custom work - just send me a PM for a quote.

User avatar
bacon tacon
Registered User
Posts: 222
Joined: Sun Oct 27, 2002 8:17 pm
Contact:

Re: 3.2.1 to 3.2.2 update timeout

Post by bacon tacon » Wed Jan 10, 2018 9:33 pm

Thanks Marc - yes I applied those fixes before the update but it still threw Fatal error: Uncaught Error: Call to a member function get() on null in .../install/update/new/phpbb/db/migration/data/v32x/merge_duplicate_bbcodes.php:49

I've reverted back to 3.2.1 but will try updating again when problems with the phpBB Gallery extension are sorted.

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 20784
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: 3.2.1 to 3.2.2 update timeout

Post by RMcGirr83 » Fri Jan 12, 2018 9:30 am

bacon tacon wrote:
Tue Jan 09, 2018 5:20 pm
Must admit I didn't know extensions had to be disabled before updating.
They don't.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
warmweer
Registered User
Posts: 963
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

Re: 3.2.1 to 3.2.2 update timeout

Post by warmweer » Fri Jan 12, 2018 10:47 am

RMcGirr83 wrote:
Fri Jan 12, 2018 9:30 am
bacon tacon wrote:
Tue Jan 09, 2018 5:20 pm
Must admit I didn't know extensions had to be disabled before updating.
They don't.
To be honest, I've only found a document stating that extensions should be disabled before upgrading. I take that in the broadest sense possible, implying that (for myself) I also disable all extensions before any update. ( and that's the advice I always give).

That advice can't do any harm but if if truly isn't necessary then I shouldn't be giving it (but I will continue to disable extensions on my board when updating).
A bug is a feature that hasn't made it to the manual (yet)

Euler13
Registered User
Posts: 5
Joined: Sat Feb 04, 2017 2:05 pm

Re: 3.2.1 to 3.2.2 update timeout

Post by Euler13 » Fri Jan 12, 2018 10:34 pm

I've changed dbms from mysql to mysqli.
I've changed $enabled_styles = $result->fetch_array(); to $enabled_styles = $this->db->sql_fetchrowset($result); in /install/update/new/phpbb/db/migration/data/v32x/fix_user_styles.php

Now I'm getting PHP Fatal error: Call to a member function get() on null in /install/update/new/phpbb/db/migration/data/v32x/merge_duplicate_bbcodes.php on line 49

Maybe in the past I've only updated after major disasters in the past have happened and I've been completely oblivious to them, but I've been using phpBB for years and years and I've never seen anything quite like this before. How can an update so broken be released? Currently I have a board dead in the water.

Has anyone found a fix for this?

Euler13
Registered User
Posts: 5
Joined: Sat Feb 04, 2017 2:05 pm

Re: 3.2.1 to 3.2.2 update timeout

Post by Euler13 » Fri Jan 12, 2018 10:43 pm

I found a fix in another thread...

Change:
class merge_duplicate_bbcodes extends \phpbb\db\migration\migration

to:

class merge_duplicate_bbcodes extends \phpbb\db\migration\container_aware_migration

This thread is very helpful: viewtopic.php?f=556&t=2453611, as it has all the fixes currently necessary to perform the upgrade. Terrible that we need to do this, but kudos to Marc for the super helpful post.

User avatar
Dzien Dobry
Registered User
Posts: 599
Joined: Thu Nov 08, 2001 3:55 pm

Re: 3.2.1 to 3.2.2 update timeout

Post by Dzien Dobry » Sat Jan 13, 2018 4:02 am

Fezroux wrote:
Tue Jan 09, 2018 3:00 am
I don't know if this will help your specific case, but editing the config.php file mentioned in that locked thread worked for me.

Find:

Code: Select all

mysql
And replace it with:

Code: Select all

mysqli
I also got this timeout error:
The installer detected a timeout

The installer has detected a timeout, you may try to refresh the page, which may lead to data corruption. We suggest that you either increase your timeout settings or try to use the CLI.
I don't mind trying to edit the config.php file. What would I do next?

User avatar
Tarantino
Registered User
Posts: 643
Joined: Sat Feb 18, 2012 1:51 pm
Contact:

Re: 3.2.1 to 3.2.2 update timeout

Post by Tarantino » Sat Jan 13, 2018 4:28 am

In my case, I had that problem since 3.1.0. But I'm on a shared host (A very good one) but since my database goes above 500Mb, I can only update locally. I know the installer should handle it, but it never handle good big installations, so if its your case, do it locally, way safer. ;)

User avatar
Dzien Dobry
Registered User
Posts: 599
Joined: Thu Nov 08, 2001 3:55 pm

Re: 3.2.1 to 3.2.2 update timeout

Post by Dzien Dobry » Sat Jan 13, 2018 4:46 am

Before I got into this mess, I backed up my files and database. What do I restore first? Does the order of what I restore first matter?

User avatar
Lumpy Burgertushie
Registered User
Posts: 64243
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: 3.2.1 to 3.2.2 update timeout

Post by Lumpy Burgertushie » Sat Jan 13, 2018 5:56 am

not really. just upload all the files using ftp and without even trying the board, go to your hosting control panel/phpmyadmin and restore your database backup.
then access the board.


robert
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

User avatar
Dzien Dobry
Registered User
Posts: 599
Joined: Thu Nov 08, 2001 3:55 pm

Re: 3.2.1 to 3.2.2 update timeout

Post by Dzien Dobry » Sat Jan 13, 2018 6:06 am

Lumpy Burgertushie wrote:
Sat Jan 13, 2018 5:56 am
not really.
robert
Thank you Robert. That was my guess and it worked as advertised. It's just that I never restored my board this way before so I was a bit apprehensive.

Do you have any idea when the support team will have the update to 3.2.1 fixed so there won't be any more timeout errors?

Thanks again.

User avatar
Lumpy Burgertushie
Registered User
Posts: 64243
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: 3.2.1 to 3.2.2 update timeout

Post by Lumpy Burgertushie » Sat Jan 13, 2018 6:09 am

not a clue. if you don't want to do the bug fixes manually, just wait until it gets fixed. there really isn't any big rush to update to 3.2.2


robert
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

Euler13
Registered User
Posts: 5
Joined: Sat Feb 04, 2017 2:05 pm

Re: 3.2.1 to 3.2.2 update timeout

Post by Euler13 » Sat Jan 13, 2018 10:15 am

Dzien Dobry wrote:
Sat Jan 13, 2018 4:02 am
I don't mind trying to edit the config.php file. What would I do next?
Check my post in the previous post just before your post. This thread has all the steps you need to solve the problem:
viewtopic.php?f=556&t=2453611

User avatar
Dzien Dobry
Registered User
Posts: 599
Joined: Thu Nov 08, 2001 3:55 pm

Re: 3.2.1 to 3.2.2 update timeout

Post by Dzien Dobry » Sat Jan 13, 2018 2:04 pm

Euler13 wrote:
Sat Jan 13, 2018 10:15 am

Check my post in the previous post just before your post. This thread has all the steps you need to solve the problem:
viewtopic.php?f=556&t=2453611
Thanks, but I prefer to wait until the update to 3.2.1 is fixed.

User avatar
warmweer
Registered User
Posts: 963
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

Re: 3.2.1 to 3.2.2 update timeout

Post by warmweer » Sat Jan 13, 2018 4:10 pm

Euler13 wrote:
Sat Jan 13, 2018 10:15 am
Dzien Dobry wrote:
Sat Jan 13, 2018 4:02 am
I don't mind trying to edit the config.php file. What would I do next?
Check my post in the previous post just before your post. This thread has all the steps you need to solve the problem:
viewtopic.php?f=556&t=2453611
euh!? Those steps may have solved that specific problem but there are still unsolved problems which have occured during or after the 3.2.2 update (which is not saying that 3.2.2 is the culprit).
A bug is a feature that hasn't made it to the manual (yet)

Post Reply

Return to “[3.2.x] Support Forum”

Who is online

Users browsing this forum: cnxsoft and 35 guests