Skip to content

Migration Error when upgrading from 6.0.26 to 6.1.13 #8762

Answered by cachho
cachho asked this question in Q&A
Discussion options

You must be logged in to vote

I figured it out!

  1. Created a clean copy with a separate docker volume and exported the creation schema of the table that's missing according to the error message with mysqldump -u firefly -p --skip-column-statistics firefly transaction_currency_user_group > transaction_currency_user_group.sql. For this I first had to use apt-get update && apt-get install mysql-client, because mysqldump was not found.
  2. Use docker cp to copy the .sql file to the bugged container.
  3. Tried to import it with mariadb -u firefly -p firefly < /db_import/transaction_currency_user_group.sql but of course that wouldn't work due to the error ERROR 1005 (HY000) at line 25: Can't create table `firefly`.`transaction_curren…

Replies: 1 comment 12 replies

Comment options

You must be logged in to vote
12 replies
@cachho
Comment options

@cachho
Comment options

@JC5
Comment options

@cachho
Comment options

Answer selected by cachho
@JC5
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #8761 on April 07, 2024 15:43.