Migrating from 2.0.17 to new host with 3.2.4

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
odsw
Registered User
Posts: 13
Joined: Mon Dec 03, 2018 5:46 pm

Migrating from 2.0.17 to new host with 3.2.4

Post by odsw » Mon Dec 03, 2018 5:54 pm

Hi,

I've been looking around this forum and the knowledge base for this specific scenario but I can't find a good guide. Since I am new to this I am in need of some assistance.

Today I have a phpBB2 (2.0.17) running at a crappy host, I've installed a new Ubuntu server on another with phpBB 3.2.4 and have got the forum up and running, without any data.
Now I want to migrate all the data from the old forum. What way is the best?

Thank you.

janus_zonstraal
Registered User
Posts: 2776
Joined: Sat Aug 30, 2014 1:30 pm

Re: Migrating from 2.0.17 to new host with 3.2.4

Post by janus_zonstraal » Mon Dec 03, 2018 7:32 pm

You have to install both versions on the same server
docs/INSTALL.html#convert
Sorry! My English is bat ;) !!!

odsw
Registered User
Posts: 13
Joined: Mon Dec 03, 2018 5:46 pm

Re: Migrating from 2.0.17 to new host with 3.2.4

Post by odsw » Mon Dec 03, 2018 7:56 pm

Thanks for the reply.

I'm not able to install 3.2.4 on the old server.
So:

1. Install phpBB 2.0.17 on the new server
2. Copy and install database from old server (how to restore?)
3. Run conversion from 3.2.4

Am I right?

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 49731
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Migrating from 2.0.17 to new host with 3.2.4

Post by stevemaury » Mon Dec 03, 2018 8:02 pm

Can you install some version of 3.0.x?
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. PM or email me.

All unsolicited PMs will be ignored.

odsw
Registered User
Posts: 13
Joined: Mon Dec 03, 2018 5:46 pm

Re: Migrating from 2.0.17 to new host with 3.2.4

Post by odsw » Mon Dec 03, 2018 9:27 pm

No, can't install anything on the old server.

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

Re: Migrating from 2.0.17 to new host with 3.2.4

Post by warmweer » Mon Dec 03, 2018 9:32 pm

Install in on your PC with a personal webserver (localhost). That way you will have control of all settings and versions and will be able to convert to 3.0 without any fuss.
A bug is a feature that hasn't made it to the manual (yet)

odsw
Registered User
Posts: 13
Joined: Mon Dec 03, 2018 5:46 pm

Re: Migrating from 2.0.17 to new host with 3.2.4

Post by odsw » Tue Dec 04, 2018 9:01 am

warmweer wrote:
Mon Dec 03, 2018 9:32 pm
Install in on your PC with a personal webserver (localhost). That way you will have control of all settings and versions and will be able to convert to 3.0 without any fuss.
Thanks for the reply.
Could you please be a bit more specific, maybe provide me with the steps I need to take?

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

Re: Migrating from 2.0.17 to new host with 3.2.4

Post by warmweer » Tue Dec 04, 2018 9:13 am

odsw wrote:
Tue Dec 04, 2018 9:01 am
warmweer wrote:
Mon Dec 03, 2018 9:32 pm
Install in on your PC with a personal webserver (localhost). That way you will have control of all settings and versions and will be able to convert to 3.0 without any fuss.
Thanks for the reply.
Could you please be a bit more specific, maybe provide me with the steps I need to take?
https://www.phpbb.com/support/docs/en/3 ... eb-server/
see http://www.usbwebserver.net/webserver/ (the absolute easiest to install + it has old php versions, but is perfect for phpBB 2 and 3.0, in fact I also use it for quick testing on 3.2)

Basically you do exactly the same as you would at your online host, except you're doing it all on your PC.
The only thing you have to keep in mind is that the config_table and the config.php reflect where your board is hosted, so when copying from online host to localhost (or the other direction), these will have to be edited.
A bug is a feature that hasn't made it to the manual (yet)

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 49731
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Migrating from 2.0.17 to new host with 3.2.4

Post by stevemaury » Tue Dec 04, 2018 4:27 pm

Also, usbwebserver doesn't work on OS X. I like XAMPP.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. PM or email me.

All unsolicited PMs will be ignored.

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

Re: Migrating from 2.0.17 to new host with 3.2.4

Post by warmweer » Tue Dec 04, 2018 5:33 pm

stevemaury wrote:
Tue Dec 04, 2018 4:27 pm
Also, usbwebserver doesn't work on OS X. I like XAMPP.
Yeah :? I keep forgetting that not everyone uses Windows ... habits
XAMPP is for X-OS, Apache, Mysql, PHP, Perl, this is actually cross-platform
WAMP is for Windows
LAMP is for Linux
MAMP is for Mac OS X

