aeleos / cloudflared

Cloudflare Tunnel Instructions and Template for Unraid
173 stars 21 forks source link

/home/nonroot/.cloudflared/ Not being created #24

Open jrsecor opened 2 years ago

jrsecor commented 2 years ago

I followed IBRACORPs video guide for getting this going on unRAID and am getting an error in the logs of cloudflared stating: 2022-02-26T15:47:35Z INF Starting tunnel tunnelID=<UUID> Tunnel credentials file '/home/nonroot/.cloudflared/<UUID>.json' doesn't exist or is not a file

This command should created the paths needed, but it doesn't seem to be based on the error. docker run -it --rm -v /mnt/user/appdata/cloudflared:/home/nonroot/.cloudflared/ cloudflare/cloudflared:2021.6.0 tunnel create <MY TUNNELNAME> The tunnel exists and I can see the .json file, the config.yaml file and the cert.pem in the /mnt/user/appdata/cloudflared/ directory but when I try to get to /home/nonroot/.cloudflared I can see that there is no nonroot dir.

Not sure why that is happening.

jrsecor commented 2 years ago

I tried re-running the first command and now I'm even more confused because the dir is there...or is it not?

image

itsalljustdata commented 2 years ago

/home/nonroot/.cloudflared is the path in the container. /mnt/user/appdata/cloudflared is the location on your unRaid server.