Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 May 2019 03:13:57 +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-7XVlHjGMtL@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

--- Comment #3 from jbw@hilltopgroup.com ---
Ahhh.  I've found the issue in the debug.log.  After the upgrade (from 1.4 =
to
1.8.1) it couldn't write the JWT_SECRET due to a permissions issue.  For so=
me
reason, starting it manually as user git allowed that access, and now the J=
WT
secret is written.

...
May 29 22:53:27 git gitea[40628]: 2019/05/29 22:53:27
^[[1;31m[...s/setting/setting.go:729 NewContext()] [E] error saving generat=
ing
JWT secret to custom config: open /usr/local/etc/gitea/conf/app.ini: permis=
sion
denied^[[0m
May 29 22:54:32 git gitea[47246]: 2019/05/29 22:54:32
^[[1;31m[...s/setting/setting.go:729 NewContext()] [E] error saving generat=
ing
JWT secret to custom config: open /usr/local/etc/gitea/conf/app.ini: permis=
sion
denied^[[0m
May 29 22:59:51 git gitea[63870]: 2019/05/29 22:59:51
^[[1;31m[...s/setting/setting.go:729 NewContext()] [E] error saving generat=
ing
JWT secret to custom config: open /usr/local/etc/gitea/conf/app.ini: permis=
sion
denied^[[0m
...

--=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-7XVlHjGMtL>