This repository was archived by the owner on Jun 4, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Proxy errors and crashes while checking uploads #9
Copy link
Copy link
Open
Description
2021/05/06 23:36:00 [PROXY] Checking all uploads
2021/05/06 23:37:00 [PROXY] Checking all uploads
2021/05/06 23:37:00 stat /root/proxy/cache: no such file or directory
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x6e14aa]
goroutine 8 [running]:
github.com/filecoffee/proxy/modules.checkFile(0xc000026180, 0x11)
/root/proxy/src/modules/remover.go:36 +0xaa
github.com/filecoffee/proxy/modules.checkFiles()
/root/proxy/src/modules/remover.go:25 +0xb0
github.com/filecoffee/proxy/modules.Setup.func1()
/root/proxy/src/modules/remover.go:17 +0x25
github.com/robfig/cron/v3.FuncJob.Run(0x949e10)
/root/go/pkg/mod/github.com/robfig/cron/v3@v3.0.0/cron.go:131 +0x25
github.com/robfig/cron/v3.(*Cron).startJob.func1(0xc000526460, 0x9bc7c0, 0x949e10)
/root/go/pkg/mod/github.com/robfig/cron/v3@v3.0.0/cron.go:307 +0x65
created by github.com/robfig/cron/v3.(*Cron).startJob
/root/go/pkg/mod/github.com/robfig/cron/v3@v3.0.0/cron.go:305 +0x73
exit status 2
Manually creating a cache folder doesn't help, and the folder is no longer present after the crash
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels