Open MarQuez-Mr opened 1 year ago
@MarQuez-Mr Hey check out https://github.com/unifi-utilities/unifios-utilities/issues/537
HA! @MarQuez-Mr Try this one. https://github.com/unifi-utilities/unifios-utilities/issues/533#issuecomment-1510594817
Had a similar issue,
Had to change line 68 in 00-podman.sh to:
URL="https://box.msp-austria.cloud/s/podman/download/${DESIRED_ZIPFILE}"
and rerun the script, it downgraded podman to 4.4.2 to 3.4.4 and works perfectly on 2.5.17.
This got it to almost install but there was an error that the policy.json
file was missing. I got a copy of that file from a newer download and added it my conf directory. I can't find a link right now but the contents are below.
/data/podman/conf/policy.json
{
"default": [{"type": "insecureAcceptAnything"}]
}
Podman isn't reinstalling on reboot at this point but it is up and running.
HA! @MarQuez-Mr Try this one. #533 (comment)
Had a similar issue, Had to change line 68 in 00-podman.sh to: URL="https://box.msp-austria.cloud/s/podman/download/${DESIRED_ZIPFILE}" and rerun the script, it downgraded podman to 4.4.2 to 3.4.4 and works perfectly on 2.5.17.
This got it to almost install but there was an error that the
policy.json
file was missing. I got a copy of that file from a newer download and added it my conf directory. I can't find a link right now but the contents are below.
/data/podman/conf/policy.json
{ "default": [{"type": "insecureAcceptAnything"}] }
Podman isn't reinstalling on reboot at this point but it is up and running.
Thx
I'm trying to install podman on a UDM Pro which I today upgraded from latest 1.x to 2.4 and then directly to 2.5.17.
I succesfully installed the on_boot script following link
From there I went to the following instructions podman install.
First thing I notice is that the filenames on https://unifi.boostchicken.io/ are not the same as in the script, in the script is referred to "udmpro-podman-install.zip" where on the website the different names are used.
This i resolved by changing the script to reflext to download the correct file link at least i think this is the correct one, is it? Or should is use the one in the 2.5.17 folder?
What is notice when I execute 00-podman.sh is that it creates a folder "podman-v4.5.0-UDM-Pro-SE" in the root directry of the udm pro, which then contains simlinks to the folder "/data/podman/install/podman-v4.5.0-UDM-Pro-SE/" folder like below.
lrwxrwxrwx 1 root root 58 Apr 23 20:59 crun -> /data/podman/install/podman-v4.5.0-UDM-Pro-SE/usr/bin/crun lrwxrwxrwx 1 root root 58 Apr 23 20:59 runc -> /data/podman/install/podman-v4.5.0-UDM-Pro-SE/usr/bin/runc lrwxrwxrwx 1 root root 60 Apr 23 20:59 podman -> /data/podman/install/podman-v4.5.0-UDM-Pro-SE/usr/bin/podman
lrwxrwxrwx 1 root root 76 Apr 23 20:59 registries.conf -> /data/podman/install/podman-v4.5.0-UDM-Pro-SE/etc/containers/registries.conf lrwxrwxrwx 1 root root 76 Apr 23 20:59 containers.conf -> /data/podman/install/podman-v4.5.0-UDM-Pro-SE/etc/containers/containers.conf lrwxrwxrwx 1 root root 72 Apr 23 20:59 policy.json -> /data/podman/install/podman-v4.5.0-UDM-Pro-SE/etc/containers/policy.json lrwxrwxrwx 1 root root 73 Apr 23 20:59 storage.conf -> /data/podman/install/podman-v4.5.0-UDM-Pro-SE/etc/containers/storage.conf
The script fails with the message "something went wrong" as it can't detect that podman is installed.
DreamMachinePro:/# podman version -bash: podman: command not found
Should podman and the other files not be placed in /usr/bin/" and the other related folders?
Thanks in advance, let me know if more information is needed.