Closed Servery closed 3 years ago
sry... I should not have used the command unifi-os shell
!!! Everything works just fine...
Hi
I am new to this and followed along with your steps till 10 on my UDM-P and keep getting the error:
"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
After UDMP firmware upgrade from 1.8.5 to 1.8.6 I tired to install the udm-le.sh script again, but it does not work anymore...
unifi-os shell
mkdir /mnt/data
mkdir /mnt/data/udm-le
cd /mnt/data/udm-le
wget https://raw.githubusercontent.com/kchristensen/udm-le/master/udm-le.sh
chmod +x udm-le.sh
wget https://raw.githubusercontent.com/kchristensen/udm-le/master/udm-le.env
apt install nano
nano udm-le.env
set CERT_EMAIL, CERT_HOSTS, ENABLE_CAPTIVE=yes, DNS_PROVIDER='cloudflare', CLOUDFLARE_DNS_API_TOKEN=my_cloudflare_API_token/mnt/data/udm-le/udm-le.sh initial
concole output:
root@ubnt:/mnt/data/udm-le# /mnt/data/udm-le/udm-le.sh initial
/mnt/data/udm-le/udm-le.sh: 66: /mnt/data/udm-le/udm-le.sh: /etc/init.d/crond: not found
If I change
/etc/init.d/crond reload ${CRON_FILE}
to/etc/init.d/cron reload ${CRON_FILE}
on line 66 in /mnt/data/udm-le/udm-le.sh there is another error:root@ubnt:/mnt/data/udm-le# /mnt/data/udm-le/udm-le.sh initial
Attempting initial certificate generation
/mnt/data/udm-le/udm-le.sh: 80: /mnt/data/udm-le/udm-le.sh: podman: not found