Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jul 2023 07:12:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 272663] www/gitea: Startup errors
Message-ID:  <bug-272663-7788-VJfcuG6MeU@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-272663-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-272663-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272663

--- Comment #2 from Stefan Bethke <stb@lassitu.de> ---
L=C3=A1szl=C3=B3,

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 ne=
ed
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 which=
ever
user you chose to run Gitea as.

Where exactly are you seeing the error message? As far as I can tell, the e=
rror
message states that 'function "DateFmtLong" not defined', which would indic=
ate
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=3D"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/templat=
es?

Regards,
Stefan

--=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-VJfcuG6MeU>