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
错误日志如下:
May 8 21:02:39 localhost systemctl[4313]: [systemctl start gogs.service] called by PID 3985 (-bash)
May 8 21:02:39 localhost systemd[1]: Started Gogs.
May 8 21:02:39 localhost gogs[4315]: 2023/05/08 21:02:39 [FATAL] [...ogs.io/gogs/internal/conf/log.go:173 InitLogging()] Failed to init file logger: initialize logger: init file "/usr/local/soft/gogs/log/gogs.log": open file "/usr/local/soft/gogs/log/gogs.log": open /usr/local/soft/gogs/log/gogs.log: read-only file system
May 8 21:02:39 localhost systemd[1]: gogs.service: Main process exited, code=exited, status=1/FAILURE
May 8 21:02:39 localhost systemd[1]: gogs.service: Failed with result 'exit-code'.
May 8 21:02:39 localhost systemd[1]: gogs.service: Scheduled restart job, restart counter is at 1.
May 8 21:02:39 localhost systemd[1]: Stopped Gogs.
May 8 21:02:39 localhost systemd[1]: Started Gogs.
May 8 21:02:39 localhost gogs[4326]: 2023/05/08 21:02:39 [FATAL] [...ogs.io/gogs/internal/conf/log.go:173 InitLogging()] Failed to init file logger: initialize logger: init file "/usr/local/soft/gogs/log/gogs.log": open file "/usr/local/soft/gogs/log/gogs.log": open /usr/local/soft/gogs/log/gogs.log: read-only file system
May 8 21:02:39 localhost systemd[1]: gogs.service: Main process exited, code=exited, status=1/FAILURE
May 8 21:02:39 localhost systemd[1]: gogs.service: Failed with result 'exit-code'.
May 8 21:02:39 localhost systemd[1]: gogs.service: Scheduled restart job, restart counter is at 2.
May 8 21:02:39 localhost systemd[1]: Stopped Gogs.
May 8 21:02:39 localhost systemd[1]: Started Gogs.
May 8 21:02:39 localhost gogs[4337]: 2023/05/08 21:02:39 [FATAL] [...ogs.io/gogs/internal/conf/log.go:173 InitLogging()] Failed to init file logger: initialize logger: init file "/usr/local/soft/gogs/log/gogs.log": open file "/usr/local/soft/gogs/log/gogs.log": open /usr/local/soft/gogs/log/gogs.log: read-only file system
May 8 21:02:39 localhost systemd[1]: gogs.service: Main process exited, code=exited, status=1/FAILURE
May 8 21:02:39 localhost systemd[1]: gogs.service: Failed with result 'exit-code'.
May 8 21:02:39 localhost systemd[1]: gogs.service: Scheduled restart job, restart counter is at 3.
May 8 21:02:39 localhost systemd[1]: Stopped Gogs.
May 8 21:02:39 localhost systemd[1]: Started Gogs.
May 8 21:02:40 localhost gogs[4347]: 2023/05/08 21:02:40 [FATAL] [...ogs.io/gogs/internal/conf/log.go:173 InitLogging()] Failed to init file logger: initialize logger: init file "/usr/local/soft/gogs/log/gogs.log": open file "/usr/local/soft/gogs/log/gogs.log": open /usr/local/soft/gogs/log/gogs.log: read-only file system
May 8 21:02:40 localhost systemd[1]: gogs.service: Main process exited, code=exited, status=1/FAILURE
May 8 21:02:40 localhost systemd[1]: gogs.service: Failed with result 'exit-code'.
May 8 21:02:40 localhost systemd[1]: gogs.service: Scheduled restart job, restart counter is at 4.
May 8 21:02:40 localhost systemd[1]: Stopped Gogs.
May 8 21:02:40 localhost systemd[1]: Started Gogs.
May 8 21:02:40 localhost gogs[4357]: 2023/05/08 21:02:40 [FATAL] [...ogs.io/gogs/internal/conf/log.go:173 InitLogging()] Failed to init file logger: initialize logger: init file "/usr/local/soft/gogs/log/gogs.log": open file "/usr/local/soft/gogs/log/gogs.log": open /usr/local/soft/gogs/log/gogs.log: read-only file system
May 8 21:02:40 localhost systemd[1]: gogs.service: Main process exited, code=exited, status=1/FAILURE
May 8 21:02:40 localhost systemd[1]: gogs.service: Failed with result 'exit-code'.
May 8 21:02:40 localhost systemd[1]: gogs.service: Scheduled restart job, restart counter is at 5.
May 8 21:02:40 localhost systemd[1]: Stopped Gogs.
May 8 21:02:40 localhost systemd[1]: gogs.service: Start request repeated too quickly.
May 8 21:02:40 localhost systemd[1]: gogs.service: Failed with result 'exit-code'.
May 8 21:02:40 localhost systemd[1]: Failed to start Gogs.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
错误日志如下:
May 8 21:02:39 localhost systemctl[4313]: [systemctl start gogs.service] called by PID 3985 (-bash)
May 8 21:02:39 localhost systemd[1]: Started Gogs.
May 8 21:02:39 localhost gogs[4315]: 2023/05/08 21:02:39 [FATAL] [...ogs.io/gogs/internal/conf/log.go:173 InitLogging()] Failed to init file logger: initialize logger: init file "/usr/local/soft/gogs/log/gogs.log": open file "/usr/local/soft/gogs/log/gogs.log": open /usr/local/soft/gogs/log/gogs.log: read-only file system
May 8 21:02:39 localhost systemd[1]: gogs.service: Main process exited, code=exited, status=1/FAILURE
May 8 21:02:39 localhost systemd[1]: gogs.service: Failed with result 'exit-code'.
May 8 21:02:39 localhost systemd[1]: gogs.service: Scheduled restart job, restart counter is at 1.
May 8 21:02:39 localhost systemd[1]: Stopped Gogs.
May 8 21:02:39 localhost systemd[1]: Started Gogs.
May 8 21:02:39 localhost gogs[4326]: 2023/05/08 21:02:39 [FATAL] [...ogs.io/gogs/internal/conf/log.go:173 InitLogging()] Failed to init file logger: initialize logger: init file "/usr/local/soft/gogs/log/gogs.log": open file "/usr/local/soft/gogs/log/gogs.log": open /usr/local/soft/gogs/log/gogs.log: read-only file system
May 8 21:02:39 localhost systemd[1]: gogs.service: Main process exited, code=exited, status=1/FAILURE
May 8 21:02:39 localhost systemd[1]: gogs.service: Failed with result 'exit-code'.
May 8 21:02:39 localhost systemd[1]: gogs.service: Scheduled restart job, restart counter is at 2.
May 8 21:02:39 localhost systemd[1]: Stopped Gogs.
May 8 21:02:39 localhost systemd[1]: Started Gogs.
May 8 21:02:39 localhost gogs[4337]: 2023/05/08 21:02:39 [FATAL] [...ogs.io/gogs/internal/conf/log.go:173 InitLogging()] Failed to init file logger: initialize logger: init file "/usr/local/soft/gogs/log/gogs.log": open file "/usr/local/soft/gogs/log/gogs.log": open /usr/local/soft/gogs/log/gogs.log: read-only file system
May 8 21:02:39 localhost systemd[1]: gogs.service: Main process exited, code=exited, status=1/FAILURE
May 8 21:02:39 localhost systemd[1]: gogs.service: Failed with result 'exit-code'.
May 8 21:02:39 localhost systemd[1]: gogs.service: Scheduled restart job, restart counter is at 3.
May 8 21:02:39 localhost systemd[1]: Stopped Gogs.
May 8 21:02:39 localhost systemd[1]: Started Gogs.
May 8 21:02:40 localhost gogs[4347]: 2023/05/08 21:02:40 [FATAL] [...ogs.io/gogs/internal/conf/log.go:173 InitLogging()] Failed to init file logger: initialize logger: init file "/usr/local/soft/gogs/log/gogs.log": open file "/usr/local/soft/gogs/log/gogs.log": open /usr/local/soft/gogs/log/gogs.log: read-only file system
May 8 21:02:40 localhost systemd[1]: gogs.service: Main process exited, code=exited, status=1/FAILURE
May 8 21:02:40 localhost systemd[1]: gogs.service: Failed with result 'exit-code'.
May 8 21:02:40 localhost systemd[1]: gogs.service: Scheduled restart job, restart counter is at 4.
May 8 21:02:40 localhost systemd[1]: Stopped Gogs.
May 8 21:02:40 localhost systemd[1]: Started Gogs.
May 8 21:02:40 localhost gogs[4357]: 2023/05/08 21:02:40 [FATAL] [...ogs.io/gogs/internal/conf/log.go:173 InitLogging()] Failed to init file logger: initialize logger: init file "/usr/local/soft/gogs/log/gogs.log": open file "/usr/local/soft/gogs/log/gogs.log": open /usr/local/soft/gogs/log/gogs.log: read-only file system
May 8 21:02:40 localhost systemd[1]: gogs.service: Main process exited, code=exited, status=1/FAILURE
May 8 21:02:40 localhost systemd[1]: gogs.service: Failed with result 'exit-code'.
May 8 21:02:40 localhost systemd[1]: gogs.service: Scheduled restart job, restart counter is at 5.
May 8 21:02:40 localhost systemd[1]: Stopped Gogs.
May 8 21:02:40 localhost systemd[1]: gogs.service: Start request repeated too quickly.
May 8 21:02:40 localhost systemd[1]: gogs.service: Failed with result 'exit-code'.
May 8 21:02:40 localhost systemd[1]: Failed to start Gogs.
Beta Was this translation helpful? Give feedback.
All reactions