kchristensen / udm-le

Let's Encrypt support for Ubiquiti UniFi OS
MIT License
594 stars 79 forks source link

[BUG] #37

Closed deeps-1987 closed 3 years ago

deeps-1987 commented 3 years ago

Hi

I am new to this and followed along with your steps on my UDM-P and keep getting the following error when I try to run "/mnt/data/udm-le/udm-le.sh initial":

"root@ubnt:/# /mnt/data/udm-le/udm-le.sh initial
bash: /mnt/data/udm-le/udm-le.sh: No such file or directory"

I can only navigate to /mnt/ and when I "ls" only "persistent" shows but Winscp clearly shows more image

image

kchristensen commented 3 years ago

I saw you edited this post a couple of times, but I think your issue is that in your first screenshot you've posted you're doing that ls after running unifi-os shell? If so, you're exec'ing into the unifi-os container on the host by doing so, which is incorrect.

You'll want to run the mkdir and what have you after ssh'ing into the host as root. Nothing about udm-le requires you shell into the container via unifi-os shell. I should probably amend the instructions to make that a bit more clear, I think people are used to running unifi-os shell for command line upgrades and stuff and think you have to do that every time.

deeps-1987 commented 3 years ago

I saw you edited this post a couple of times, but I think your issue is that in your first screenshot you've posted you're doing that ls after running unifi-os shell? If so, you're exec'ing into the unifi-os container on the host by doing so, which is incorrect.

You'll want to run the mkdir and what have you after ssh'ing into the host as root. Nothing about udm-le requires you shell into the container via unifi-os shell. I should probably amend the instructions to make that a bit more clear, I think people are used to running unifi-os shell for command line upgrades and stuff and think you have to do that every time.

Perfect, thanks that fixed that issue. Now i am getting the issue "cloudflare: failed to find zone" even though it exists. My API settings are : image

deeps-1987 commented 3 years ago

ignore, fixed it. Thank you :D