Hi, After upgrade to 5.2 I’ve this error:
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/univention/management/console/modules/diagnostic/plugins/24_portal_entries.py”, line 51, in find_all_portal_entry_problems
ipaddress.ip_address(host)
File “/usr/lib/python3.11/ipaddress.py”, line 54, in ip_address
raise ValueError(f’{address!r} does not appear to be an IPv4 or IPv6 address’)
ValueError: None does not appear to be an IPv4 or IPv6 address
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/univention/management/console/modules/diagnostic/init.py”, line 250, in execute
ret = execute(umc_module, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/univention/management/console/modules/diagnostic/plugins/24_portal_entries.py”, line 107, in run
for dn, lang, url, umc_link in checker.find_all_portal_entry_problems():
File “/usr/lib/python3/dist-packages/univention/management/console/modules/diagnostic/plugins/24_portal_entries.py”, line 53, in find_all_portal_entry_problems
if not host.strip(" "): # Not an IP but empty host ==> relative URL address but no hostname/fqdn
^^^^^^^^^^
AttributeError: ‘NoneType’ object has no attribute ‘strip’
How can I fix it?
Thank you