creating WAL folder at "/wal": mkdir wal: permission denied
error initialising module: ingester
github.com/grafana/dskit/modules.(*Manager).initModule
/src/loki/vendor/github.com/grafana/dskit/modules/modules.go:122
github.com/grafana/dskit/modules.(*Manager).InitModuleServices
/src/loki/vendor/github.com/grafana/dskit/modules/modules.go:92
github.com/grafana/loki/pkg/loki.(*Loki).Run
/src/loki/pkg/loki/loki.go:458
n
/src/loki/cmd/loki/main.go:110
runtime.main
/usr/local/go/src/runtime/proc.go:250
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1598
level=warn ts=2023-08-18T02:03:57.766833488Z caller=loki.go:286 msg="per-tenant timeout not configured, using default engine timeout ("5m0s"). This behavior will change in the next major to always use the default per-tenant timeout ("5m")."
level=info ts=2023-08-18T02:03:57.768842085Z caller=main.go:108 msg="Starting Loki" version="(version=2.8.4, branch=HEAD, revision=89d282c43)"
level=info ts=2023-08-18T02:03:57.769577761Z caller=server.go:323 http=[::]:3100 grpc=[::]:9095 msg="server listening on addresses"
level=info ts=2023-08-18T02:03:57.770075287Z caller=modules.go:895 msg="Ruler storage is not configured; ruler will not be started."
level=warn ts=2023-08-18T02:03:57.770839818Z caller=querysharding.go:44 middleware=QueryShard msg="no configuration with shard found" confs="[{From:{Time:1523750400} IndexType:boltdb ObjectType:filesystem Schema:v9 IndexTables:{Prefix:index_ Period:168h0m0s Tags:} ChunkTables:{Prefix: Period:0s Tags:} RowShards:0 schemaInt:0xc0009624c8}]"
level=warn ts=2023-08-18T02:03:57.770871751Z caller=querysharding.go:44 middleware=QueryShard msg="no configuration with shard found" confs="[{From:{Time:1523750400} IndexType:boltdb ObjectType:filesystem Schema:v9 IndexTables:{Prefix:index_ Period:168h0m0s Tags:} ChunkTables:{Prefix: Period:0s Tags:} RowShards:0 schemaInt:0xc0009624c8}]"
level=warn ts=2023-08-18T02:03:57.770882121Z caller=querysharding.go:44 middleware=QueryShard msg="no configuration with shard found" confs="[{From:{Time:1523750400} IndexType:boltdb ObjectType:filesystem Schema:v9 IndexTables:{Prefix:index_ Period:168h0m0s Tags:} ChunkTables:{Prefix: Period:0s Tags:} RowShards:0 schemaInt:0xc0009624c8}]"
level=warn ts=2023-08-18T02:03:57.770893319Z caller=querysharding.go:313 middleware=QueryShard msg="no configuration with shard found" confs="[{From:{Time:1523750400} IndexType:boltdb ObjectType:filesystem Schema:v9 IndexTables:{Prefix:index_ Period:168h0m0s Tags:} ChunkTables:{Prefix: Period:0s Tags:} RowShards:0 schemaInt:0xc0009624c8}]"
level=warn ts=2023-08-18T02:03:57.77090575Z caller=querysharding.go:44 middleware=QueryShard msg="no configuration with shard found" confs="[{From:{Time:1523750400} IndexType:boltdb ObjectType:filesystem Schema:v9 IndexTables:{Prefix:index_ Period:168h0m0s Tags:} ChunkTables:{Prefix: Period:0s Tags:} RowShards:0 schemaInt:0xc0009624c8}]"
level=warn ts=2023-08-18T02:03:57.771344152Z caller=cache.go:114 msg="fifocache config is deprecated. use embedded-cache instead"
level=warn ts=2023-08-18T02:03:57.771362466Z caller=experimental.go:20 msg="experimental feature in use" feature="In-memory (FIFO) cache - chunksembedded-cache"
level=info ts=2023-08-18T02:03:57.77317112Z caller=modules.go:914 msg="RulerStorage is nil. Not starting the ruler."
level=info ts=2023-08-18T02:03:57.77325188Z caller=modules.go:1024 msg="Not using object storage index, not starting compactor"
level=error ts=2023-08-18T02:03:57.774232727Z caller=log.go:171 msg="error running loki" err="creating WAL folder at "/wal": mkdir wal: permission denied\nerror initialising module: ingester\ngithub.com/grafana/dskit/modules.(*Manager).initModule\n\t/src/loki/vendor/github.com/grafana/dskit/modules/modules.go:122\ngithub.com/grafana/dskit/modules.(*Manager).InitModuleServices\n\t/src/loki/vendor/github.com/grafana/dskit/modules/modules.go:92\ngithub.com/grafana/loki/pkg/loki.(*Loki).Run\n\t/src/loki/pkg/loki/loki.go:458\nmain.main\n\t/src/loki/cmd/loki/main.go:110\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:250\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1598"
loki容器报错日志
根据您的报错信息“creating WAL folder at "/wal": mkdir wal: permission denied”
赋予下权限试试呢。
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
登录 后才可以发表评论