All 4 require a bit more than basic knowledge about webservers.
If you're a Windows user then USBWebserver is by far the easiest to install and use and I haven't seen anything else near that simple. Once you get past the "basic" stage, WAMP (or others like DevServer, which used to be EasyPHP, and others, a google search will easily give 20+ results) will give you many more options (changing php versions, using different database engines ). Which one to use is personal preference, but if you want to use PHP 7+ you'll need a relatively recent version.
Older versions of php can be installed with all those packages but I used to prefer using an old version of EasyPHP.
A bug is a feature that hasn't made it to the manual (yet)

User avatar
MikovChain
Registered User
Posts: 137
Joined: Tue Aug 29, 2006 9:19 am

Re: Migrating from 2.0.17 to new host with 3.2.4

Post by MikovChain » Tue Dec 04, 2018 6:28 pm

You will need to upgrade it to 3.0.X first, then 3.1.X, then 3.2.4.

Backup all the databases and files first.

Use mysqldump(I guess you are using mysql) to dump all data to the new server,
Use the mysql command line to import it, -- here you may meet some problems during the import, fix them
When import done, make a backup
Then use the convert scripts to upgrade it to 3.0.14, then 3.1.12, then 3.2.4
Make a backup in each step.

Good Luck!

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

Re: Migrating from 2.0.17 to new host with 3.2.4

Post by warmweer » Tue Dec 04, 2018 6:37 pm

MikovChain wrote:
Tue Dec 04, 2018 6:28 pm
You will need to upgrade it to 3.0.X first, then 3.1.X, then 3.2.4.
That has been discussed. He can't install anything new on the old server and chances are he won't be able to install 2.0.17 on the new server.
The way to go in this case is localhost (no point in searching for a free host that could accommodate a 2.0.17 phpbb installation - and only for upgrading).
Last edited by warmweer on Tue Dec 04, 2018 6:51 pm, edited 1 time in total.
A bug is a feature that hasn't made it to the manual (yet)

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

Re: Migrating from 2.0.17 to new host with 3.2.4

Post by warmweer » Tue Dec 04, 2018 6:50 pm

@ odsw

Have a look at https://www.phpbb.com/support/docs/en/3 ... nversions/ for the procedure. (step 6 specifically for the conversion from 2.0) (basically it's the same for a conversion to 3.0 but once you have a 3.0.14 ready, it will be easier to follow).
And here you can find old versions of Easyphp. (although, I fear it's in French only).

hmmm Easyphp is also Windows only. If you use another OS search for personal webserver for that OS. (before stevemaury kills me for thinking about Windows only again ;)

Try it, it will come in handy for future up-dates/grades (I never up-date/grade online without testing on localhost first)
A bug is a feature that hasn't made it to the manual (yet)

odsw
Registered User
Posts: 13
Joined: Mon Dec 03, 2018 5:46 pm

Re: Migrating from 2.0.17 to new host with 3.2.4

Post by odsw » Thu Dec 06, 2018 7:47 am

warmweer wrote:
Tue Dec 04, 2018 6:50 pm
@ odsw

Have a look at https://www.phpbb.com/support/docs/en/3 ... nversions/ for the procedure. (step 6 specifically for the conversion from 2.0) (basically it's the same for a conversion to 3.0 but once you have a 3.0.14 ready, it will be easier to follow).
And here you can find old versions of Easyphp. (although, I fear it's in French only).

hmmm Easyphp is also Windows only. If you use another OS search for personal webserver for that OS. (before stevemaury kills me for thinking about Windows only again ;)

Try it, it will come in handy for future up-dates/grades (I never up-date/grade online without testing on localhost first)
Thanks alot!
I installed a virtual Windows server and:
I managed to install and restore the old forum with 2.0.17 and then upgraded it to 3.0.
However, now I'm stuck when I'm trying to upgrade to 3.2.4, since the php version easyPHP 1.8 is running is to old.

Any suggestions on how to proceed with the upgrade of php/phpBB?

User avatar
Mick
Support Team Member
Support Team Member
Posts: 20343
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: Migrating from 2.0.17 to new host with 3.2.4

Post by Mick » Thu Dec 06, 2018 9:06 am

Upgrade PHP if possible or install WAMP.
"The more connected we get the more alone we become" - Kyle Broflovski

There are no ‘threads’ in phpBB, they are topics.

Post Reply

Return to “[3.2.x] Support Forum”

Who is online

Users browsing this forum: EA117, Exabot [Bot] and 21 guests