Error running influxdb3 core docker container on ubuntu 24.04

sudo docker run --rm -p 8181:8181
-v $PWD/data:/var/lib/influxdb3/data
-v $PWD/plugins:/var/lib/influxdb3/plugins
influxdb:3-core influxdb3 serve
–node-id=my-node-0
–object-store=file
–data-dir=/var/lib/influxdb3/data
–plugin-dir=/var/lib/influxdb3/plugins
[sudo] password for nigel:
2025-10-29T09:01:43.565392Z INFO influxdb3_lib::commands::serve: InfluxDB 3 Core server starting node_id=my-node-0 git_hash=a359575c82d87d72f22718df4ab9f092f4b5ba38 version=3.5.0 uuid=7ddb6630-69e8-4f23-b60f-dd421f758c74 num_cpus=4
2025-10-29T09:01:43.565654Z INFO influxdb3_clap_blocks::object_store: Object Store db_dir=“/var/lib/influxdb3/data” object_store_type=“Directory”
2025-10-29T09:01:43.566259Z INFO influxdb3_lib::commands::serve: Creating shared query executor num_threads=4
2025-10-29T09:01:43.569190Z INFO influxdb3_catalog::object_store::versions::v2: catalog not found, creating a new one catalog_uuid=547a4d35-0726-4d0f-9b83-52d475ee8faa
2025-10-29T09:01:43.569450Z ERROR influxdb3_catalog::object_store::versions::v2: failed to persist catalog checkpoint file error=Generic { store: “LocalFileSystem”, source: UnableToCreateDir { source: Os { code: 13, kind: PermissionDenied, message: “Permission denied” }, path: “/var/lib/influxdb3/data/my-node-0/catalog/v2” } }
2025-10-29T09:01:43.569570Z WARN executor: DedicatedExecutor dropped without calling shutdown()
2025-10-29T09:01:43.569630Z WARN executor: DedicatedExecutor dropped without waiting for worker termination
2025-10-29T09:01:43.570220Z WARN executor: DedicatedExecutor dropped without calling shutdown()
2025-10-29T09:01:43.570247Z WARN executor: DedicatedExecutor dropped without waiting for worker termination
2025-10-29T09:01:43.570716Z INFO influxdb3_cache::parquet_cache: cache request handler closed
Serve command failed: failed to initialize catalog: object store error: ObjectStore(Generic { store: “LocalFileSystem”, source: UnableToCreateDir { source: Os { code: 13, kind: PermissionDenied, message: “Permission denied” }, path: “/var/lib/influxdb3/data/my-node-0/catalog/v2” } })

Your answer is right there :wink:
Adjust permissions / set owner correctly for your storage path.

I had the same issue following the instructions issued at the end of the installation:
NEXT STEPS

  1. Run the Docker image:
    └─ docker run -it -p 8181:8181 --name influxdb3-container
    –volume ~/.influxdb3_data:/.data --volume ~/.influxdb3_plugins:/plugins influxdb:3-core
    influxdb3 serve --node-id node0 --object-store file --data-dir /.data --plugin-dir /plugins

and got it working with

docker run -itd -p 8181:8181 --name influxdb3-container \
–volume ~/.influxdb3_data:/home/influxdb3/.data \
–volume ~/.influxdb3_plugins:/home/influxdb3/.plugins influxdb:3-core \
sh -c influxdb3 serve --node-id node0 --object-store file --data-dir /home/influxdb3/.data --plugin-dir /home/influxdb3/.plugins

(key was the ‘sh -c’ in front of the influxdb3 command, as well as the path changes)

Hope that helps.

-F