Closed m-lan-at closed 1 year ago
1.) SSH on UDM-Pro and copy the command below:
curl -fsL "https://raw.githubusercontent.com/unifi-utilities/unifios-utilities/HEAD/on-boot-script/remote_install.sh" | /bin/sh
2.) According to this post: https://github.com/unifi-utilities/unifios-utilities/issues/343#issue-1182188338
Go to the unifi-os shell (see command below) and copy the following commands:
unifi-os shell
dl_url=$(curl -fsL "https://api.github.com/repos/boostchicken-dev/udm-utilities/releases/latest" | awk '$0 ~ /"browser_download_url"/ {sub(/.*:\s*"/,"",$0); gsub("\"", "", $0); print $2}')
curl -Lo udm-boot_latest.deb $dl_url
dpkg -i udm-boot_latest.deb
rm udm-boot_latest.deb
systemctl enable udm-boot
exit
That fixes the problem for me and persists a reboot (no other steps are required).
Edit:
If you receive an error like "curl: no URL specified!" then try the following:
unifi-os shell
curl -Lo udm-boot_latest.deb https://github.com/unifi-utilities/unifios-utilities/releases/download/1.0.5-fix/udm-boot_1.0.5_all.deb
For a newer link look for "browser_download_url" on https://api.github.com/repositories/268284083/releases/latest
dpkg -i udm-boot_latest.deb
rm udm-boot_latest.deb
systemctl enable udm-boot
exit
Cheers
Hello Community,
I love the UDM-Pro on-boot-script and installed it on many UDM-Pro machines. I always installed it manually because it only works when I install it manually over the unifi-os shell. Now my problem is that the server "https://udm-boot.boostchicken.dev/" is offline and I can't install the on-boot-script.
When I'm executing the command "curl -fsL "https://raw.githubusercontent.com/unifi-utilities/unifios-utilities/HEAD/on-boot-script/remote_install.sh" | /bin/sh" it installs but the containers like pi-hole don't start and enter a container state improper.
I cannot see the container via "podman ps" and cannot stop or start them because they are running already. I have fixed this because I have manually installed the on-boot-script as described here "https://github.com/unifi-utilities/unifios-utilities/tree/main/on-boot-script". But the server is currently offline.
Do you have any ideas?
Thx a lot, Robin