[Bug 238230] www/gitea 1.8.1 missing conf file causes failure in start

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 30 03:13:59 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238230

--- Comment #3 from jbw at 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 some
reason, starting it manually as user git allowed that access, and now the JWT
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 generating
JWT secret to custom config: open /usr/local/etc/gitea/conf/app.ini: permission
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 generating
JWT secret to custom config: open /usr/local/etc/gitea/conf/app.ini: permission
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 generating
JWT secret to custom config: open /usr/local/etc/gitea/conf/app.ini: permission
denied^[[0m
...

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list