(help needed) SQL errors when migrating database
So basically when installing blueprint, it was needed to use migrate database, after blueprint installed I got this error, and now my panel is stuck at maintenance mode and I cant set it back

22 Replies

sorry i forgot to add, when running the command this error appears
uhhh
haven't seen that before
just want to know - is there anything important on your panel?
yes me neither, so what i have tried doing is setting all tables in the panel db to different names than the tables the migration is trying to create, than switching it back however it did not work
if not we can just drop the db and redo a couple things - if yes we might need to do some more stuff to try to recover the db
it is a production panel with important data
alright the difficult route it is
have you tried rolling back the most recent migration?
how would I do that?
php artisan migrate:rollback

give me a moment
alright

oh help
uhhh i'm not exactly sure what to do here - might need to wait a bit for anyone else to check out this thread
So well for now what i did to return it back to normal state was do php artisan migrate:fresh --seed which dropped all tables and set migration status, than ran php artisan up, and imported database backup, so the panel can be access/used now however i cannot use any artisan commands after this as i get the same error in the first screenshot
I'm glad your panel is at least functional - probably best to wait for someone else to reply here though
Ok so, i might try and install pterodactyl on a different machine and import database, if that works that means I can reinstall the os on the main machine and reinstall pterodactyl
š¤
sounds good - hope it goes well
Are there are errors above this? Anything hinting at the reason the initial migration failed?
Notsure it only appearend after the blueprint installer was building the panel
does anyone know how to get rid of this error when building? I have already updated the panel to remove blueprint
bump
(Problem solved)