From nobody Sat Jul 22 11:37:49 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 4R7PYT68Rmz4pF6F for ; Sat, 22 Jul 2023 11:37:49 +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 4R7PYT4MQLz440X for ; Sat, 22 Jul 2023 11:37:49 +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=1690025869; 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; bh=8MOXXTevykwlvxIYtO/xHAI5VONRd7DDpcMw+S3cW5s=; b=Q2OzI7zZq4FSUFAx7q3TFpEvYC9fcYj1IpZ28hhC9nhz4fnXMDRhU/BeCPPD83fcNx9vaU ks0mlEmkVPfbV6fZCClLvupBAXN61yayp0z2QWzGc/8WzBuczrBIIBmyO+ZiJWyypVJUb9 HQ7lS/zdQuTAyhCPzlZYILiiQHA7UI7QXpTMTtlXKw1zMo79GfoLYMqxH41BKZEYwX1sgs UeerJqPtUMammRDJO1xk+IY+FeJWHbcSMxtxak0qPqZO1RolDakVCYjXyfci0XXoiFRijB dFTFeuDcir/yFxM91AWTpyf4qPGTTM9DPmZxRTPGtxJugENOK+74ovjOi2SKcQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690025869; a=rsa-sha256; cv=none; b=d1qyKe+1dGjrVTguQkshxBGgyVibMS+tjLk+ZQ22Tv9sZRFY2oK9oOLb13yn7aMVBByL/x ryKHuNGl9N2sVgh1g3zzFpHrfwwS3hbzRht4Z74+yp1F5qZVz/BiwDWfLgvPvuozebd8Iv frF+fnMx3L3RCFL+zvz6kYFtaQGK/6Y3EoNQ0oUQupNsUYV3XP7c23jhtFjh2zCJJ3/XKT k9QRmTCXCuUSSs6IRzyt+UMLQE5IYyYu8hNi09m2aw3cyY7tQwUETyHjLQQ5Gonkir4aa1 h70OU/ReZfZkxOKy+NOmcrbXP6dkVIDiFuWV79IVSMPpfH54OK0mJ9RWURrn6w== 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 4R7PYT34Jdzt8c for ; Sat, 22 Jul 2023 11:37:49 +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 36MBbnQA039456 for ; Sat, 22 Jul 2023 11:37:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 36MBbn6H039455 for ports-bugs@FreeBSD.org; Sat, 22 Jul 2023 11:37:49 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: Sat, 22 Jul 2023 11:37:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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 Only Me X-Bugzilla-Who: laszlo@karolyi.hu 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: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: 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 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 ----------------------------------------------------------------------
{{TimeSince .Process.Start .root.local e}}
^^^^^^^^^^^ ---------------------------------------------------------------------- =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.=