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

Closed
opened 2025-11-02 06:50:40 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @MrksHfmn on GitHub (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
Originally created by @MrksHfmn on GitHub (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 ```
GiteaMirror added the issue/duplicate label 2025-11-02 06:50:40 -06:00
Author
Owner

@techknowlogick commented on GitHub (Nov 9, 2020):

This is resolved with https://github.com/go-gitea/gitea/pull/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 commented on GitHub (Nov 9, 2020): This is resolved with https://github.com/go-gitea/gitea/pull/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.
Author
Owner

@MrksHfmn commented on GitHub (Nov 9, 2020):

Thank you!

@MrksHfmn commented on GitHub (Nov 9, 2020): Thank you!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#6273