Skip to content

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

@f34rdotcom

Description

@f34rdotcom

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions