-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Description
This is not the best of reports, I know.
Had Pupcloud running in Docker. Seemed to have stopped running/responding but I am not such a Docker expert to know where the fault lies.
Log extract in case it is a "Pupcloud" issue.
/pupcloud$ docker-compose logs pupcloud
Attaching to pupcloud
pupcloud | Pupcloud v0.8.0 (c) 2022 Germano Rizzo
pupcloud | - Serving dir /data
pupcloud | + Read/Write
pupcloud | + With password
pupcloud | + With max upload size: 32 MiB
pupcloud | + Will NOT follow symbolic links
pupcloud | - Server running on port 17178
pupcloud | panic: runtime error: invalid memory address or nil pointer dereference
pupcloud | [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x6ee065]
pupcloud |
pupcloud | goroutine 2446 [running]:
pupcloud | github.com/proofrock/pupcloud/files.LsFile({0xc00030aa20, 0x5c}, 0x0)
pupcloud | /app/pupcloud/src/files/files.go:67 +0xa5
pupcloud | github.com/proofrock/pupcloud/files.LsDir({0xc0000603c0?, 0x34?}, 0x0)
pupcloud | /app/pupcloud/src/files/files.go:120 +0x23c
pupcloud | main.ls(0xc0001fd080)
pupcloud | /app/pupcloud/src/handlers.go:73 +0x185
pupcloud | github.com/gofiber/fiber/v2.(*App).next(0xc000144000, 0xc0001fd080)
pupcloud | /app/pkg/mod/github.com/gofiber/fiber/[email protected]/router.go:132 +0x1be
pupcloud | github.com/gofiber/fiber/v2.(*Ctx).Next(0x2000000?)
pupcloud | /app/pkg/mod/github.com/gofiber/fiber/[email protected]/ctx.go:802 +0x53
pupcloud | main.launchMainApp.func1(0xc00008c0f0?)
pupcloud | /app/pupcloud/src/main.go:301 +0x335
pupcloud | github.com/gofiber/fiber/v2.(*Ctx).Next(0x86fdc0?)
pupcloud | /app/pkg/mod/github.com/gofiber/fiber/[email protected]/ctx.go:799 +0x43
pupcloud | github.com/gofiber/fiber/v2/middleware/filesystem.New.func1(0xc0001fd080)
pupcloud | /app/pkg/mod/github.com/gofiber/fiber/[email protected]/middleware/filesystem/filesystem.go:145 +0x369
pupcloud | github.com/gofiber/fiber/v2.(*Ctx).Next(0xc0001fd080?)
pupcloud | /app/pkg/mod/github.com/gofiber/fiber/[email protected]/ctx.go:799 +0x43
pupcloud | github.com/gofiber/fiber/v2/middleware/csrf.New.func1(0x100?)
pupcloud | /app/pkg/mod/github.com/gofiber/fiber/[email protected]/middleware/csrf/csrf.go:98 +0x35b
pupcloud | github.com/gofiber/fiber/v2.(*Ctx).Next(0xc000151600?)
pupcloud | /app/pkg/mod/github.com/gofiber/fiber/[email protected]/ctx.go:799 +0x43
pupcloud | github.com/gofiber/fiber/v2/middleware/compress.New.func3(0xc0001fd080)
pupcloud | /app/pkg/mod/github.com/gofiber/fiber/[email protected]/middleware/compress/compress.go:54 +0x45
pupcloud | github.com/gofiber/fiber/v2.(*App).next(0xc000144000, 0xc0001fd080)
pupcloud | /app/pkg/mod/github.com/gofiber/fiber/[email protected]/router.go:132 +0x1be
pupcloud | github.com/gofiber/fiber/v2.(*App).handler(0xc000144000, 0x4a1d77?)
pupcloud | /app/pkg/mod/github.com/gofiber/fiber/[email protected]/router.go:159 +0x45
pupcloud | github.com/valyala/fasthttp.(*Server).serveConn(0xc0000d2480, {0x872d30?, 0xc0000a4450})
pupcloud | /app/pkg/mod/github.com/valyala/[email protected]/server.go:2338 +0x1268
pupcloud | github.com/valyala/fasthttp.(*workerPool).workerFunc(0xc000076000, 0xc000680460)
pupcloud | /app/pkg/mod/github.com/valyala/[email protected]/workerpool.go:224 +0xa9
pupcloud | github.com/valyala/fasthttp.(*workerPool).getCh.func1()
pupcloud | /app/pkg/mod/github.com/valyala/[email protected]/workerpool.go:196 +0x38
pupcloud | created by github.com/valyala/fasthttp.(*workerPool).getCh
pupcloud | /app/pkg/mod/github.com/valyala/[email protected]/workerpool.go:195 +0x1b0
pupcloud | Pupcloud v0.8.0 (c) 2022 Germano Rizzo
pupcloud | - Serving dir /data
pupcloud | + Read/Write
pupcloud | + With password
pupcloud | + With max upload size: 32 MiB
pupcloud | + Will NOT follow symbolic links
pupcloud | - Server running on port 17178
pupcloud | Pupcloud v0.8.0 (c) 2022 Germano Rizzo
pupcloud | - Serving dir /data
pupcloud | + Read/Write
pupcloud | + With password
pupcloud | + With max upload size: 32 MiB
pupcloud | + Will NOT follow symbolic links
pupcloud | - Server running on port 17178
pupcloud | Pupcloud v0.8.0 (c) 2022 Germano Rizzo
pupcloud | - Serving dir /data
pupcloud | + Read/Write
pupcloud | + With password
pupcloud | + With max upload size: 32 MiB
pupcloud | + Will NOT follow symbolic links
pupcloud | - Server running on port 17178
pupcloud | panic: runtime error: invalid memory address or nil pointer dereference
pupcloud | [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x6ee065]
pupcloud |
pupcloud | goroutine 2488 [running]:
pupcloud | github.com/proofrock/pupcloud/files.LsFile({0xc000014960, 0x46}, 0x0)
pupcloud | /app/pupcloud/src/files/files.go:67 +0xa5
pupcloud | main.file(0xc000095b80)
pupcloud | /app/pupcloud/src/handlers.go:103 +0x1aa
pupcloud | github.com/gofiber/fiber/v2.(*App).next(0xc0000001e0, 0xc000095b80)
pupcloud | /app/pkg/mod/github.com/gofiber/fiber/[email protected]/router.go:132 +0x1be
pupcloud | github.com/gofiber/fiber/v2.(*Ctx).Next(0x2000000?)
pupcloud | /app/pkg/mod/github.com/gofiber/fiber/[email protected]/ctx.go:802 +0x53
pupcloud | main.launchMainApp.func1(0xc00001a130?)
pupcloud | /app/pupcloud/src/main.go:301 +0x335
pupcloud | github.com/gofiber/fiber/v2.(*Ctx).Next(0x86fdc0?)
pupcloud | /app/pkg/mod/github.com/gofiber/fiber/[email protected]/ctx.go:799 +0x43
pupcloud | github.com/gofiber/fiber/v2/middleware/filesystem.New.func1(0xc000095b80)
pupcloud | /app/pkg/mod/github.com/gofiber/fiber/[email protected]/middleware/filesystem/filesystem.go:145 +0x369
pupcloud | github.com/gofiber/fiber/v2.(*Ctx).Next(0xc000095b80?)
pupcloud | /app/pkg/mod/github.com/gofiber/fiber/[email protected]/ctx.go:799 +0x43
pupcloud | github.com/gofiber/fiber/v2/middleware/csrf.New.func1(0x70?)
pupcloud | /app/pkg/mod/github.com/gofiber/fiber/[email protected]/middleware/csrf/csrf.go:98 +0x35b
pupcloud | github.com/gofiber/fiber/v2.(*Ctx).Next(0xc000273180?)
pupcloud | /app/pkg/mod/github.com/gofiber/fiber/[email protected]/ctx.go:799 +0x43
pupcloud | github.com/gofiber/fiber/v2/middleware/compress.New.func3(0xc000095b80)
pupcloud | /app/pkg/mod/github.com/gofiber/fiber/[email protected]/middleware/compress/compress.go:54 +0x45
pupcloud | github.com/gofiber/fiber/v2.(*App).next(0xc0000001e0, 0xc000095b80)
pupcloud | /app/pkg/mod/github.com/gofiber/fiber/[email protected]/router.go:132 +0x1be
pupcloud | github.com/gofiber/fiber/v2.(*App).handler(0xc0000001e0, 0x4a1d77?)
pupcloud | /app/pkg/mod/github.com/gofiber/fiber/[email protected]/router.go:159 +0x45
pupcloud | github.com/valyala/fasthttp.(*Server).serveConn(0xc00008e480, {0x872d30?, 0xc0001022d0})
pupcloud | /app/pkg/mod/github.com/valyala/[email protected]/server.go:2338 +0x1268
pupcloud | github.com/valyala/fasthttp.(*workerPool).workerFunc(0xc0000775e0, 0xc000110160)
pupcloud | /app/pkg/mod/github.com/valyala/[email protected]/workerpool.go:224 +0xa9
pupcloud | github.com/valyala/fasthttp.(*workerPool).getCh.func1()
pupcloud | /app/pkg/mod/github.com/valyala/[email protected]/workerpool.go:196 +0x38
pupcloud | created by github.com/valyala/fasthttp.(*workerPool).getCh
pupcloud | /app/pkg/mod/github.com/valyala/[email protected]/workerpool.go:195 +0x1b0
pupcloud | panic: runtime error: invalid memory address or nil pointer dereference
pupcloud | [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x6ee065]
pupcloud |
pupcloud | goroutine 2522 [running]:
pupcloud | github.com/proofrock/pupcloud/files.LsFile({0xc0002a6b90, 0x46}, 0x0)
pupcloud | /app/pupcloud/src/files/files.go:67 +0xa5
pupcloud | main.file(0xc00041a2c0)
pupcloud | /app/pupcloud/src/handlers.go:103 +0x1aa
pupcloud | github.com/gofiber/fiber/v2.(*App).next(0xc0000001e0, 0xc00041a2c0)
pupcloud | /app/pkg/mod/github.com/gofiber/fiber/[email protected]/router.go:132 +0x1be
pupcloud | github.com/gofiber/fiber/v2.(*Ctx).Next(0x2000000?)
pupcloud | /app/pkg/mod/github.com/gofiber/fiber/[email protected]/ctx.go:802 +0x53
pupcloud | main.launchMainApp.func1(0xc00001a130?)
pupcloud | /app/pupcloud/src/main.go:301 +0x335
pupcloud | github.com/gofiber/fiber/v2.(*Ctx).Next(0x86fdc0?)
pupcloud | /app/pkg/mod/github.com/gofiber/fiber/[email protected]/ctx.go:799 +0x43
pupcloud | github.com/gofiber/fiber/v2/middleware/filesystem.New.func1(0xc00041a2c0)
pupcloud | /app/pkg/mod/github.com/gofiber/fiber/[email protected]/middleware/filesystem/filesystem.go:145 +0x369
pupcloud | github.com/gofiber/fiber/v2.(*Ctx).Next(0xc00041a2c0?)
pupcloud | /app/pkg/mod/github.com/gofiber/fiber/[email protected]/ctx.go:799 +0x43
pupcloud | github.com/gofiber/fiber/v2/middleware/csrf.New.func1(0x70?)
pupcloud | /app/pkg/mod/github.com/gofiber/fiber/[email protected]/middleware/csrf/csrf.go:98 +0x35b
pupcloud | github.com/gofiber/fiber/v2.(*Ctx).Next(0xc000272c00?)
pupcloud | /app/pkg/mod/github.com/gofiber/fiber/[email protected]/ctx.go:799 +0x43
pupcloud | github.com/gofiber/fiber/v2/middleware/compress.New.func3(0xc00041a2c0)
pupcloud | /app/pkg/mod/github.com/gofiber/fiber/[email protected]/middleware/compress/compress.go:54 +0x45
pupcloud | github.com/gofiber/fiber/v2.(*App).next(0xc0000001e0, 0xc00041a2c0)
pupcloud | /app/pkg/mod/github.com/gofiber/fiber/[email protected]/router.go:132 +0x1be
pupcloud | github.com/gofiber/fiber/v2.(*App).handler(0xc0000001e0, 0x4a1d77?)
pupcloud | /app/pkg/mod/github.com/gofiber/fiber/[email protected]/router.go:159 +0x45
pupcloud | github.com/valyala/fasthttp.(*Server).serveConn(0xc00008e480, {0x872d30?, 0xc00000e490})
pupcloud | /app/pkg/mod/github.com/valyala/[email protected]/server.go:2338 +0x1268
pupcloud | github.com/valyala/fasthttp.(*workerPool).workerFunc(0xc0000775e0, 0xc0007b2120)
pupcloud | /app/pkg/mod/github.com/valyala/[email protected]/workerpool.go:224 +0xa9
pupcloud | github.com/valyala/fasthttp.(*workerPool).getCh.func1()
pupcloud | /app/pkg/mod/github.com/valyala/[email protected]/workerpool.go:196 +0x38
pupcloud | created by github.com/valyala/fasthttp.(*workerPool).getCh
pupcloud | /app/pkg/mod/github.com/valyala/[email protected]/workerpool.go:195 +0x1b0