From nobody Fri May 17 10:16:34 2024 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 4VgjYH5PL7z5KvFX for ; Fri, 17 May 2024 10:16:35 +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 4VgjYH3bz2z536Q for ; Fri, 17 May 2024 10:16:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715940995; a=rsa-sha256; cv=none; b=ivCJPsTKACvA7o4N73zocBpf5JipludOQXRNxujVVDqTwfd3YNXFnOh+aC2s6d9ymZkCfL shcN2Z69AWTPBFWEgfHrlifGbQTH0zgEgQ6jeciTBTPIIecVLzQ3jbKKkfAwbVGg9XVDdb aIcvTqcwEsJ3kS71/MpXfEW797d0NslahPJMaURrdsaRwQAXA/rAV4Lu8c+D0jFzv/+1eg jIXfBk8f7uB6gIRBiUknrOwJ7AqwujMGuFS079dP7qgD7d+0uKN9r0N2npRhCspa+XbZdt DIL2Shvz1dafiMXIt4Ez1tR2YLjJlCBCr50EK1s7i01nQYvsqIhrDpxe9fDFUQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715940995; 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=eY8/+uKLSOddB4GKLgGm2MqqZm/9/+f2uUugD0AcvAo=; b=Y7XFWHDehNf9cKQsIfzkpEs7WUppqpgvvChiZVlvu1/43SLe3ZUI+sMgk7iOeBqToqVQCH rLcBvqDmYvD2U54x374tizP7cNHtkOedIQs0MFTl8p1R8hytdQ3to/7S1k7W9BIdSeOwSw oIwMzMT586D5dmxbUyRlwvkSAPGXvDtm66d6iModCnOj1BX8lA/L5uYl0o6GSakavgL3hh 5RDzNdoMTsoKq1dJL4ET2vw/rLmcDAqOBAn1ej2x4OcOXSM5KuRqmQIa/jWQV/UjQ0tQmo pYo2rI6p3Xa/vvkQSrMTpy41/1ew3h656dCidyRPPomaTAxUsSx9vqk73mLbxQ== 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 4VgjYH2mfczdb2 for ; Fri, 17 May 2024 10:16:35 +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 44HAGZAa005887 for ; Fri, 17 May 2024 10:16:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44HAGZ2u005886 for ports-bugs@FreeBSD.org; Fri, 17 May 2024 10:16:35 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 278855] www/forgejo 1.21.10.0_1 does not start Date: Fri, 17 May 2024 10:16:34 +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 Only Me X-Bugzilla-Who: marko.cupac@mimar.rs 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: attachments.created 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: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278855 --- Comment #5 from Marko Cupa=C4=87 --- Created attachment 250718 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D250718&action= =3Dedit empty dir creation / removal on install / delete Hi, indeed, I had set 64 instead of 32 byte string for JWT_SECRET in app.ini, a= fter fixing it forgejo started fine, I am already using it. In the meantime I upgraded to latest 7.0.2, but now my previously valid con= fig won't start. Luckily, there's now instruction to check with 'forgejo doctor check' which I ran and got: - [I] Work directory: "/usr/local/share/forgejo" - [E] Is REQUIRED but is not accessible. ERROR: stat /usr/local/share/forgejo: no such file or directory `WORK_PATH =3D /usr/local/share/forgejo` does not exist in app.ini.sample, = but it gets added automatically on service start provided git user can write to app.ini. I created dir manually and it now starts fine. Interestingly enough, it see= ms irrelevant whether git user can write to it (forgejo starts when folder is root:wheel 755). What is this dir used for? It seems forgejo works just fine without being a= ble to write to it, and it being empty, without also reading from it. I patched port so that empty dir is created at install (and removed at deinstall), but perhaps people who understand forgejo internals better can propose better solution. --=20 You are receiving this mail because: You are the assignee for the bug.=