Jump to content

Using old database for new install


Recommended Posts

I am having problems moving my site and forum over to another server, posted in the server section. I have taken over the forum and site management as we had no-one else to do it. As a result the PHP side of it all, and the amount of files dotted around in PHP5.4 is nuts.

 

I am wondering if it is possible to do a complete new install my server that we are moving this too, but still use all of the old database info. I ask this as the current install is IPB 3.4, I am unable to upgrade this on the current server due to the PHP issue and I don't yet have the knowledge to upgrade it. Is what I am thinking possible? We have a lot of posts and topics that we really don't want to lose.

Link to comment
Share on other sites

32 minutes ago, Morrigan said:

You would need to transfer the database over and upgrade it before using the converter to pull it into a new database.

But transferring the database and upgrading it should work just fine. You may need to make an incremental upgrade. You can reach out to someone in here to help you with the upgrade:
https://invisioncommunity.com/third-party/providers/

HI, sorry I got lost on that. What do you mean upgrade the database? Can you do that on it's own without the webspace and ACP? I am happy doing it. I have a copy of the database on my new server.

Link to comment
Share on other sites

I think I get what you mean. The database originally wasn't the issue. I cannot upgrade the forum on the current server as the forum is running PHP 5.4 and the IPB 4 software requires PHP7.1 or 7.1. I have tried to move the whole website, databases and contents onto the new server but it won't work therefore I am unable to get into the ACP on the new server to upgrade it that way. I suspect it is to do with the PHP coding and my new server as it uses apache and PHP5 is redacted in that version on it. So my thought was to do a fresh install  of the forum software on the new server, then use my old databases and import the tables so I can retain all of our posts etc. Is this possible or won't the database tables for my current forum version 3.4, work with the new version without doing the upgrade.

 

My priority is the information and members etc, I am not fussed about starting the design, PHP and look of the boards again if this way is doable as long as my members can still access it and the topics and posts are kept. I hope that helps explain a little better.

Link to comment
Share on other sites

You have to update the database as there are a ton of database changes from 3.x to 4.x. Having the server install files on the new thing and creating the config file correctly pointing to your database should allow you to upgrade the database. Sometimes you have to do it incrementally (like you may have to have a developer from the link I provided above) do it because you may need to go from 3.x to 4.0 to 4.1 to 4.2 etc to reduce on possible issues but I've upgraded databases from Jcink that are running on IPB 1.2 to IPS 4 before so its completely doable as long as the server is setup with the correct settings for IPS4.x.

Link to comment
Share on other sites

2 minutes ago, FFOC said:

I think I get what you mean. The database originally wasn't the issue. I cannot upgrade the forum on the current server as the forum is running PHP 5.4 and the IPB 4 software requires PHP7.1 or 7.1. I have tried to move the whole website, databases and contents onto the new server but it won't work therefore I am unable to get into the ACP on the new server to upgrade it that way. I suspect it is to do with the PHP coding and my new server as it uses apache and PHP5 is redacted in that version on it. So my thought was to do a fresh install  of the forum software on the new server, then use my old databases and import the tables so I can retain all of our posts etc. Is this possible or won't the database tables for my current forum version 3.4, work with the new version without doing the upgrade.

 

My priority is the information and members etc, I am not fussed about starting the design, PHP and look of the boards again if this way is doable as long as my members can still access it and the topics and posts are kept. I hope that helps explain a little better.

If the php in your new server can not be downgraded temporarily to the version that supports the 3.4. forum version, you can try the method that you mentioned. i.e. install a new 4.1.10 Ipb, import the database and then run the upgrader to upgrade your database. It is worth a try imo. 

But before you try the upgrade, it is best to make a backup of your database and check it to make sure that it has been done properly. Doing that will ensure that no matter what happens, nothing will be lost.

Link to comment
Share on other sites

39 minutes ago, Morrigan said:

You have to update the database as there are a ton of database changes from 3.x to 4.x. Having the server install files on the new thing and creating the config file correctly pointing to your database should allow you to upgrade the database. Sometimes you have to do it incrementally (like you may have to have a developer from the link I provided above) do it because you may need to go from 3.x to 4.0 to 4.1 to 4.2 etc to reduce on possible issues but I've upgraded databases from Jcink that are running on IPB 1.2 to IPS 4 before so its completely doable as long as the server is setup with the correct settings for IPS4.x.

Thank you, I understand that now. I may give it a go and see. I can do a test install on another domain I have to see if it works, then if it does change the right domain to point at it.

38 minutes ago, Miss_B said:

If the php in your new server can not be downgraded temporarily to the version that supports the 3.4. forum version, you can try the method that you mentioned. i.e. install a new 4.1.10 Ipb, import the database and then run the upgrader to upgrade your database. It is worth a try imo. 

But before you try the upgrade, it is best to make a backup of your database and check it to make sure that it has been done properly. Doing that will ensure that no matter what happens, nothing will be lost.

I've got a backup of it all so thats ok. I'll give it a go and see how I get on. If it works at least it is a solution if i cannot migrate the original one.

 

Do you just run the upgrader by going to mysite.com/admin/upgrade I will use my test install domain to try this and see.

Link to comment
Share on other sites

I have another quick question to this. It appears to have picked up the database as it asked for my login credentials and accepted them, it isn't letting me add the -TESTINSTALL bit on the license key. It skips this section. Is this recorded in the database somewhere, where I can edit it and include the test install part? With me testing this on my registered test install domain I guess it is going to have a problem shortly.

Link to comment
Share on other sites

Its going to be based on your already used license key that's already in the database. It shouldn't update anything and if you end up having an issue with it IPS support is really accommodating to upgrade issues/domains so fixing it shouldn't be an issue you'll just have to submit a ticket.

Link to comment
Share on other sites

Well, it picked up the database, converted it etc. Said it had done it but then got a 404 error when trying to go to the ACP. Tried to go to the actual site and got this:

559130261_upgradefail1.thumb.jpg.807aacf269e78b644064eed56fdef988.jpg

 

If I try to click on anything else or attempt to log in then I just get the 404:

405408391_upgradefail2.thumb.jpg.d43b4f5970282f97f0e8e2e548d7689b.jpg

 

I am guessing the old site webspace and PHP has something to do with this. I got excited again thinking I had a work round but alas, another wall.

 

 

EDIT: In fact disregard the above.

I'M IN!!! It worked. I had a look at the pictures and realised it was pointing to /forum which didn't exist in this. So I changed the conf_global.php info to remove that and it loaded up. Now to check around. Thank you so much for your help so far. Hopefully this is fine, I can learn the PHP side and add skins and themes as I learn to make it look more like the original.

Edited by FFOC
Link to comment
Share on other sites

I’ve had a look at them. Might have to buy the pages addon too to help. Been reading about the Subscriptions manager we used o have, guess thats another addon I need to look at buying now too, the commerce one.

We had 2 extensions, Subscriptions Manager and Custom Sidebar Blocks and both appear to not be compatible with IPB4, just my luck, lol.

Link to comment
Share on other sites

Thanks, I have managed to utilise the sidebar using for how we had it using the advertisements bit, along with some of the other features it has, same for just below the header too.

 

I think we will probably upgrade to the commerce soon for that.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...