From owner-freebsd-ports-bugs@freebsd.org Thu May 30 10:56:39 2019 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B2DC315BDFFE for ; Thu, 30 May 2019 10:56:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 36AEF83152 for ; Thu, 30 May 2019 10:56:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id E851215BDFFC; Thu, 30 May 2019 10:56:38 +0000 (UTC) Delivered-To: ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D693315BDFFB for ; Thu, 30 May 2019 10:56:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5D73A8314F for ; Thu, 30 May 2019 10:56:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id A12543AC6 for ; Thu, 30 May 2019 10:56:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x4UAub9P013022 for ; Thu, 30 May 2019 10:56:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x4UAubhj013021 for ports-bugs@FreeBSD.org; Thu, 30 May 2019 10:56:37 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 238230] www/gitea 1.8.1 missing conf file causes failure in start Date: Thu, 30 May 2019 10:56:37 +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: 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 MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 May 2019 10:56:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238230 --- Comment #5 from stb@lassitu.de --- Unfortunately, Gitea does not really use a "standard" file layout for config files, messages catalogs, templates, etc., but expects them to live right n= ext to the executable binary. In the FreeBSD port, I'm installing the files in the places that a FreeBSD = user would expect them to live ($PREFIX/etc, $PREFIX/share, ...). The start script will run gitea with appropriate command line arguments to direct it to the correct location of these files. That means that running g= itea without any such command line arguments will fail. Also note that running gitea as root will likely mess up permissions, as gi= tea expects to run as (and be able to modify files as) the git user. The start script uses daemon(8) to write the output of the gitea process to syslog as daemon:debug. Either configure syslog to write debug output to a file, or set gitea_facility and gitea_priority in rc.conf to values that ma= ke messages show up in an existing log file. For example, setting gitea_priority=3Derror and (re-)starting the gitea ser= vice should make those messages appear in /var/log/messages. Also note that when upgrading from an earlier release to Gitea 1.8.x, you n= eed to add a new config option, or set permissions on the config file so gitea = can add the option itself. See pkg-message for details. --=20 You are receiving this mail because: You are the assignee for the bug.=