Closed Jodsderechte closed 4 months ago
Please read the guide for failed migrations. https://wiki.ree6.de/troubleshooting/migration-failed
Not entire sure how i'll run scripts in a containerized environment but i'll take a look thank you!
You have to make a database via pterodactyl. Once you do so you can run the docker exec command to run code on a container.
Contact Details
This issue
What happened?
Using the pterodactyl egg https://github.com/pelican-eggs/chatbots/blob/main/discord/ree6/egg-pterodactyl-ree6.json as mentioned in https://wiki.ree6.de/bot/self-hosting/self-host-with-pterodactyl creates the following error
08:06:50.723 [main] ERROR de.presti.ree6.sql.SQLConnector - Migration failed! org.flywaydb.core.internal.command.DbMigrate$FlywayMigrateException: Migration V1__Initial.sql failed 08:06:59 [main] ERROR de.presti.ree6.sql.SQLSession - Initial SessionFactory creation failed. org.hibernate.tool.schema.spi.SchemaManagementException: Schema-validation: missing table [AutoRoles]
I'm sure i've just messed somethign up but i don't rly know what. I've checked https://wiki.ree6.de/bot/configurations for the required configuraiton and have all that setup. I would copy paste you the whole config but i don't rly want my tokens out there in the wild.
Version
v3 (Current)
Relevant log output
Code of Conduct