core icon indicating copy to clipboard operation
core copied to clipboard

WebUI Display Issues After 25.1.1 Upgrade

Open hackdefendr opened this issue 9 months ago • 10 comments

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

  • [X] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
  • [X] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug

Upon upgrading from the latest v24 version to v25.1 and then to v25.1.1 has introduce display/graphical issues in the WebUI. As shown below, the Firmware status page shows a Plugins conflict. None of the options in the drop-down menu do anything - no response. I have attempted to roll back to v25.1 which is when it last worked.

Screenshot from Firmware -> Status: Image

When I choose any of the options under Resolve Conflicts, the Updates tab just spins forever and no system processes are running in response to selecting any option.

Screenshot from Firmware -> Plugins: Image

Now here is the twist. Everything is in fact running underneath. All plugins and services are functioning as expected they just do not reflect this in the UI. I tried to revert and update again to no avail. I tried multiple browsers with their respective incognito modes. I also ran configctl webgui restart renew which did nothing from what I can tell.

To Reproduce

Well, reproducing this might be tricky. All I did was run the updater from v25.1 to v25.1.1.

Expected behavior

I expected everything to continue working as it did with all of the v24 versions.

Describe alternatives you considered

Cleared browser caches. Tried multiple browsers. Used incognito modes. Nothing worked.

Screenshots

See above in the description.

Relevant log files

If someone could tell me which logs to grab that would show errors in the WebUI, I will attach them later.

Additional context

Love OpnSense. Would not change it for the world. I am really hoping for a command line fix that resets the webUI. Please and thank-you.

Environment

Software version used and hardware type if relevant, e.g.:

OPNsense 25.1.1 (amd64). Intel 16 core CPU, 32 gb ram, NVME storage Stupid powerful for a firewall.

hackdefendr avatar Feb 22 '25 23:02 hackdefendr

Hi @AdSchellevis

Just curious what the next steps are for this issue? I will admit, it isn't critical since OpnSense is running fine underneath despite what the WebUI reports, but clearing this up would be nice is all. Hope your weekend is relaxing.

Jeff

hackdefendr avatar Mar 01 '25 16:03 hackdefendr

Usually, you just need to check for updates to retrieve the package database (which is needed to calculate mismatches), it that doesn't work, best check connectivity from your firewall (ip and dns).

AdSchellevis avatar Mar 02 '25 12:03 AdSchellevis

My firewall is the second device in my network and is directly connected to the gateway. Everything is technically working as expected, and only the WebUI displays wrong. IP/DNS appear to work, but do not, and it appears to be DNS:

root@fw1:~ # ping google.com
ping: UDP connect: No route to host

Where no DNS works:

root@fw1:~ # ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1): 56 data bytes
64 bytes from 1.1.1.1: icmp_seq=0 ttl=57 time=5.539 ms
64 bytes from 1.1.1.1: icmp_seq=1 ttl=57 time=5.131 ms
64 bytes from 1.1.1.1: icmp_seq=2 ttl=57 time=5.266 ms
64 bytes from 1.1.1.1: icmp_seq=3 ttl=57 time=5.106 ms
--- 1.1.1.1 ping statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 5.106/5.260/5.539/0.172 ms

How do I flush DNS cache in FreeBSD?

hackdefendr avatar Mar 02 '25 14:03 hackdefendr

OK so it seems that after upgrading from 24.7 to 25.1 and then to 25.1.1 something changed in the TCP stack to prefer IPv6 over IPv4, even though I specifically checked that box to prefer IPv4. So I force disabled IPv6 completely at the OS level and rebooted. PING issue solved!

BUT

The WebUI is still broken and even running the configctl command to renew it doesn't work. Here is the message I see under System -> Firmware -> Packages:

No packages were found on your system. Please call for help.

Again, when I click the button to Resolve Plugin Issues, all it does is Spin the Updates tab forever until I refresh the screen. I really need some help here because I don't want to reinstall from scratch to fix this and that seems to be what is left.

hackdefendr avatar Mar 02 '25 16:03 hackdefendr

half configured ipv6, often causes issues, via "Prefer IPv4 over IPv6" in "System: Settings: General" you can prefer v4

AdSchellevis avatar Mar 02 '25 17:03 AdSchellevis

Well. I ended up doing a fresh install and configuration restore. This is NOT what should have to happen to fix this. It is crazy to think that a small visual bug like this had to be resolved by wiping the drive and starting over from scratch.

hackdefendr avatar Mar 03 '25 14:03 hackdefendr

When your DNS or routing fails this is simply what happens. You make sure your local box can reach the firmware mirror and there is a connectivity audit for this. All of this is configuration only.

fichtner avatar Mar 03 '25 14:03 fichtner

My DNS and Routing were working fine until I upgraded to 25.1.1. I changed nothing, I merely upgraded through the WebUI and these issues magically appeared. How is this configuration only when I showed evidence that the automatic fix it buttons were not fixing anything?

hackdefendr avatar Mar 03 '25 14:03 hackdefendr

It's only magic of it works, isn't it? :)

fichtner avatar Mar 03 '25 15:03 fichtner

Yeah I suppose that is right. So if this isn't a bug worth investigating, should I close this issue now?

hackdefendr avatar Mar 03 '25 16:03 hackdefendr

This issue has been automatically timed-out (after 180 days of inactivity).

For more information about the policies for this repository, please read https://github.com/opnsense/core/blob/master/CONTRIBUTING.md for further details.

If someone wants to step up and work on this issue, just let us know, so we can reopen the issue and assign an owner to it.

OPNsense-bot avatar Aug 21 '25 22:08 OPNsense-bot