TurnKey Linux Virtual Appliance Library

Upgrading PHPBB3 3.0.8 -> 3.0.9

I have tried the various methods of upgrading phpbb3 from 3.0.8 -> 3.0.9 unsuccessfully. The typical package upgrade results in an error message when trying to access the /install/ page

 

PHP Fatal error: Allowed memory size of 33554432 bytes exhausted phpbb3

I then tried TKLBAM, backed up my 3.0.8 system and installed a full 3.0.9 VM. I restored the backup successfully but get an error 500 every time I try to access the login page.

What is the recommended method of upgrading phpbb3?

Jeremy's picture

There is no currently 'recommended' way to upgrade

In fact as phpBB in the TKL phpBB appliance comes from Ubuntu package management, I would personally be inclined to stick with the default v3.0.4. Although there may be security implications for that as it looks like it's in the 'universe' repo and has not received any backported security updates from what I can see.

So if you need/want a newer version then IMO probably the best way to go would be to build your own phpBB server on top of TKL LAMP (ie install phpBB from upstream onto a clean LAMP appliance). That way if you want to back it up and/or restore it that should all work smoothly (because the backup will include the updated phpBB packages). I suspect the reason why you are having problems with your restore is that the internal updated phpBB is probably conflicting with the package management version (although that's only a guess). There also may be some issues with compatibility with TKLBAM. All this would be avoided if you build your own version on top of LAMP. You will probably need to either manually migrate your current forums though or tweak your TKLBAM backup to get it to work. There is a phpBB KB article that looks very relevant to that process here.

If you want to persevere with your current setup and aren't worried about backup functionality then I would suggest you try adjusting the php memory limit. Hopefully that will allow the update to install. OTTOMH it should be found somewhere like /etc/apache2/php.ini IIRC.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)