Are your importing on new wordpress’s version? if so then you should find the old version of wordpress and import then upgrade to wordpress 6.0 then repair will work fine I hope.
Disclaimer: make backup of everything before.
Make sure the permissions of the folder wp-content/uploads are correct 755 CHMOD.