We're Hiring!

Mattermost, Inc.

Database migration

After a failed upgrade I cannot update to version 5.34.

I’m using the update script and after the service starts I get an error in the database migration.

Failed to apply database migrations
Dirty database version 1. Fix and force version.

Is there a way to force the migration to update the database schema?

Solved.

As stated in

I dropped the table schema_migrations and could upgrade.