FS#66259 - [gitea] fails to start due to wrong folder naming
Attached to Project:
Community Packages
Opened by Mathieu (MrBeardedMan) - Tuesday, 14 April 2020, 20:51 GMT
Last edited by Maxime Gauduin (Alucryd) - Saturday, 18 April 2020, 05:23 GMT
Opened by Mathieu (MrBeardedMan) - Tuesday, 14 April 2020, 20:51 GMT
Last edited by Maxime Gauduin (Alucryd) - Saturday, 18 April 2020, 05:23 GMT
|
Details
Description:
options folder should be renamed conf during build process as mentioned here https://github.com/go-gitea/gitea/issues/535#issuecomment-269671556 Additional info: * using latest version from community repo: 1.11.4-2 Steps to reproduce: try to start gitea and it will fail with following message: panic: fail to set message file(en-US): open conf/locale/locale_en-US.ini: no such file or directory |
This task depends upon
Closed by Maxime Gauduin (Alucryd)
Saturday, 18 April 2020, 05:23 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#66145
Saturday, 18 April 2020, 05:23 GMT
Reason for closing: Duplicate
Additional comments about closing:
[Warning] Aborted connection 2294 to db: 'gitea' user: 'gitea' host: 'localhost' (Got an error reading communication packets)
<stacktrace>
panic: fail to set message file(en-US): open conf/locale/locale_en-US.ini: no such file or directory
I solved it by starting from the app.ini supplied by the package and manually updating values according to my previous config. Then I encountered the installation page of gitea with all values already filled in - finishing the installation and 1.11.4-2 is up and running
it appears that the following entry was added to app.ini which should fix the issue.
STATIC_ROOT_PATH = /usr/share/gitea