If it always fails at 5 minutes it seems related to a timeout issue we found and fixed on 2022.1.8.
It seems to be failing when moving all MetaUI json files from Deployment/Server/Apps/MetaUI into the database, as a workaround you could try processing the files in batches.
Leave some json files, run the conversion, after it finishes you can remove those files and put the next batch, once all have been move to the database you should be fine.