Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Unable to login to GUI after update to 2.3.4

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    19 Posts 8 Posters 4.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C Offline
      cjbujold
      last edited by

      Update:  tried the listed option above with no success.  On reboot found that the miniupn could not send a message and PFSense lockup.  Had to reinstall from scratch and when I try to restore from (tried 7 different ones) a backup on reboot it locks up again.

      At this point I'm manually re-entering all of the items we had.

      Noticed that the backup does not backup the packages (HAProxy) settings.  Is there a way to get this back i'm a gold user and use the autobackup facility.

      cjb

      1 Reply Last reply Reply Quote 0
      • C Offline
        Curious
        last edited by

        You're running HAProxy too?

        Maybe the issue stems from HAProxy and 2.3.4?

        1 Reply Last reply Reply Quote 0
        • marcellocM Offline
          marcelloc
          last edited by

          @Curious:

          rolling back to a recent config fixed the 504 gateway error.

          rolling forward broke it again.

          Diff the config on console to see what is wrong

          diff -Nru  oldfile newfike

          Treinamentos de Elite: http://sys-squad.com

          Help a community developer! ;D

          1 Reply Last reply Reply Quote 0
          • C Offline
            cjbujold
            last edited by

            You are correct it seems to be related to Haproxy.  If I turn it on everything freezes if I turn it off everything works properly.

            I checked the config file for Haproxy and it seems correct.  Do not know what to try next.

            Suggestion???

            1 Reply Last reply Reply Quote 0
            • L Offline
              lebernd
              last edited by

              I can confirm that HAproxy broke my update too. Is it HAproxy or just the dashboard-widget as mentioned above?

              Did someone try to disable HAproxy before update and reinstalling it afterwards?

              The most debugging seams to be here: https://forum.pfsense.org/index.php?topic=130005.msg716408#msg716408

              1 Reply Last reply Reply Quote 0
              • telservT Offline
                telserv
                last edited by

                Same issue.

                1 Reply Last reply Reply Quote 0
                • D Offline
                  DolanIT
                  last edited by

                  Bump, Same here

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    DolanIT
                    last edited by

                    Can confirm, running "haproxy -V -db – /var/etc/haproxy/haproxy.cfg" does restore functionality.

                    1 Reply Last reply Reply Quote 0
                    • jimpJ Offline
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      So I've tried both 2.4 and 2.3.4 now with HAProxy and the dashboard widget and in either case mine is working fine.

                      Any other relevant information about the systems experiencing the problem?

                      Are they running full installations? NanoBSD? i386? amd64? What other packages are installed? And so on.

                      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        DolanIT
                        last edited by

                        Running full install, amd64, on an NSA3110 packages installed are ACME, darkstat, haproxy, LADVD, LCDproc, mtr-nox11, nut, openvpn client export, pfblocker and snort.
                        Before upgrade I had 4 backends and 2 frontends (LAN and WAN) 1 of the back ends was the firewall.
                        My frontend was listening on 80 and 443.
                        SSL offloading is enabled and I am using an ACME cert.
                        My primary use for HA Proxy is host redirection (4 sites sitting behind one ip address on the same ports).
                        I dont actually do any balancing.

                        1 Reply Last reply Reply Quote 0
                        • jimpJ Offline
                          jimp Rebel Alliance Developer Netgate
                          last edited by

                          If you check with "pkg update -f" and then "pkg version -vL=" does it show anything that didn't get updated?

                          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                          Need help fast? Netgate Global Support!

                          Do not Chat/PM for help!

                          1 Reply Last reply Reply Quote 0
                          • jimpJ Offline
                            jimp Rebel Alliance Developer Netgate
                            last edited by

                            For those not following the other thread, a few updates:

                            • This is definitely from HAProxy, typically from the widget but the stats page can also break the GUI
                            • The problem is HAProxy 1.7.3 and later have a bug where some recent commits broke behavior of the UNIX socket used by the widget and stats page to gather info
                            • The bug ONLY presents itself if you have DNS Resolvers configured on the Settings tab of the HAProxy package
                            • See https://redmine.pfsense.org/issues/7533 and my post to the HAProxy discourse site at http://discourse.haproxy.org/t/dns-changes-in-1-7-3-break-unix-socket-stats-when-resolvers-are-configured/1222

                            I created a patch which reverts the problematic HAProxy changes and applied it to our port, and bumped the HAProxy package version to pick up the changes.

                            If you are stuck unable to access the GUI, "killall -9 haproxy" will get you in and you can make changes as needed. Upgrade the HAProxy package to 0.52_9 or later.

                            You can also upgrade the package at the command line, something like "pkg update; pkg upgrade" should do the trick.

                            Also, upgrading from an earlier version to 2.3.4 will now pick up the fixed version of HAProxy and it will not have this problem.

                            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                            Need help fast? Netgate Global Support!

                            Do not Chat/PM for help!

                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              DolanIT
                              last edited by

                              Thanks Jim! Every thing is working as expected now.

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post
                              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.