MichaelBelgium / mybb_to_flarum

A Flarum extension to convert a mybb forum to a fresh flarum install
MIT License
26 stars 15 forks source link

Trouble to import avatars #25

Closed redfish462 closed 2 years ago

redfish462 commented 2 years ago

Hi,

Thank you for the script ! It worked well (apart 2/3 things).

I used this command : ./flarum migrate-data:from-mybb --host=127.0.0.1 --user=user--password='password' --db=mybb --path=/mybb/path/Upload

I had theses logs :


9653 users migrated
24 categories migrated
PHP Notice:  Undefined offset: 0 in /flarum/vendor/s9e/text-formatter/src/Plugins/BBCodes/Parser.php on line 247
4583 discussions migrated
112824 posts migrated
Migration successful``` 

But : Avatars are not imported (on web ui it works well but the script is crashing after 30 seconds so I used the command line)
MichaelBelgium commented 2 years ago

I'll have look at avatars and that php notice, it's been some time i've tested the avatars. I don't think MyBB changed something about avatar paths right?

MichaelBelgium commented 2 years ago

Ive pushed an update (v8.1) that rewrites some stuff of the command,