OPNsense Forum

Archive => 20.7 Legacy Series => Topic started by: hushcoden on August 02, 2020, 11:50:58 PM

Title: Unbound log doesn't update after upgrade to 20.7
Post by: hushcoden on August 02, 2020, 11:50:58 PM
As per title, the last entry in the unbound log is yesterday at the time I upgraded to 20.7 and nothing since then, how come ??

Tia.
Title: Re: Unbound log doesn't update after upgrade to 20.7
Post by: mimugmail on August 03, 2020, 10:07:07 AM
Can you also check other logs? Any entries?
Did you switch to text based logging?
Title: Re: Unbound log doesn't update after upgrade to 20.7
Post by: hushcoden on August 03, 2020, 02:07:45 PM
Quote from: mimugmail on August 03, 2020, 10:07:07 AM
Can you also check other logs? Any entries?
So, the following logs are not updated as last entries are back to August 1 at 18:33 when I updated to 20.7

   - System: Log Files: Backend
   - System: Log Files: Web GUI
   - Firewall: Log Files: Live View
   - Firewall: Log Files: Plain View
   - Services: DHCPv4: Log File
   - Services: Network Time: Log File
   - Services: Unbound DNS: Log File

and the only up-to-date log is

   - System: Log Files: General

Quote
Did you switch to text based logging?
Sorry, I don't what it means...  :-\

And checking the dashboard, I see that both syslog-ng and syslogd are currently running.
Title: Re: Unbound log doesn't update after upgrade to 20.7
Post by: mimugmail on August 03, 2020, 02:41:30 PM
Can you restart syslog a couple of times or maybe restart OPN again?
Title: Re: Unbound log doesn't update after upgrade to 20.7
Post by: hushcoden on August 03, 2020, 03:16:40 PM
Done, restarted once again OPN but no luck... I feel I will have to install 20.7 from scratch...  :o
Title: Re: Unbound log doesn't update after upgrade to 20.7
Post by: mimugmail on August 03, 2020, 03:20:36 PM
Can you take a video from boot up process when connecting monitor and look for a syslog crash?
Title: Re: Unbound log doesn't update after upgrade to 20.7
Post by: CJ on August 30, 2020, 04:34:10 PM
I'm seeing the same issues but not with all of the same log files.

These work.

   - System: Log Files: Backend
   - System: Log Files: Web GUI
   - Firewall: Log Files: Live View
   - Firewall: Log Files: Plain View
   - Services: DHCPv4: Log File

These do not.

   - Services: Network Time: Log File
   - Services: Unbound DNS: Log File
Title: Re: Unbound log doesn't update after upgrade to 20.7
Post by: mimugmail on August 30, 2020, 05:55:32 PM
20.7.2 brings a fix
Title: Re: Unbound log doesn't update after upgrade to 20.7
Post by: CJ on August 30, 2020, 06:27:02 PM
Awesome.

On a related note, are there plans to make Unbound provide the Apply Settings notice when updating the new DNS options for DoT and DNSBL?

Thanks.
Title: Re: Unbound log doesn't update after upgrade to 20.7
Post by: mimugmail on August 30, 2020, 06:58:03 PM
No, the second Apply is for legacy pages and new style just Save
Title: Re: Unbound log doesn't update after upgrade to 20.7
Post by: danielm on August 30, 2020, 07:06:21 PM
Try to clear logs that have many items in them, for me it helped and syslog-ng could be restarted again.
It is also prone to crashes in this version, so always if your logs seems stale, it's probably because syslog has crashed again...
Let's hope 20.7.2 comes fast as I also wasted hours on this before figuring it out - and it's quite annoying to me when configuring something new that needs debugging, but your log keeps crashing  :(.
Title: Re: Unbound log doesn't update after upgrade to 20.7
Post by: CJ on August 31, 2020, 05:53:44 PM
Quote from: mimugmail on August 30, 2020, 06:58:03 PM
No, the second Apply is for legacy pages and new style just Save

Ah, okay.  I didn't realize there was a shift going on.

To confirm, you're saying that when I hit save on the DNSBL page it will automatically restart Unbound?

Sorry for the derailment and thanks.
Title: Re: Unbound log doesn't update after upgrade to 20.7
Post by: mimugmail on August 31, 2020, 10:01:09 PM
Yes, but sometimes it needs 2 or 3, but I have mit yet found the reason
Title: Re: Unbound log doesn't update after upgrade to 20.7
Post by: CJ on September 06, 2020, 05:54:18 PM
Quote from: mimugmail on August 31, 2020, 10:01:09 PM
Yes, but sometimes it needs 2 or 3, but I have mit yet found the reason

Interesting.  Not sure if I've seen that.  However, my Unbound log started working recently.  I'm not sure why.  I'm still on 20.7.1
Title: Re: Unbound log doesn't update after upgrade to 20.7
Post by: patcsy88 on October 09, 2020, 07:24:54 PM
I am facing the same issue where Unbound is NOT logging via syslog-ng. I am on 20.7.3 on a PCEngine kit. On a similar system with 20.7.3 i5 Qotom, that is working correctly. I have checked the settings and they are near identical. Any insights would be most helpful please...
Title: Re: Unbound log doesn't update after upgrade to 20.7
Post by: mimugmail on October 10, 2020, 09:59:00 AM
Next update should fix most of it
Title: Re: Unbound log doesn't update after upgrade to 20.7
Post by: patcsy88 on October 10, 2020, 10:22:16 AM
Ignore my previous message - my bad as I had not enabled query logging under Advanced.

Quote from: patcsy88 on October 09, 2020, 07:24:54 PM
I am facing the same issue where Unbound is NOT logging via syslog-ng. I am on 20.7.3 on a PCEngine kit. On a similar system with 20.7.3 i5 Qotom, that is working correctly. I have checked the settings and they are near identical. Any insights would be most helpful please...