FS#66459 - Gitea web v1.11.4-2 broken
Attached to Project:
Community Packages
Opened by Samuel (swalladge) - Wednesday, 29 April 2020, 06:03 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 29 April 2020, 06:27 GMT
Opened by Samuel (swalladge) - Wednesday, 29 April 2020, 06:03 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 29 April 2020, 06:27 GMT
|
Details
Description: gitea web v1.11.4 crashes:
``` [gitea@host ~]$ gitea --version Gitea version 1.11.4 built with GNU Make 4.3, go1.14.1 : sqlite, pam [gitea@host ~]$ gitea web -c /etc/gitea/app.ini 2020/04/29 15:27:13 cmd/web.go:107:runWeb() [I] Starting Gitea on PID: 17658 2020/04/29 15:27:13 ...dules/setting/git.go:91:newGit() [I] Git Version: 2.26.2, Wire Protocol Version 2 Enabled 2020/04/29 15:27:13 ...es/setting/markup.go:61:newMarkupSanitizer() [W] Skipping empty section: markup.sanitizer. 2020/04/29 15:27:13 routers/init.go:87:GlobalInit() [T] AppPath: /usr/bin/gitea 2020/04/29 15:27:13 routers/init.go:88:GlobalInit() [T] AppWorkPath: /var/lib/gitea/ 2020/04/29 15:27:13 routers/init.go:89:GlobalInit() [T] Custom path: /var/lib/gitea/custom 2020/04/29 15:27:13 routers/init.go:90:GlobalInit() [T] Log path: /var/log/gitea/ 2020/04/29 15:27:13 ...dules/setting/log.go:233:newLogService() [I] Gitea v1.11.4 built with GNU Make 4.3, go1.14.1 : sqlite, pam panic: fail to set message file(en-US): open conf/locale/locale_en-US.ini: no such file or directory goroutine 1 [running]: gitea.com/macaron/i18n.initLocales(0xc0007c7958, 0x0, 0x556ce28240b5, 0xb, 0xc00063dbc0, 0x556ce2834a38, 0x12, 0xc000204200, 0x16, 0x20, ...) gitea.com/macaron/i18n@v0.0.0-20190822004228-474e714e2223/i18n.go:57 +0x68b gitea.com/macaron/i18n.I18n(0xc00095f500, 0x1, 0x1, 0x0, 0x0) gitea.com/macaron/i18n@v0.0.0-20190822004228-474e714e2223/i18n.go:160 +0xef code.gitea.io/gitea/routers/routes.NewMacaron(0x556ce2fbb080) code.gitea.io/gitea/routers/routes/routes.go:187 +0x937 code.gitea.io/gitea/cmd.runWeb(0xc0001d0b00, 0x0, 0x0) code.gitea.io/gitea/cmd/web.go:119 +0x2c8 github.com/urfave/cli.HandleAction(0x556ce2cc9f00, 0x556ce2f57c30, 0xc0001d0b00, 0xc00007f300, 0x0) github.com/urfave/cli@v1.20.0/app.go:490 +0xca github.com/urfave/cli.Command.Run(0x556ce2812f2e, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0, 0x556ce283e10d, 0x16, 0x0, ...) github.com/urfave/cli@v1.20.0/command.go:210 +0x9ea github.com/urfave/cli.(*App).Run(0xc000255040, 0xc0001b0000, 0x4, 0x4, 0x0, 0x0) github.com/urfave/cli@v1.20.0/app.go:255 +0x743 main.main() code.gitea.io/gitea/main.go:109 +0x818 ``` Was last known working on Gitea 1.10.3. I suspect it's the issue described in https://github.com/go-gitea/gitea/issues/1014, where gitea must be built with `TAGS=bindata`. 1.10.3 from the official repos was built with bindata: `v1.10.3 built with GNU Make 4.2.1, go1.13.6 : bindata, sqlite, pam`, but 1.11.4 isn't. Additional info: * package version(s): 1.11.4-2 * config and/or log files etc. - my config is fairly similar to default configuration. * link to upstream bug report, if any - https://github.com/go-gitea/gitea/issues/1014 Steps to reproduce: 1. Instead gitea 2. run `sudo -u gitea gitea web -c /etc/gitea/app.ini` |
This task depends upon
Closed by Doug Newgard (Scimmia)
Wednesday, 29 April 2020, 06:27 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#66259
Always watch your .pacnew files
Wednesday, 29 April 2020, 06:27 GMT
Reason for closing: Duplicate
Additional comments about closing:
Always watch your .pacnew files