kchristensen / udm-le

Let's Encrypt support for Ubiquiti UniFi OS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] podman not found

fribse opened this issue · comments

Describe the bug
My LE certificate just expired, and I tried to renew it, but now it gives me

root@xxx:/mnt/data/udm-le# ./udm-le.sh renew
./udm-le.sh: 34: [[: not found
Attempting certificate renewal
podman run --env-file=/mnt/data/udm-le/udm-le.env -it --name=lego --network=host --rm -v /mnt/data/udm-le/lego/:/.lego/ docker.io/goacme/lego:v4.4.0-arm.v8 --dns cloudflare --email xxx --key-type rsa2048 -d xxx
./udm-le.sh: 181: podman: not found

It's an old install, and I tried fetching the new one, same error.

My Unifi OS is UDM Pro 3.0.19

To Reproduce
Steps to reproduce the behavior:

  1. Go to /mnt/data/udm-le (the install is from when it was located there)
  2. type udm-le renew

Expected behavior
A new certificate

Version Information (please complete the following information):

  • UniFi OS: 3.0.19
  • Hardware Type: UDM Pro

You need to download the latest release from the Releases section, read the release notes to renew your certificate. When you upgraded to 3.x, podman got removed but you didn’t also upgrade to a version of udm-le that is supported on that version of UniFi OS.

You are absolutely right, I had some problems in finding the 'release' section, I'm not that experienced in github, and I read your entire README very carefully, but didn't see anything.
After I downloaded the latest release, it seems to work, and it has replaced the cert.
Thankyou for your fast reply!