Date: Sat, 22 Jul 2023 11:37:49 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 272663] www/gitea: Startup errors Message-ID: <bug-272663-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272663 Bug ID: 272663 Summary: www/gitea: Startup errors Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: laszlo@karolyi.hu CC: stb@lassitu.de CC: stb@lassitu.de Flags: maintainer-feedback?(stb@lassitu.de) Hello, two issues: Firstly, in 1.20.0 the configuration file /usr/local/etc/gitea/conf/app.ini= has to be writeable to the running user, usually git. If not (I haven't made it writeable for security reasons), gitea will fail to start up. Secondly =E2=80=94 and that is the bigger issue =E2=80=94 there is a templ= ate in the package that doesn't exist in the 1.20.0 tag of gitea, that makes gitea fail to sta= rt up: /usr/local/share/gitea/templates/admin/process-row.tmpl The error message for the template is: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D 2023/07/22 13:21:21 ...ates/htmlrenderer.go:138:wrapTmplErrMsg() [F] Gitea can't run with template errors: template error: builtin(s tatic):admin/process-row:6 : function "DateFmtLong" not defined ---------------------------------------------------------------------- <div class=3D"description"><span title=3D"{{DateFmt= Long .Process.Start}}">{{TimeSince .Process.Start .root.local e}}</span></div> ^^^^^^^^^^^ ---------------------------------------------------------------------- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D This template doesn't exist in the 1.20.0 tag on github: https://github.com/go-gitea/gitea/tree/v1.20.0/templates/admin Please fix the port. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272663-7788>