Migrating vBulletin 5 database - Import attachments errors about attachment extension

Mubasher112
Sat, 06 Jul 2024 13:53:34 +0000
Migration

I’ve successfully imported my vBulletin 5 forum into Discourse. While the overall import script works fine, I’m encountering errors when importing attachments. The attachments are stored in my database and include the following extensions: java, html, jpg, png, txt, rtf, zip, js, and xml.

Upon debugging the import_attachment action, I discovered that only attachments with the java extension are being imported correctly. The script fails for attachments with other extensions.

Has anyone else in the community faced issues when importing attachments with these file extensions? Does anyone have insights on why the script might be failing with these particular file types?

Here’s a brief overview of the issue:

The first three files in my database have the java extension and are imported without problems.

The script fails when it encounters a file with the jpg extension.

@pfaffman Any advice or solutions would be greatly appreciated!

19 posts - 3 participants