Skip to content

meta-syncer has Permission denied #8657

@michaelmao999

Description

@michaelmao999

try to install thanos-store v0.40.1 on docker.

ts=2026-02-03T06:54:38.122291765Z caller=factory.go:39 level=info msg="loading bucket configuration"
ts=2026-02-03T06:54:38.127813412Z caller=inmemory.go:185 level=info msg="created in-memory index cache" maxItemSizeBytes=131072000 maxSizeBytes=262144000 maxItems=maxInt
ts=2026-02-03T06:54:38.128414149Z caller=main.go:145 level=error err="mkdir /thanos/store/meta-syncer: permission denied\nmeta fetcher\nmain.runStore\n\t/app/cmd/thanos/store.go:407\nmain.registerStore.func1\n\t/app/cmd/thanos/store.go:264\nmain.main\n\t/app/cmd/thanos/main.go:143\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:285\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1693\npreparing store command failed\nmain.main\n\t/app/cmd/thanos/main.go:145\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:285\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1693"

docker run -d --name thanos-store-1
-p 10911:10903
-p 10921:10904
-v /var/thanos/store1:/thanos/store:z
-v /var/thanos/conf/minio.yaml:/etc/thanos/storage.yaml:ro
--restart unless-stopped
--log-driver json-file --log-opt max-size=10m
quay.io/thanos/thanos:v0.40.1
store
--http-address="0.0.0.0:10903"
--grpc-address="0.0.0.0:10904"
--objstore.config-file="/etc/thanos/storage.yaml"
--data-dir="/thanos/store"
--log.level=info

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions