Title
a

adorable-xylophone-9936

12/16/2022, 5:46 PM
having an issue with caddy coming up during install. root@localhost:~# docker-compose up -d netmaker is up-to-date Starting caddy ... netmaker-ui is up-to-date mq is up-to-date Starting caddy ... error ERROR: for caddy Cannot start service caddy: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/root/Caddyfile" to rootfs at "/etc/caddy/Caddyfile": mount /root/Caddyfile:/etc/caddy/Caddyfile (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 ERROR: for caddy Cannot start service caddy: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/root/Caddyfile" to rootfs at "/etc/caddy/Caddyfile": mount /root/Caddyfile:/etc/caddy/Caddyfile (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 ERROR: Encountered errors while bringing up the project.
I have checked the file path and it all looks good. I dont think there is a permissions error. The docker-compose.yml is looking good and is directally from netmaker.
b

bored-island-21407

12/16/2022, 5:53 PM
did you download the Caddyfile and put it in /root ?
it pulls down those files but i dont see anything about a caddy file. there is one created during the up process.
b

bored-island-21407

12/16/2022, 5:57 PM
you need to download it
a

adorable-xylophone-9936

12/16/2022, 5:59 PM
do I need to go through the caddy install?
b

bored-island-21407

12/16/2022, 6:00 PM
no, caddy runs in a container
but you need the Caddyfile (config file)
a

adorable-xylophone-9936

12/16/2022, 6:01 PM
I am not sure where to get that. it is not supplied on the "Getting Started" instructions for Netmaker
ahh, haaa... I figured it out. its in the quick start. and if you are using the EE then there is another few dependencies that need to be added.
Thanks for the help. I have it all working now!!