Upgrade 3.0.8 to 3.2.5 without losing content

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
DaveOB
Registered User
Posts: 1
Joined: Tue Apr 16, 2019 4:47 pm

Upgrade 3.0.8 to 3.2.5 without losing content

Post by DaveOB »

Hi All. Newbee here.

We have phpBB 3.0.8 and the ISP is upgrading the server to php7.2

I see in the Automatic Update Package appears to only work from 3.1.0 upwards.

How can I upgrade from 3.0.8 and not lose any data / content / settings ?

Regards
User avatar
AlfredoRamos
Recognised Extension Developer
Posts: 1302
Joined: Wed Dec 25, 2013 9:06 pm
Location: /dev/null
Name: Alfredo
Contact:

Re: Upgrade 3.0.8 to 3.2.5 without losing content

Post by AlfredoRamos »

Some of my phpBB extensions:
:chart_with_upwards_trend: SEO Metadata | Image Markdown | :shield: hCaptcha
:trophy: Check out all my validated extensions :trophy:

:penguin: Arch Linux user | Linux Boards :penguin:
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6669
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: Upgrade 3.0.8 to 3.2.5 without losing content

Post by HiFiKabin »

Just follow the steps below EXACTLY and everything will be fine. By making backups at each stage you can always revert to a working board if you encounter an issue.

Notes:
  • Your server must be running at least PHP 5.4.7 or higher.
  • phpBB 3.2 is not compatible with 3.0 and most of the previous files will need to be removed prior to upgrading.
  • Styles and MODs from 3.0 cannot be installed on phpBB 3.2. To upgrade, perform the following steps:
  1. Make a back-up of the original files and database
  2. Deactivate all styles except for prosilver
  3. Remove all MOD-related changes from the database. The Support Toolkit's Database Cleaner can be used for this.
  4. Ensure that the activated spambot countermeasure is one of the standard phpBB plugins (Simple image, GD image, GD 3D image, Q&A, reCaptacha).
  5. Set British English as the only language pack and delete all other language pack directories from your server
  6. Delete all of your phpBB 3.0.x files EXCEPT for the following:
    • The config.php file
    • The /images/ directory
    • The /files/ directory
    • The /store/ directory
  7. Upload the contents of the phpBB3 directory from the uncompressed 3.2.x Full Package (EXCEPT for config.php) into your forum's directory (Note: you don't want to overwrite your original config.php file)
  8. Browse to www.example.com/install/
  9. Click the Update tab
  10. Click the Update button
  11. Select "Update database only" and click Submit
  12. Wait for the progress bar to reach 100% and for a message indicating that the update has completed
  13. Delete or rename the /install/ directory
User avatar
MarkDHamill
Registered User
Posts: 4885
Joined: Fri Aug 02, 2002 12:36 am
Location: Florence, MA USA
Contact:

Re: Upgrade 3.0.8 to 3.2.5 without losing content

Post by MarkDHamill »

That said, my experience is that the more posts you have the more likely you will get timeouts and issues using the web interface. Keep the CLI method in your back pocket and if you have 100,000 or more posts I would use CLI first.

In spite of attempts to make it bulletproof, I also often find that other database issues have to be fixed during an upgrade. For example, I often have to create the phpbb_config_text table manually. Don't be surprised if you get an error or two during any upgrade. You will just have to puzzle through it and make some correction, usually in phpMyAdmin or similar tool, to successfully upgrade. In addition, some steps seem like they will take forever, sometimes hours on larger boards. Just hang in there. They usually involve reformatting the phpbb_posts table.
Need phpBB services or a phpBB consultant? I offer most phpBB services. Getting lost managing phpBB? Buy my book, Mastering phpBB Administration. Covers through phpBB 3.3.7. eBook and paper versions available.
Post Reply

Return to “[3.2.x] Support Forum”