-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gitea fails to start: Failed to initialize ORM engine: sync database struct error: Error 1265: Data truncated for column 'theme' at row 1 #5681
Comments
Ping @adelowo |
Taking a look at this right now. @wyattoday what version of MySQL are you running? I cannot replicate this on |
MySQL 8.0.13, upgrading from the gitea commit previous to the “theme commit” to a commit after the “theme commit” |
Thanks for the heads up |
Having the same issue with the latest docker container - updated by watchtower (so also a previously used one). Running against |
Sorry folks, I'm getting to my computer in a few minutes and will pull down an |
I've found a workaround to get my container up and running. The |
Yeah, I believe that is the fix, but I want to test on a 8.X Mysql DB before doing anything. Downloading the docker image right now |
I didn't want to set Lines 170 to 175 in 31aa00f
|
Note to self --- Always Test on 5.X and 8.X |
Same for me. Setting the default theme to "gitea" for all users works. |
@securitaas What commit are you running? This was fixed in |
Hi, I have the some problem when trying to update from 1.7.1 to 1.8.3 The latest entry on log is |
[x]
):2019/01/09 16:43:38 [...itea/routers/init.go:61 GlobalInit()] [E] Failed to initialize ORM engine: sync database struct error: Error 1265: Data truncated for column 'theme' at row 1
2019/01/09 16:43:39 [...itea/routers/init.go:61 GlobalInit()] [E] Failed to initialize ORM engine: sync database struct error: Error 1265: Data truncated for column 'theme' at row 1
2019/01/09 16:43:39 [...itea/routers/init.go:61 GlobalInit()] [E] Failed to initialize ORM engine: sync database struct error: Error 1265: Data truncated for column 'theme' at row 1
2019/01/09 16:43:40 [...itea/routers/init.go:61 GlobalInit()] [E] Failed to initialize ORM engine: sync database struct error: Error 1265: Data truncated for column 'theme' at row 1
2019/01/09 16:43:40 [...itea/routers/init.go:61 GlobalInit()] [E] Failed to initialize ORM engine: sync database struct error: Error 1265: Data truncated for column 'theme' at row 1
Description
Using the latest gitea version fails to start. Likely due to changes not being made to the database.
Screenshots
The text was updated successfully, but these errors were encountered: