Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 May 2019 03:03:37 +0000
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
Message-ID:  <bug-238230-7788-uVRF90SKdG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-238230-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-238230-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=3D238230

jbw@hilltopgroup.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jbw@hilltopgroup.com

--- Comment #1 from jbw@hilltopgroup.com ---
I'm having the same issue on FreeBSD 12 and gitea 1.8.1.

The issue seems to be in the daemonization within the rc script.

# /usr/sbin/daemon -S -l daemon -s debug -T gitea -u git -p /var/run/gitea.=
pid
/usr/bin/env -i 'GITEA_WORK_DIR=3D/usr/local/share/gitea'
'GITEA_CUSTOM=3D/usr/local/etc/gitea' 'HOME=3D/usr/local/git'
'PATH=3D/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin' 'USER=3Dgit'
/usr/local/sbin/gitea web=20

exits with no error or output, and nothing in the log.

However, when I run:
# su git
$ /usr/bin/env -i 'GITEA_WORK_DIR=3D/usr/local/share/gitea'
'GITEA_CUSTOM=3D/usr/local/etc/gitea' 'HOME=3D/usr/local/git'
'PATH=3D/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin' 'USER=3Dgit'
/usr/local/sbin/gitea web

It works just fine.

--=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-238230-7788-uVRF90SKdG>