Migration failed: Error 1071 #435
Labels
No Label
dependencies
duplicate
help wanted
invalid
kind/bug
kind/feature
needs reproduction
question
security
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/vikunja#435
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I am using mysql db on another server. Vikunja deb and docker frontend.
when i manually run $ vikunja , i get the following error.
Here is my db config below
That looks like a db issue. What database version are you using?
Could you post the content of the migration table? (
select * from migration
).That way we can see what migration it is trying to run.
Maybe unrelated, but what is the collation of the database?
And on a side note, why are you running part of Vikunja on a seperate server, part of it in docker and part of it as deb package? Wouldn't it be easier to just run everything in docker or native?
Here is mysql server version. I have a central db server & Vikunja on it's own server
Server version: 10.1.44-MariaDB-0ubuntu0.18.04.1 Ubuntu 18.04
currently the migration is empty
Empty set (0.00 sec)
Here is the tableset
I havent had great luck getting vikunja api to run in docker, so i opted for the deb package for now.
If you feel its purely a db issue, then we can probably close this issue as I need teach myself some more mysql lol
This stackoverflow question suggests the issue comes from mysql max varchar length is too small. The task description field in vikunja was a
varchar(1000)
which has been changed in a migration.You could try to upgrade that limit (Not sure how that's possible though).
I'm also suspecting a "wrong" encoding, try setting it to
utf8mb4
.What issues did you have when trying to run Vikunja in docker?
Closing due to inactivity, feel free to reopen if the issue persists.