Migration of database stuck on loading

When I try to migrate the database using php artisan october:migrate in the terminal, it succesfully migrates the database. But when I try to open the backend it is stuck on loading the migration. I have tried to php artisan october:migrate --rollback and php artisan migrate:fresh and then migrating it again but it still doesn’t work.

might be worth taking a look in /storage/logs/system.log to see why the migration pauses on the login page.