chirpstack / chirpstack-docker

Setup ChirpStack using Docker Compose
https://www.chirpstack.io/
MIT License
273 stars 316 forks source link

Docker stack fails #88

Closed justinbyerss closed 11 months ago

justinbyerss commented 1 year ago

Hi,

I have tried to run the Chirpstack using the supplied docker-compose.yml and I am getting the following errors

ERROR: for mosquitto Cannot start service mosquitto: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/compose/configuration/mosquitto/mosquitto.conf" to rootfs at "/mosquitto/config/mosquitto.conf": mount /compose/configuration/mosquitto/mosquitto.conf:/mosquitto/config/mosquitto.conf (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

timmills commented 1 year ago

This will happen if the repo isnt cloned first

remyar commented 11 months ago

i have the same problem

brocaar commented 11 months ago

@remyar please see the comment from @timmills, does this solve your issue? if not, please provide step by step instructions to reproduce the issue.

plaes commented 11 months ago

~Apparently one needs to run make import-lorawan-devices as it seems to be required for mqtt container, but this doesn't fully work for me either...~

Apparently my issues are due to running as unprivileged user.

brocaar commented 11 months ago

The above is not true, there is no need to run make import-lorawan-devices.

Please see this documentation: https://www.chirpstack.io/docs/getting-started/docker.html. With the documented steps, I'm not able to reproduce this issue. As there hasn't been any feedback with reproducible steps I'm closing this issue.