Quote from: mannp on May 25, 2022, 09:34:07 pmQuote from: db7 on May 25, 2022, 09:11:40 pmQuote from: Com DAC on May 25, 2022, 03:54:18 pmAfter the upgrade my rules weren't working either. After reading this post I opened my aliases and edited and re-saved each alias and they all started working.Just sharing that a revert to 22.1.7_1 is the only durable fix for this I've found. I tried the disable/enable alias trick as well. It works, but after a reboot the aliases return to not working correctly, and of course neither will the rules that depend on them.Did you use opnsense-revert to get to 22.1.7_1? Struggling to find the process...thxYes, that's correct. You'll want to run this:Code: [Select]opnsense-revert -r 22.1.7_1 opnsenseThen reboot, everything should come back up as it was. If you can't reboot after install, you can probably do the disable/enable on aliases to bring them up for the current session, and then the reverted opnsense package will handle loading them correctly on the next reboot.
Quote from: db7 on May 25, 2022, 09:11:40 pmQuote from: Com DAC on May 25, 2022, 03:54:18 pmAfter the upgrade my rules weren't working either. After reading this post I opened my aliases and edited and re-saved each alias and they all started working.Just sharing that a revert to 22.1.7_1 is the only durable fix for this I've found. I tried the disable/enable alias trick as well. It works, but after a reboot the aliases return to not working correctly, and of course neither will the rules that depend on them.Did you use opnsense-revert to get to 22.1.7_1? Struggling to find the process...thx
Quote from: Com DAC on May 25, 2022, 03:54:18 pmAfter the upgrade my rules weren't working either. After reading this post I opened my aliases and edited and re-saved each alias and they all started working.Just sharing that a revert to 22.1.7_1 is the only durable fix for this I've found. I tried the disable/enable alias trick as well. It works, but after a reboot the aliases return to not working correctly, and of course neither will the rules that depend on them.
After the upgrade my rules weren't working either. After reading this post I opened my aliases and edited and re-saved each alias and they all started working.
opnsense-revert -r 22.1.7_1 opnsense
hotfix directories are merged as single release after subsequent releases to avoid people catching unpatched releases, best never to use hotfix annotation with opnsense-revert.Cheers,Franco
/usr/local/opnsense/scripts/filter/update_tables.py.
root@opnsense:~ # python3 /usr/local/opnsense/scripts/filter/update_tables.pyTraceback (most recent call last): File "/usr/local/opnsense/scripts/filter/update_tables.py", line 130, in <module> geoip.download_geolite() File "/usr/local/opnsense/scripts/filter/lib/geoip.py", line 71, in download_geolite with zipfile.ZipFile(tmp_stream, mode='r', compression=zipfile.ZIP_DEFLATED) as zf: File "/usr/local/lib/python3.9/zipfile.py", line 1266, in __init__ self._RealGetContents() File "/usr/local/lib/python3.9/zipfile.py", line 1333, in _RealGetContents raise BadZipFile("File is not a zip file")zipfile.BadZipFile: File is not a zip file
Likely the file downloaded for geoip in Firewall->Aliases->Geoip settings isn't a valid database. If you remove the Url or change it for a valid geoip target, the error should go away. I will push a patch for future versions to send the message to the log and prevent a crash in these cases.Best regards,Ad