Advertisement:

Author Topic: Converting from IPB 2.3.1 to SMF - need to test first  (Read 9323 times)

Offline PaddyD

  • Semi-Newbie
  • *
  • Posts: 29
Converting from IPB 2.3.1 to SMF - need to test first
« on: May 13, 2018, 12:23:44 PM »
Howdy. We're looking at converting an IPB 2.3.1 forum to SMF. We were planning on testing a couple of forum options, and yesterday tried an install of phpBB. It was a complete disaster - whatever it did during a completely unsuccessful conversion, it modified our existing database so that the existing IPB board became unusable. We had to completely reinstall from backups. YES, I do have backups, but I'd rather not go through that hell again and wondered if in fact the SMF convertor does anything to the existing database - because if it makes changes, it may break our current forum and we don't want that - not yet and probably not ever, as we may archive the old forum once we get all the existing members into SMF etc.

So - DOES the SMF convertor change the existing IPB database in any way? The phpBB convertor said it didn't - but it sure as heck did.

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,502
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Converting from IPB 2.3.1 to SMF - need to test first
« Reply #1 on: May 13, 2018, 12:51:45 PM »
The SMF convertor does not change the existing IPB database. It always leaves the existing database intact
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline PaddyD

  • Semi-Newbie
  • *
  • Posts: 29
Re: Converting from IPB 2.3.1 to SMF - need to test first
« Reply #2 on: May 13, 2018, 12:57:08 PM »
Thanks! That is what the phpBB convertor said too, but since that's not what happened with it, I just wanted to be absolutely sure. At any rate, while I was waiting for a response, I made an exact copy of our existing forum, including its database, and I'll use that for the test. Just to be on the safe side. ;)

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,502
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Converting from IPB 2.3.1 to SMF - need to test first
« Reply #3 on: May 13, 2018, 01:08:21 PM »
Let me know if you encounter any issues.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline PaddyD

  • Semi-Newbie
  • *
  • Posts: 29
Re: Converting from IPB 2.3.1 to SMF - need to test first
« Reply #4 on: May 13, 2018, 01:55:29 PM »
How long should I expect things to take? We've got 2600 members and it's been "converting members" for almost an hour now.

I've already had to edit the convert script as per: https://www.simplemachines.org/community/index.php?topic=528263.0 - got the error message referenced there the first time I tried to run the conversion. I was careful about removing the problematic bit in the two places it appears.

Offline PaddyD

  • Semi-Newbie
  • *
  • Posts: 29
Re: Converting from IPB 2.3.1 to SMF - need to test first
« Reply #5 on: May 13, 2018, 02:14:27 PM »
I refreshed the page and it now says "Converting...Successful. Recalculating forum statistics..."

So does this just mean that it was successful at converting the members? So far nothing has changed on the SMF forum itself. And there is no sign of the 2600 members in the SMF database either.

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,502
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Converting from IPB 2.3.1 to SMF - need to test first
« Reply #6 on: May 13, 2018, 02:48:02 PM »
I would restart did you remove that that command?
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline PaddyD

  • Semi-Newbie
  • *
  • Posts: 29
