From nobody Sun Jul 23 07:12:48 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4R7vdD6FXFz4mqJZ for ; Sun, 23 Jul 2023 07:12:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R7vdD4XRFz3Fpy for ; Sun, 23 Jul 2023 07:12:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690096368; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Ek/H5PzjCaRgAmR1y5oEvCI3AnSRGv8CgoSpUy5QSv0=; b=fjB5U5liSegLZIspR3jf8uD8Ucgmj+xpsiu89z0G5u8avmhhsrfBY14A97wO1Z7fU41xs0 JyBUrQDvpAiWO+0TiLpqbIvcPG7DX/aHvECVkIBJqoBj9BI1iAcCoEuXB4/L6mqO5UEMEg aBcOaiKJqP/bPyUoI44h4Xlrje9wrY95Gz4SmHfMy4SRzEu3QE452VlwV3TcpMFk1xf3uX A1Fwxm3JZA9BYq/kyuUljStb9lfUdWejy42+w+POkorJ4kttadbUtJy11XpFawyxt7bzEJ E9AgBI3w52+LVdtkRITCe3kITsCFMQWSbJ6P2oHzFaVBzvzrRwct9GvyIgo5xw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690096368; a=rsa-sha256; cv=none; b=kSYVuvHuSd7+MGkECmCJj/RwiQXs1uMbSVSSiPUm8KgVykcKhPI1IZwIC3zkhmnM5CFnva P/iZD+K8w4ZmgKlQd3yA+F07gHJ5jyd0/Sin/pHU71DQ/76hb10obDPycorodHkUVd0K3s d0CW2JzRm1MEI7AcvhbOjqVCmQt96l8+WGyszoRZp9ImWq4ReezQLqOr+1JkB39eE0k19P DBS99RX6F7STpHHWLRmfXVGNroxgcq3dRfxO3ICeYZQP0cuKPKVDGt4sa7Nt7cnR9tXy7S GXVe1NaKP1XwHqXCixSlZgKnOdMq3+aHjVfKLMk6wJs3NH8V+IhbqAJiwrGT6w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4R7vdD3cd9zSJk for ; Sun, 23 Jul 2023 07:12:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 36N7Cm8E046241 for ; Sun, 23 Jul 2023 07:12:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 36N7CmY6046240 for ports-bugs@FreeBSD.org; Sun, 23 Jul 2023 07:12:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 272663] www/gitea: Startup errors Date: Sun, 23 Jul 2023 07:12:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: stb@lassitu.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272663 --- Comment #2 from Stefan Bethke --- 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:
= {{if ne .Process.Type "none"}}{{TimeSince .Process.Start .root.locale}}{{end}} 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.=