Skip to content

Docker Gitea latest not starting up (Downgrading Database Error) #13476

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

Closed
MrksHfmn opened this issue Nov 9, 2020 · 2 comments
Closed

Docker Gitea latest not starting up (Downgrading Database Error) #13476

MrksHfmn opened this issue Nov 9, 2020 · 2 comments
Labels
issue/duplicate The issue has already been reported.

Comments

@MrksHfmn
Copy link

MrksHfmn commented Nov 9, 2020

After an update to gitea latest, gitea does not start anymore. apparently the version number does not fit anymore!?
Database is MariaDB.

gitea       | 2020/11/09 07:10:42 cmd/web.go:115:runWeb() [I] Starting Gitea on PID: 14
gitea       | 2020/11/09 07:10:42 ...dules/setting/git.go:94:newGit() [I] Git Version: 2.26.2, Wire Protocol Version 2 Enabled
gitea       | 2020/11/09 07:10:42 cmd/web.go:160:runWeb() [I] Global init
gitea       | 2020/11/09 07:10:42 ...dules/setting/git.go:94:newGit() [I] Git Version: 2.26.2, Wire Protocol Version 2 Enabled
gitea       | 2020/11/09 07:10:42 routers/init.go:164:GlobalInit() [T] AppPath: /app/gitea/gitea
gitea       | 2020/11/09 07:10:42 routers/init.go:165:GlobalInit() [T] AppWorkPath: /app/gitea
gitea       | 2020/11/09 07:10:42 routers/init.go:166:GlobalInit() [T] Custom path: /data/gitea
gitea       | 2020/11/09 07:10:42 routers/init.go:167:GlobalInit() [T] Log path: /data/gitea/log
gitea       | Downgrading database version from '159' to '158' is not supported and may result in loss of data integrity.
gitea       | If you really know what you're doing, execute `UPDATE version SET version=158 WHERE id=1;`
gitea-db    | 2020-11-09  6:10:42 9 [Warning] Aborted connection 9 to db: 'gitea' user: 'gitea' host: '172.22.0.3' (Got an error reading communication packets)
gitea       | Received signal 15; terminating.
gitea exited with code 0
@techknowlogick
Copy link
Member

This is resolved with #13448, please wait for it to bulid and publish docker image before updating. In future please use the issue template for reporting as otherwise it adds overhead for issue triaging.

@techknowlogick techknowlogick added the issue/duplicate The issue has already been reported. label Nov 9, 2020
@MrksHfmn
Copy link
Author

MrksHfmn commented Nov 9, 2020

Thank you!

@go-gitea go-gitea locked and limited conversation to collaborators Dec 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/duplicate The issue has already been reported.
Projects
None yet
Development

No branches or pull requests

2 participants