Top Menu

Jump to content
    Global modules

    Global modules

    • Home
    • Projects
    • Activity
    • Work packages
    • Gantt charts
    • Calendars
    • Team planners
    • Boards
    • News
    Home
    Home
Help
    Getting started
    • Introduction video
  • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support
  • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation

User menu

Sign in
Forgot your password?

or sign in with your existing account

OpenProject ID Google

Side Menu

Collapse project menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Expand project menu
Support Installation & Updates
  1. OpenProject Community
  2. OpenProject
  3. Forums
  4. Support Installation & Updates
  5. docker with external mysql fails

docker with external mysql fails

Added by Marcin Ciesielski over 6 years ago

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?


Loading...