Closed tackynugget closed 2 years ago
Thank you for your thorough debugging @OverengineeredNetwork! Hopefully I've been able to address all open issues for now.
I just uninstalled and reinstalled everything.
I meant to test ENABLE_CAPTIVE #2 and ENABLE_RADIUS #5 separately, but accidentally tested them at the same time because of the cached version of my ubios-cert.env file.
I noticed the following entry (see bold) during what I think would be within the ENABLE_CAPTIVE section of the script:
New certificate was generated, time to deploy it chmod: /mnt/data/unifi-os/unifi-core/config/ca.cer: No such file or directory Checking if Captive Portal certificate needs update.
I confirmed that there is no such file at that location, although the path does exist. I'm not sure how important this is.
Thanks again for your work here, both on the original script and the amendments!
Thanks @OverengineeredNetwork, that is one (now) extraneous line of code which I now removed.
It should not affect functionality but has been fixed in the most current version.
Hi there,
Thank you for your work here.
I was able to use CloudFlare's DNS API with your
ubios-cert.env
file, however, setting line 9ENABLE_CAPTIVE='no'
causes the following error:After I saw this error, I followed your De-installation and de-registration steps.
I then followed the Installation steps, but tried different settings in the /mnt/data/ubios-cert/ubios-cert.env file; de-installing and de-registering after each test:
cp: can't stat
errors)cp: can't stat
errors)I tried to Google the errors, but couldn't find anything.
I inspected the directories and they all had the expected certificate files.
My UDM-PRO is running 1.10.4.