-
-
Notifications
You must be signed in to change notification settings - Fork 4
Description
tl;dr: If you get this error, check if you have created the A record to be updated, it might be missing.
The installation instructions are unclear, whether the A record to be updated has to be created manually during installation. I didn't and encountered the error above (full trace below). After manually creating it in Route 53 everything worked perfectly. Just leaving this here for Andrey to potentially update the instructions and everybody else doing the same mistake.
Traceback from journalctl:
py-unifi-route53-ddns[3695337]: Traceback (most recent call last):
py-unifi-route53-ddns[3695337]: File "/usr/local/share/pyuir53ddns/bin/py-unifi-route53-ddns", line 7, in
py-unifi-route53-ddns[3695337]: sys.exit(main())
py-unifi-route53-ddns[3695337]: File "/usr/local/share/pyuir53ddns/lib/python3.9/site-packages/py_unifi_route53_ddns/init.py", line 130, in main
py-unifi-route53-ddns[3695337]: run()
py-unifi-route53-ddns[3695337]: File "/usr/local/share/pyuir53ddns/lib/python3.9/site-packages/py_unifi_route53_ddns/init.py", line 82, in run
py-unifi-route53-ddns[3695337]: route53_ip, hosted_zone_id = get_route53_ip(hosted_zone_dns_name=HOSTED_ZONE_DNS_NAME, my_dns_name=MY_DNS_NAME)
py-unifi-route53-ddns[3695337]: TypeError: cannot unpack non-iterable NoneType object