Skip to content
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

Database Error on update to 1.7.1 #5923

Closed
6 tasks
vbonline opened this issue Feb 1, 2019 · 2 comments
Closed
6 tasks

Database Error on update to 1.7.1 #5923

vbonline opened this issue Feb 1, 2019 · 2 comments
Labels
issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail

Comments

@vbonline
Copy link

vbonline commented Feb 1, 2019

  • Gitea version (or commit ref):
  • Git version: 1.7.1
  • Operating system: Ubuntu 18.04.1
  • Database (use [x]):
    • PostgreSQL
    • [ x] MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:
    2019/02/01 09:52:22 [I] ORM engine initialization attempt Order milestone by asc or option to set milestones order #10/10...
    2019/02/01 09:52:23 [...itea/routers/init.go:81 GlobalInit()] [E] ORM engine initialization failed: sync database struct error: Error 1138: Invalid use of NULL value

Description

Trying an update from gitea-1.60 to gitea.1.7.1. gitea-1.7.1 doesn't start, error in logfile pointing to error in mysql database.
...

Screenshots

@techknowlogick
Copy link
Member

Are you able to enable DB logging, and post the SQL statement that is failing? Info on how to enable that can be found here: https://docs.gitea.io/en-us/config-cheat-sheet/

@techknowlogick techknowlogick added the issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail label Feb 3, 2019
@vbonline
Copy link
Author

vbonline commented Feb 3, 2019

Enabled DB-Logging, downloaded latest Master Binary, restarted and it worked without error.

Disabled DB-Logging restarted and gitea-1.7.1 works without an error.

Slightly baffled, but everything is fine now.

@vbonline vbonline closed this as completed Feb 3, 2019
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail
Projects
None yet
Development

No branches or pull requests

2 participants