Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - coutts99

#1
25.1, 25.4 Series / Re: 25.1.2 DNSmasq Errors
March 04, 2025, 12:42:44 PM
Quote from: franco on March 04, 2025, 12:33:31 PMMaybe the primary is pushing the dnsmasq config to the backup reverting it again later? I would recommend updating the master too.

Edit: posted before your other reply


Cheers,
Franco

Hmm, yes maybe, I updated the secondary and held off on the primary until users went out to work/school so they wouldn't complain.

Then once I noticed dnsmasq was broken on the secondary I didn't want to do the primary incase it broken on that too :)

Mental note made to do primary first in future
#2
25.1, 25.4 Series / Re: 25.1.2 DNSmasq Errors
March 04, 2025, 12:32:25 PM
Upgraded my primary and it's fine, that migration was done as part of the upgrade, no idea what happened to the secondary!

Thank for the help though, appreciated!
#3
25.1, 25.4 Series / Re: 25.1.2 DNSmasq Errors
March 04, 2025, 12:22:45 PM
root@fw-sec:~ # /usr/local/opnsense/mvc/script/run_migrations.php
Migrated OPNsense\Unbound\Unbound from 1.0.11 to 1.0.12
Migrated OPNsense\Dnsmasq\Dnsmasq from <unversioned> to 1.0.0

And the service starts now :)
#4
25.1, 25.4 Series / 25.1.2 DNSmasq Errors
March 04, 2025, 11:36:39 AM
Hello,

On 25.1.2 dnsmasq will not start, I am seeing the following errors -:

[04-Mar-2025 10:27:33 Europe/London] PHP Fatal error:  Uncaught TypeError: explode(): Argument #2 ($string) must be of type string, array given in /usr/local/etc/inc/plugins.inc.d/dnsmasq.inc:234
Stack trace:
#0 /usr/local/etc/inc/plugins.inc.d/dnsmasq.inc(234): explode(',', Array)
#1 /usr/local/etc/inc/plugins.inc.d/dnsmasq.inc(199): _dnsmasq_add_host_entries()
#2 /usr/local/etc/inc/util.inc(229): dnsmasq_configure_do()
#3 /usr/local/sbin/pluginctl(261): service_control_start('dnsmasq', Array)
#4 {main}
  thrown in /usr/local/etc/inc/plugins.inc.d/dnsmasq.inc on line 234

This is on my secondary unit, my primary is still on 25.1.1 and seems to be fine.

Any ideas?