unable to update plugins on 22.1.1

Started by Com DAC, February 16, 2022, 03:19:34 PM

Previous topic - Next topic
February 16, 2022, 03:19:34 PM Last Edit: February 16, 2022, 03:40:26 PM by Com DAC
After updating to 21.1.1 whenever I check for updates the following message is presented: No address record found for the selected mirror.

This is what is shown in the log:
***GOT REQUEST TO CHECK FOR UPDATES***
Currently running OPNsense 22.1.1 (amd64/OpenSSL) at Wed Feb 16 09:18:03 EST 2022
Fetching changelog information, please wait... fetch: https://pkg.opnsense.org/FreeBSD:13:amd64/22.1/sets/changelog.txz: No address record
Updating OPNsense repository catalogue...
pkg: https://pkg.opnsense.org/FreeBSD:13:amd64/22.1/latest/meta.txz: No address record
repository OPNsense has no meta file, using default settings
pkg: https://pkg.opnsense.org/FreeBSD:13:amd64/22.1/latest/packagesite.txz: No address record
Unable to update repository OPNsense
Error updating repositories!
pkg: Repository OPNsense cannot be opened. 'pkg update' required
Checking integrity... done (0 conflicting)
Your packages are up to date.
***DONE***


Have I done something wrong? Is it just taking time for the update and data to be replicated to all mirrors and I should be more patient?

Thank you,


good point it is usually always DNS  ::)

I just tried a fresh install and everything worked fine, upgrade and plugin installation. After restoring my backup from 21.7.8 I get the same issue so it's a setting being restored from my configuration backup. I'll keep digging.

Thank you,

ok so after restoring my configuration backup my wan interface no longer picks up dns from dhcp. Quite strange.

Did you maybe disable "Allow DNS server list to be overridden by DHCP/PPP on WAN" under System: Settings: General while that was something you require for DNS to work on your system? There was a problem on 22.1 with static routes but to be honest 21.7.8 behaves the same as 22.1.1 within the scope of this issue.


Cheers,
Franco

It looks like 22.1.1 doesn't get dns on the wan connection via dhcp. I use dnsmasq for dns lookup as I want to forward my dns queries to my isp and that is what my configuration backup was doing (disabling unbound and enabling dnsmasq). If I disable dnsmasq and re-enable unbound after restoring my backup I can check for updates and dns queries work again.

I have double checked and "Allow DNS server list to be overridden by DHCP/PPP on WAN" is checked.

Is there a patch or fix that I can implement to have my wan get dns from dhcp again?

Thank you,

Check /etc/resolv.conf -- I would suspect servers are there.

But just in case send output of

# grep dnsallowoverride /conf/config.xml


Cheers,
Franco

February 16, 2022, 04:22:03 PM #7 Last Edit: February 16, 2022, 04:33:38 PM by Com DAC
Ok to run another test I did a fresh install of 21.1 (leaving all settings in their defaults) and after the install it did show dns entries on the interface overview page for the WAN. After upgrading to 21.1.1 the dns entries are no longer shown on the WAN. I've changed no settings and haven't even touched my configuration backup.

The output of that command is:
<dnsallowoverride/>

Incase it matters I'm running inside Hyper-V.

Thank you,

edit: should be 22.1.1 not 21.1.1 (not sure why I'm having so much trouble typing the proper version)

Thanks, I know what to do.


Cheers,
Franco

22.1.1_1 is syncing to mirrors now which removes a bad patch from 22.1.1.


Cheers,
Franco

Working perfectly fine now. Thanks!!!!