Closed kevinv11n closed 1 year ago
I think there should be a section for UDM Pro-SE issues as there are several not clearly documented such as this one you highlighted, the solution for which I found at the end of #321 after some help here. My issue is I have podman running, but cannot get the udm-boot service up. Were you able to get it running as per the remote install here? I have reinstalled and checked everything and keep getting "exit code is 'exited' " with exit status 123. Any thoughts highly appreciated. UDM Pro SE with 2.4.12, I get this:
root@UDM-SE:~# systemctl status udm-boot ● udm-boot.service - Run On Startup UDM Loaded: loaded (/etc/systemd/system/udm-boot.service; enabled; vendor preset: Active: failed (Result: exit-code) since Tue 2022-06-28 03:20:10 EDT; 1 day 7 CPU: 1.786s
Jun 28 03:20:10 UDM-SE bash[2840]: logger: unknown priority name: ERROR Containe Jun 28 03:20:10 UDM-SE bash[2840]: udm-boot.service: running /mnt/data/on_boot.d Jun 28 03:20:10 UDM-SE bash[2840]: curl: (6) Could not resolve host: github.com Jun 28 03:20:10 UDM-SE bash[2840]: udm-boot.service: running /mnt/data/on_boot.d Jun 28 03:20:10 UDM-SE bash[2840]: /mnt/data/on_boot.d/pi_hole_update.sh: line 3 Jun 28 03:20:10 UDM-SE bash[2840]: /mnt/data/on_boot.d/pi_hole_update.sh: line 4 Jun 28 03:20:10 UDM-SE systemd[1]: udm-boot.service: Control process exited, cod Jun 28 03:20:10 UDM-SE systemd[1]: udm-boot.service: Failed with result 'exit-co Jun 28 03:20:10 UDM-SE systemd[1]: Failed to start Run On Startup UDM. Jun 28 03:20:10 UDM-SE systemd[1]: udm-boot.service: Consumed 1.786s CPU time. lines 1-15/15 (END)...skipping... ● udm-boot.service - Run On Startup UDM Loaded: loaded (/etc/systemd/system/udm-boot.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Tue 2022-06-28 03:20:10 EDT; 1 day 7h ago CPU: 1.786s
Thanks for the link to the other issue. I copied its storage.conf
and that resolved this error I was receiving: ERRO[0000] Failed to built-in GetDriver graph btrfs /var/lib/containers/storage
. I've updated my original post to include that fix.
I had no issue with the on-boot-script setup. I used the remote_install.sh
method. Looking at your logs this line jumps out:
Jun 28 03:20:10 UDM-SE bash[2840]: curl: (6) Could not resolve host: github.com
Presumably, that error causes the script to exit with a non-success code so the service is considered to have failed to start.
Is your WAN interface not up when the script runs? What happens if you comment out that curl
command?
Describe the bug The latest UDM Pro SE builds for podman at https://github.com/unifi-utilities/unifios-utilities/actions/runs/2551133100 includes
/etc/containers/containers.conf
but lacks these required files:
The install zip from your link has expired. is it present in another place?
@Zatowa I filed #427 for that issue, which is not related to this issue directly
Describe the bug The latest UDM Pro SE builds for podman at https://github.com/unifi-utilities/unifios-utilities/actions/runs/2551133100 includes
/etc/containers/containers.conf
but lacks these required files:/etc/containers/registries.conf
/etc/containers/policy.json
./etc/containers/storage.conf
To Reproduce Steps to reproduce the behavior:
Expected behavior podman should fetch the relevant docker image from docker.io.
Instead one receives this error:
UDM Information
Additional context
Here are the missing files. Adding them resolves the issue.
/etc/containers/registries.conf
/etc/containers/policy.json
/etc/containers/storage.conf