-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vBulletin import issues #207
Comments
I've tested 4.2.0 not too long ago, and it was fine, I double the simple 4.2.2 patch have change the db structure
|
Hi, Thank you. |
BTW, I got the same errors when I use the original vBulletin 3.8 database. The list of tables shown above are from the vB 3.8 version. |
it doesn't support VB3 only VB4 and VB5 (coming soon), so can you show me the list from VB4? |
Thanks for the support. Before upgrading to vB 4.2.2, I have uninstalled all products and plugins. Furthermore I have stablished English as default forum language and default theme deleting extra languages and themes. Then, I have optimised and repaired the tables. The show table gives me now this output: +----------------------------------+ Thank you. |
ok good, so now what is the error that you get if you run using VB4, since I can see the
so you shoudnlt get that error you shared in the original post
|
Right. In my previous importing from vB4.4..2, I got an error related with table attachment but I cannot remember it exactly. Since then, I have transfered attached files from database to filesystem so I don't know if my current good results are because of those changes o because you have improve the code (now there is more log information during the importing so probably you have changed something). Now I get the same pm tables error. I have deleted this part of the vbulletin importer code:
And the "messages" error has disappeared. Although this is a "solution", I would like to preserve private messages. Is there any way to know what part of the table is the conflicting one by knowing in what messages the importer crashes? I know it crashes in message no 251, but what does mean? Right now my testing server continues the import proccess (almost 500000 posts) but it runs out of memory and it is going very slow. When it finish, I will reply the results. Thank you very much. |
i dont think I can debug it that way, do you think you can send me a copy of your data? |
I am sorry, I cannot, it has private data from third party users I shouldn't share. Is there a way to skip the importation of a particular item? I mean, to skip message number 252 which probably is the only one item problematic instead deleting all private messages. Thank you. |
you need to reproduce the error then and show me the error.
|
Well, right now I am preforming some tests. When I know what the problem is, I will post here my results. |
I found the issue. The problem is there are private message from and/or to deleted users. If I create new users and change their uid to deleted users which have pm, it works fine. |
ok I think we can avoid that in the importer core |
Hi,
I have tried to import a vB 3.8 database to nodebb but I get tons of errors. The first one is with private messages. The final state is this: State: idle, by event: | Phase: messagesImportStart Progress: 251/6795, 3.6938926%
Nodebb log said this:
SELECT pm.pmid as _mid, pmtext.fromuserid as _fromuid, pm.userid as _touid, pmtext.message as _content, pmtext.dateline as _timestamp FROM pm JOIN pmtext ON pmtext.pmtextid=pm.pmtextid AND pmtext.fromuserid != pm.userid LIMIT 0,600000
returned: 6795 results
1/9 22:04 [1476] - error: TypeError: Cannot read property 'uid' of undefined
So I have truncated that table from mysql database and it has "solved" this problem. The next problem comes from attachments with this status: State: idle, by event: | Phase: topicsImportStart Progress: 0/1, 0.0000000%
Nodebb log said this:
nodebb-plugin-import-vbulletin] { [Error: ER_NO_SUCH_TABLE: Table 'forum.filedata' doesn't exist]
code: 'ER_NO_SUCH_TABLE',
errno: 1146,
sqlState: '42S02',
index: 0 }
exporter.error [2016-09-01T20:21:54.536Z] Error: ER_NO_SUCH_TABLE: Table 'forum.filedata' doesn't exist
1/9 22:21 [2637] - error: TypeError: Cannot read property 'forEach' of undefined
By deleting those table appears another error.
I have upgraded the database to vBulletin 4.2.2 but I get the same errors.
What can I do?
Thanks.
The text was updated successfully, but these errors were encountered: