ElkArte Community

General => OpenImporter => Topic started by: Jorin on November 30, 2015, 01:41:32 am

Title: Migration of Puppenstubenforum.de
Post by: Jorin on November 30, 2015, 01:41:32 am
I started to work with the migration of Puppenstubenforum.de, a board of a SMF member I know for quite a long time. The board was tried to migrate to ElkArte a few months ago, but it didn't work. As far as I know the problem were too many and damaged attachments, problems with the language files (it seems the conversion from ISO to UTF-8 was going wrong) an some problems with the theme. It seems that with the first attempt to migrate (which I haven't done) the source board was messed up a bit.

I started to build a test scenario. I installed SMF and ElkArte test versions and made a backup of the source board. I installed it with the test SMF and everything seems to be okay. I then started OpenImporter. Twice for now.

It seems that all posts and messages are there. But:

- The categories are missing. All boards are under the general category.
- Info center counts all members, but in the admin panel and the memberlist are no users counted. Wrong, sorry. Memberlist is there.
- There are no membergroups. None.
- It seems polls are not migrated too.
- There are no permissions migrated.
- No smileys are migrated.

It's a real mess. I don't know why. I used the OpenImporter from here:
http://www.elkarte.net/community/index.php?topic=2118.0

Any suggestions? Should I try to import step by step, first the messages, then the users, etc? Is it even possible to do this?
Title: Re: Migration of Puppenstubenforum.de
Post by: emanuele on November 30, 2015, 02:17:00 am
Most likely I broke something more than usual.
Did you try the two maintenance tasks "recount" and "fix"?
Title: Re: Migration of Puppenstubenforum.de
Post by: Jorin on November 30, 2015, 02:25:38 am
Jep, I did. I did them with the SMF copy before migration, to be sure there are no errors found. I did the maintenance with the migrated board too then, after the migration. There were a lot of cache errors fixed.

But still, no categories, no membergroups, no permissions.
Title: Re: Migration of Puppenstubenforum.de
Post by: radu81 on November 30, 2015, 02:49:04 am
Quote from: Jorin – - The categories are missing. All boards are under the general category.

I had the same problem with that importer.

Quote from: radu81 –
Quote from: radu81 – There is another issue: the category boards were not imported, I have all my boards into one category named "General Category"
is there any new version of open importer? I tried the version from page 12 of this topic but category boards were not imported

edit
I just tried this https://github.com/OpenImporter/openimporter
and seems that the went fine ;)
Title: Re: Migration of Puppenstubenforum.de
Post by: Jorin on November 30, 2015, 02:56:48 am
Thanks for the hint. I will try these version of the importer.

Please, can we write a fixed topic where the actual version of the importer can be found? It's really difficult at the moment.  ::)
Title: Re: Migration of Puppenstubenforum.de
Post by: wintstar on November 30, 2015, 03:02:06 am
@radu81
Which Branche did you take?
master or development
Title: Re: Migration of Puppenstubenforum.de
Post by: radu81 on November 30, 2015, 05:08:07 am
I don't remember, sorry
Title: Re: Migration of Puppenstubenforum.de
Post by: Jorin on December 08, 2015, 11:41:02 am
I did a second try with the master branch posted above, but with the same result:

Quote from: Jorin – It seems that all posts and messages are there. But:

- The categories are missing. All boards are under the general category.
- Info center counts all members, but in the admin panel and the memberlist are no users counted. Wrong, sorry. Memberlist is there.
- There are no membergroups. None.
- It seems polls are not migrated too.
- There are no permissions migrated.
- No smileys are migrated.

I don't know what to do now.
Title: Re: Migration of Puppenstubenforum.de
Post by: emanuele on December 08, 2015, 04:16:51 pm
I'll have a look at the importer, but likely not before B1 is out...
I'm really sorry, but until the next year I'm a tad on the busy side and I have to focus on one thing at a time. :(
Title: Re: Migration of Puppenstubenforum.de
Post by: Jorin on December 22, 2015, 05:08:37 am
We will try to migrate step for step, beginning with users. In a second step topics and posts, and so on. Do you see a problem with that? Migrating not full, but in little steps? Will it even work?
Title: Re: Migration of Puppenstubenforum.de
Post by: TE on December 23, 2015, 12:43:37 am
Was the Puppenstuben-Forum migrated from another platform (phpbb, myBB..) to SMF? Maybe there's something strange within the database?
Title: Re: Migration of Puppenstubenforum.de
Post by: Jorin on December 23, 2015, 12:51:35 am
There was an attempt to migrate before which leaded to some problems with the board. I don't know why but it seems this attempt to migrate  (without success) corrupted the source board.  :-X  It wasn't me who tried it. There is some strange behavior with the SMF, which was upgraded from the 1.x.x branch to 2.0.11.
Title: Re: Migration of Puppenstubenforum.de
Post by: TE on December 23, 2015, 12:56:06 am
Can you send me an exported database? I think this is a fixable problem..
Title: Re: Migration of Puppenstubenforum.de
Post by: Jorin on December 23, 2015, 01:02:15 am
Quote from: TE – Can you send me an exported database? I think this is a fixable problem..

Sure. Please send me an email address.  :)
Title: Re: Migration of Puppenstubenforum.de
Post by: TE on December 23, 2015, 01:05:26 am
PM sent..
Title: Re: Migration of Puppenstubenforum.de
Post by: emanuele on December 26, 2015, 05:10:21 pm
I started looking into the development branch again (yeah, this topic is not the best place to talk about it, though.... heh :P).
The main problem with that importer is (apart few bugs I squashed) that it doesn't deal very well (i.e. it breaks most of the times) with errors. So, if there is a problem the converter chokes and dies in an unpredictable way (still).
That is a "known bug", because is the side-effect of having re-worked half of the code in a short period of time without thinking too much to errors, but focusing on the "right path".
Title: Re: Migration of Puppenstubenforum.de
Post by: Jorin on June 03, 2016, 04:29:38 am
@TE did it! The migration was successful, the board is running with ElkArte now! Congratulations!
Title: Re: Migration of Puppenstubenforum.de
Post by: emanuele on June 03, 2016, 08:39:14 am
Congratz!
Title: Re: Migration of Puppenstubenforum.de
Post by: Ruth on June 03, 2016, 08:52:49 am
Hey... Site URL is still a secret, Jorin.  ;) It is still not finished and the old frontpage O:-)  should really get a better styling someday by somebody.

Pushing and crossposting is strictly forbidden in our forum, but maybe it is allowed here? :P (Wenn Jorin das macht, dann mach ich's auch)

http://www.elkarte.net/community/index.php?topic=3665.0