Then the issue has to do with it not reading the post data.
My guess is that it’s here and for some reason it’s not finding the posts.
def posts(offset = 0, page_size = 2000)
post_keys = mongo.find(_key: "posts:pid").skip(offset).limit(page_size).pluck(:value)
post_keys.map { |post_key| post(post_key) }
end
I’m a live person who has made a living supporting Discourse for a decade and has written a bunch of importers and imported over a hundred forums from various other platforms.
If you want help from an AI assistant, see https://ask.discourse.com/