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

    Service installation problems / service widget display(?) bug

    Scheduled Pinned Locked Moved CE 2.7.0 Development Snapshots (Retired)
    5 Posts 2 Posters 591 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.
    • JeGrJ
      JeGr LAYER 8 Moderator
      last edited by

      I upgraded our dev instance to the new snapshots. Had to remove PfBlockerNG-devel as it has PHP errors in Post Install script but all other packages on the list could be installed/upgraded. That were:

      acme: ✓ check
      cron: ✓ check
      filter: ✓ check
      freeradius: ✓ check
      haproxy(devel): ✓ check
      lldpd: ✓ check
      mtr-nox11: ✓ check
      nmap: ✓ check
      openvpn-client-export: ✓ check
      pfBlockerNG-devel: X NOPE - PHP Errors
      shellcmd: ✓ check
      sudo: ✓ check
      status-traffic-totals: ✓ check
      system patches: ✓ check
      wireguard: ✓ WARN: immer noch dpinger/unbound bug
      tailscale: ✓ check

      On a sidenote: Wireguard Package still has the reported buggy installation behavior: if you install or upgrade wireguard, dpinger and unbound services will be down afterwards and no further package or internet access (with DNS) is possible until a restart of both packages. Then they work without a problem. It's always triggered by wireguard being installed or (fully) upgraded.

      besides that, after installing/upgrading/reinstalling all packages and looking our for post install problems, the service widget jumped to my eyes: it won't show the new services even though they show up in the widgets config section:

      f5ea94e3-77b3-4227-aa1b-2b24c2dca703-image.png

      So radius, wireguard etc. are checked but won't show up as status or restart.

      Status / Services shows them correctly:

      8c0b648b-bf5f-4c4c-a74a-4ba613d04daf-image.png

      Cheers
      \jens

      Don't forget to upvote 👍 those who kindly offered their time and brainpower to help you!

      If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

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

        I'd have to look over the code again but I'm pretty sure that is because the widget doesn't display "disabled" services to conserve space. Presumably if a service is disabled (not just stopped) it isn't worth taking up precious dashboard area.

        Might be something we could make a toggle in the widget settings.

        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!

        JeGrJ 1 Reply Last reply Reply Quote 0
        • JeGrJ
          JeGr LAYER 8 Moderator @jimp
          last edited by JeGr

          @jimp said in Service installation problems / service widget display(?) bug:

          I'd have to look over the code again but I'm pretty sure that is because the widget doesn't display "disabled" services to conserve space. Presumably if a service is disabled (not just stopped) it isn't worth taking up precious dashboard area.

          Might be something we could make a toggle in the widget settings.

          Thought so, too but check e.g. "radius" or "lldpd" - it's running and working but still doesn't show up in the list. :)

          Don't forget to upvote 👍 those who kindly offered their time and brainpower to help you!

          If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

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

            Ah, you are right. There is a flaw / difference in the logic the wizard uses when it tries to hide disabled services, it wasn't determining the status properly compared to the status page. There are still potential pitfalls there but at least now they should be consistent.

            https://github.com/pfsense/pfsense/commit/ade64ca64752c23ccec69640397aa034c648da85

            It was either that or remove the disabled check entirely which makes it list all of the disabled services in the widget which made it even longer on the systems I looked at. Which again might be nice as an option but it's more work and can wait until later. Might be worth putting in a feature request Redmine if you'd be interested in that for a later release.

            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!

            JeGrJ 1 Reply Last reply Reply Quote 0
            • JeGrJ
              JeGr LAYER 8 Moderator @jimp
              last edited by

              @jimp said in Service installation problems / service widget display(?) bug:

              https://github.com/pfsense/pfsense/commit/ade64ca64752c23ccec69640397aa034c648da85

              Checked this, too - works as expected!
              Services show up when enabled and configured properly and show their status again :)

              Thanks again

              Don't forget to upvote 👍 those who kindly offered their time and brainpower to help you!

              If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

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