Open link in a new tab

Content

Expand project menu

docker with external mysql fails

Hi

I am using :latest version

database is created with UTF8

Docker initialises and starts creation of the tables. then suddenly it moves to migration nad after a while fails on:

openproject.1.8vgxuq7el4ha@ovh1    |        Migrating to MoveHashedTokenToCore (20171106074835)
openproject.1.8vgxuq7el4ha@ovh1    |        == 20171106074835 MoveHashedTokenToCore: migrating ============================
openproject.1.8vgxuq7el4ha@ovh1    |        -- rename_table(:tokens, :plaintext_tokens)
openproject.1.8vgxuq7el4ha@ovh1    | rake aborted!
openproject.1.8vgxuq7el4ha@ovh1    | StandardError: An error has occurred, all later migrations canceled:
openproject.1.8vgxuq7el4ha@ovh1    |
openproject.1.8vgxuq7el4ha@ovh1    | Mysql2::Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'INDEX `index_tokens_on_user_id` TO `index_plaintext_tokens_on_user_id`' at line 1: ALTER TABLE `plaintext_tokens` RENAME INDEX `index_tokens_on_user_id` TO `index_plaintext_tokens_on_user_id`

any ideas?