Skip to content
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

Problems importing from phpBB 3.0.14 need some help on debugging. #11

Open
f34rdotcom opened this issue Dec 29, 2021 · 0 comments
Open

Comments

@f34rdotcom
Copy link

Having issues importing from a small phpbb site I setup years ago. I want to move to nodebb but I am having problems in my migration procedure. The code works with a small fix but reports errors importing topics.

[nodebb-plugin-import] importer.warn [2021-12-29T22:16:46.143Z] [process-count-at:11] skipping topic:_tid: 26:cid:7:_cid:3:uid:1704:_uid:1208 err: Error: [[error:no-category]]
My only fix so far has been that topics do not have topic_delete_time. This was easy to fix in the code.

-            + prefix + 'topics.topic_delete_time as _deleted, '
+            + 'FALSE as _deleted, ' // FIXME

The import seems to indicate the categories were imported.

[nodebb-plugin-import] importer.success [2021-12-29T22:16:44.895Z] Imported 4/4 categories (out of which 4 were already imported at an earlier time)

I am not able to find the _imported:_category: in mongo but I am not able to figure out where they are then imported into nodebb. The Topic.Post() fails because no category is found and the Admin users I am testing with seems to indicate it does not have permissions to create it on the fly.

So I am lost trying to figure out why it is trying to Topic.Post() before groups and categories have been imported.

Thanks for any help and thanks for this code it has been fun to figure out how nodebb and this plugin work.

Best
SM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant