求助大佬 🙏
容器启动命令:
docker run --name siyuan\
-p 6806:6806\
-e LNAG=zh_CN.UTF-8\
-e LC_ALL=zh_CN.UTF-8\
-v /siyuan:/siyuanworkspace\
--restart=always\
-dit b3log/siyuan --ssl="true" --resident="true" --servePath="www.XXXX.cn" --workspace=/siyuanworkspace -accessAuthCode ""
容器日志报错:
2021/09/29 10:34:58 [Recovery] 2021/09/29 - 10:34:58 panic recovered:
runtime error: invalid memory address or nil pointer dereference
/usr/local/go/src/runtime/panic.go:221 (0x4535a6)
/usr/local/go/src/runtime/signal_unix.go:735 (0x453576)
/go/pkg/mod/github.com/gorilla/websocket@v1.4.2/conn.go:1184 (0xc5e206)
/go/pkg/mod/github.com/88250/melody@v0.0.0-20201115062536-c0b3394adcd1/melody.go:172 (0xc5e1ee)
/go/pkg/mod/github.com/88250/melody@v0.0.0-20201115062536-c0b3394adcd1/melody.go:161 (0x1043ab7)
/go/src/github.com/siyuan-note/siyuan-src/kernel/server/serve.go:195 (0x1043a7d)
/go/pkg/mod/github.com/gin-gonic/gin@v1.7.4/context.go:165 (0xc524ac)
/go/pkg/mod/github.com/gin-contrib/sessions@v0.0.3/sessions.go:52 (0xc52498)
/go/pkg/mod/github.com/gin-gonic/gin@v1.7.4/context.go:165 (0x1016e4c)
/go/pkg/mod/github.com/gin-contrib/gzip@v0.0.3/handler.go:60 (0x1016e22)
/go/pkg/mod/github.com/gin-gonic/gin@v1.7.4/context.go:165 (0xc49761)
/go/pkg/mod/github.com/gin-gonic/gin@v1.7.4/recovery.go:99 (0xc4974c)
/go/pkg/mod/github.com/gin-gonic/gin@v1.7.4/context.go:165 (0xc4861d)
/go/pkg/mod/github.com/gin-gonic/gin@v1.7.4/gin.go:489 (0xc482a5)
/go/pkg/mod/github.com/gin-gonic/gin@v1.7.4/gin.go:445 (0xc47e04)
/usr/local/go/src/net/http/server.go:2878 (0x75a37a)
/usr/local/go/src/net/http/server.go:1929 (0x755a27)
/usr/local/go/src/runtime/asm_amd64.s:1581 (0x4708e0)
欢迎来到这里!
我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。
注册 关于