Re: Converting from IPB 2.3.1 to SMF - need to test first
« Reply #7 on: May 13, 2018, 05:16:31 PM »
I restarted the conversion - it got through the first bit and on to recalculating the forum statistics quickly this time - but again, there are no additions to the database for the SMF forum that I can see. And it seems to be sitting at recalculating the forum statistics (given that it hasn't imported any members, I'm not sure what it's actually doing...).

Any idea what could be going wrong here?

Offline PaddyD

  • Semi-Newbie
  • *
  • Posts: 29
Re: Converting from IPB 2.3.1 to SMF - need to test first
« Reply #8 on: May 14, 2018, 10:36:19 AM »
Further update: I checked with our web host to find out if the "The cause of this problem is that your host has session.save_path to a non writeable directory" applied here and was told that the directory is writable by the user. I looked and it has permissions of 7-0-0.

So does anyone have any suggestions? This conversion has completely failed - there is NOTHING in the SMF database from the IPB forums.

Offline PaddyD

  • Semi-Newbie
  • *
  • Posts: 29
Re: Converting from IPB 2.3.1 to SMF - need to test first
« Reply #9 on: May 14, 2018, 04:28:21 PM »
And a further update - had our host change permissions to 777 and now the conversion may be stuck on converting members. Been doing that for at least 90 minutes now, and I have no idea how long that should take for 2600 members...

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,502
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Converting from IPB 2.3.1 to SMF - need to test first
« Reply #10 on: May 14, 2018, 04:32:16 PM »
Anything in the tables as of yet?
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline PaddyD

  • Semi-Newbie
  • *
  • Posts: 29
Re: Converting from IPB 2.3.1 to SMF - need to test first
« Reply #11 on: May 14, 2018, 04:37:12 PM »
Not a thing. All it's done is take me OUT of the members group. I realize it's replacing (supposedly) all the members, but every time I end up with a board that has no members, that nobody can administer or log into until I've gone and edited the member table in PMA. Good thing I know how to do that...

I'm totally stumped now. I don't know what is wrong or how to fix it.

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,502
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Converting from IPB 2.3.1 to SMF - need to test first
« Reply #12 on: May 14, 2018, 04:40:43 PM »
What version of php are you running?
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline PaddyD

  • Semi-Newbie
  • *
  • Posts: 29
Re: Converting from IPB 2.3.1 to SMF - need to test first
« Reply #13 on: May 14, 2018, 04:43:50 PM »
5.6. Can't run 7.x because IPB 2.3.1 won't work with that.

Oh my...could this be the issue? And how to solve that one - IPB 3 doesn't even work with 7.

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,502
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Converting from IPB 2.3.1 to SMF - need to test first
« Reply #14 on: May 14, 2018, 04:45:10 PM »
It should work. I would try using SMF 2.0.13 as the base just in case instead of new version latest smf supports PHP 7-7.1
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline PaddyD

  • Semi-Newbie
  • *
  • Posts: 29
Re: Converting from IPB 2.3.1 to SMF - need to test first
« Reply #15 on: May 14, 2018, 04:48:54 PM »
Ok...will give that a shot.

Was also considering trying to convert it locally using WAMP. Not exactly my first choice on things I'd like to do today, but we really do need at least our members added to SMF. Don't care about the rest so much - we can make the old forums read-only and carry on, but would hate to lose the membership database.

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,502
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Converting from IPB 2.3.1 to SMF - need to test first
« Reply #16 on: May 14, 2018, 04:49:57 PM »
There is always a way. I just don't' think the connection is going though corrector.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline PaddyD

  • Semi-Newbie
  • *
  • Posts: 29
Re: Converting from IPB 2.3.1 to SMF - need to test first
« Reply #17 on: May 14, 2018, 05:15:16 PM »
Ok - tried 2.0.13 and the conversion. I don't know if this counts as progress or not - and don't know what I'm supposed to do about it.

"Converting members...Wrong value type sent to the database. Integer expected. (instant_messages)"

Think there may be a fix here: https://www.simplemachines.org/community/index.php?topic=523480.0

(BTW - the board search isn't very good - I usually have to find these posts via Google...)

Offline GigaWatt

  • The Smiley Guy
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 2,104
  • Gender: Male
    • Macedonian electronics forum
Re: Converting from IPB 2.3.1 to SMF - need to test first
« Reply #18 on: May 14, 2018, 07:08:17 PM »
Did you try the fix in that thread?
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."

Offline PaddyD

  • Semi-Newbie
  • *
  • Posts: 29
Re: Converting from IPB 2.3.1 to SMF - need to test first
« Reply #19 on: May 14, 2018, 07:13:19 PM »
That and a whole boatload of others - I'm wondering if anyone wants my modified script when I'm done? LOL...

Then got another error message. "Converting members...Field 'openid_uri' doesn't have a default value"

I've looked in the script and there is no openid_uri or anything resembling it, so the fix for a phpbb converter in the thread linked below doesn't work. I don't know enough about this to know how to make it skip this or whatever we need it to do.

http://www.simplemachines.org/community/index.php?topic=518678.0

...wait a minute - figured it out - found AS member_ip2,  and then added: '' AS openid_uri, '' AS ignore_boards - as I got that next error as well.

And then got the "Converting topics...Wrong value type sent to the database. Integer expected. (id_poll)" error. Fixed that, and same for the missing integer for id_board...

Corrections found here: https://www.simplemachines.org/community/index.php?topic=401661.0

And then got a whole lot of the "Duplicate entry 'xxxxx' for key 'PRIMARY' first for topics, and then for posts. Edited the tables to remove them (though I couldn't actually see any duplicates) and then decided to just skip them via editing the URL for the conversion to start again just after (or in some cases when it was going in the opposite direction, just before) the particular problematic entry. They're so old they really don't matter...and we do still have the old boards which will be archived as well, maybe...

At the moment it's jumping down by about 500 posts or so to the next "duplicate" - so only 150 or more to go. :p