0

以下是来自 svc.sh 的日志。请帮助解决此问题。每当我想推送我的项目时,我都必须手动执行 run.sh,这真的很烦我。

Unhandled exception. System.UnauthorizedAccessException: Access to the path '/opt/actions-runner/_diag/Runner_20220130-012405-utc.log' is denied.
Jan 30 01:24:05 chatsfly runsvc.sh[962]: ---> System.IO.IOException: Permission denied
Jan 30 01:24:05 chatsfly runsvc.sh[962]: --- End of inner exception stack trace ---
Jan 30 01:24:05 chatsfly runsvc.sh[962]: at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
Jan 30 01:24:05 chatsfly runsvc.sh[962]: at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
Jan 30 01:24:05 chatsfly runsvc.sh[962]: at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preal
Jan 30 01:24:05 chatsfly runsvc.sh[962]: at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 prealloca
Jan 30 01:24:05 chatsfly runsvc.sh[962]: at GitHub.Runner.Common.HostTraceListener.CreatePageLogWriter()
Jan 30 01:24:05 chatsfly runsvc.sh[962]: at GitHub.Runner.Common.HostTraceListener..ctor(String logFileDirectory, String logFilePrefix, Int32 pageSizeLimit, Int32 retentionDays)
Jan 30 01:24:05 chatsfly runsvc.sh[962]: at GitHub.Runner.Common.HostContext..ctor(String hostType, String logFile)
Jan 30 01:24:05 chatsfly runsvc.sh[962]: at GitHub.Runner.Listener.Program.Main(String[] args)
Jan 30 01:24:07 chatsfly runsvc.sh[962]: Runner listener exited with error code null
Jan 30 01:24:07 chatsfly runsvc.sh[962]: Runner listener exit with undefined return code, re-launch runner in 5 seconds.
Jan 30 01:24:12 chatsfly runsvc.sh[962]: Starting Runner listener with startup type: service
Jan 30 01:24:12 chatsfly runsvc.sh[962]: Started listener process, pid: 10727
4

0 回答 0