[Bug 272663] www/gitea: Startup errors
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 272663] www/gitea: Startup errors"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 23 Jul 2023 07:07:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272663 --- Comment #1 from Stefan Bethke <stb@lassitu.de> --- László, can you please provide more information. I cannot reproduce either problem. How exactly are you trying to run Gitea? The permissions for app.ini are explained in etc/gitea/conf/app.ini.sample, please adjust according to your local needs. Gitea runs just fine with app.ini being read-only, you just need to make sure it contains all the entries that Gitea needs. If you'd rather have Gitea amend the file with missing entries, make the file writeable to whichever user you chose to run Gitea as. Where exactly are you seeing the error message? As far as I can tell, the error message states that 'function "DateFmtLong" not defined', which would indicate that something is wrong with that template. As you point out, there doesn't seem to be a template process-row in Gitea, so I'm confused where that file is coming from. The only similar template code I can see is # find . -type f | xargs grep .Process.Start ./admin/stacktrace-row.tmpl: <div class="description">{{if ne .Process.Type "none"}}{{TimeSince .Process.Start .root.locale}}{{end}}</div> But that doesn't have the function call in it. Is it possible that you have templates left over from an older install in /usr/local/share/gitea/templates? Regards, Stefan -- You are receiving this mail because: You are the assignee for the bug.