You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Restarting the system makes gitea complain about permissions being too strict; every 2 seconds
Mar 20 06:54:02 brick systemd[30014]: StateDirectory 'gitea' already exists but the mode is different. (filesystem: 750 StateDirectoryMode: 755)
Mar 20 06:54:02 brick systemd[30014]: LogsDirectory 'gitea' already exists but the mode is different. (filesystem: 750 LogsDirectoryMode: 755)
Mar 20 06:54:02 brick gitea[30014]: 2019/03/20 06:54:02 [...s/setting/setting.go:741 NewContext()] [E] Failed to load custom conf '/etc/gitea/app>
Mar 20 06:54:02 brick systemd[1]: gitea.service: Main process exited, code=exited, status=1/FAILURE
Mar 20 06:54:02 brick systemd[1]: gitea.service: Failed with result 'exit-code'.
Mar 20 06:54:04 brick systemd[1]: gitea.service: Service RestartSec=2s expired, scheduling restart.
Mar 20 06:54:04 brick systemd[1]: gitea.service: Scheduled restart job, restart counter is at 71807.
Mar 20 06:54:04 brick systemd[1]: Stopped Gitea (Git with a cup of tea).
Mar 20 06:54:04 brick systemd[1]: Started Gitea (Git with a cup of tea).
After system restart, however, error messages start again filling the log.
Expected behavior:
gitea should not complain and error out on permissions being too strict. Also, it seems to be the only culprit responsible for changing the folder permissions.
The text was updated successfully, but these errors were encountered:
Oh, yes, as you say it, I see that the line begins with systemd. The question is then, where from does systemd get the information that a directory should have a certain mode? I couldn't find anything in app.ini nor in gitea.service.
After researching, yes, this is a warning message from systemd.
The real problem, which I observed is that gitea didn't want to start. I thought the permissions were the culpit when in fact they are not. I will research the remaining problem and open a new issue.
[x]
):Description
Restarting the system makes gitea complain about permissions being too strict; every 2 seconds
Workaround:
After system restart, however, error messages start again filling the log.
Expected behavior:
gitea should not complain and error out on permissions being too strict. Also, it seems to be the only culprit responsible for changing the folder permissions.
The text was updated successfully, but these errors were encountered: