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

    APCUPSD widget not working after pfSense + update to v.23.01

    Scheduled Pinned Locked Moved UPS Tools
    8 Posts 4 Posters 2.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.
    • B
      bavcon22
      last edited by rcoleman-netgate

      Something went wrong in update process an now my pfSense does not display information from my APC UPS. I added my upgrade logs and image with error in it.
      PHP_errors.txt
      Screenshot from 2023-02-20 20-27-29.png Screenshot from 2023-02-20 20-28-55.png
      My APP on the phone can "see" the data from UPS connected to pfSense, the widget does not work.

      R 1 Reply Last reply Reply Quote 0
      • R
        rcoleman-netgate Netgate @bavcon22
        last edited by

        @bavcon22 I would suggest opening a redmine for the widget issue.

        https://redmine.pfsense.org/

        Ryan
        Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
        Requesting firmware for your Netgate device? https://go.netgate.com
        Switching: Mikrotik, Netgear, Extreme
        Wireless: Aruba, Ubiquiti

        B 1 Reply Last reply Reply Quote 0
        • jimpJ jimp moved this topic from Problems Installing or Upgrading pfSense Software on
        • B
          bavcon22 @rcoleman-netgate
          last edited by

          @rcoleman-netgate Hi, now I have time to open an bug report. I hope that I wrote all is needed for the developers to solve this bug.

          Sincerely yours,

          1 Reply Last reply Reply Quote 0
          • L
            LamaZ
            last edited by LamaZ

            I am also observing issues with APCUPSD after upgrading to pfSense+ 23.01-RELEASE.

            After some amount of time (hours minutes), the system log is flood with upsmon 40220 Poll UPS [PR1000LCDRT1U] failed - Driver not connected.

            Setup is a CyberPower Smart App Sinewave UPS Series PR1000LCDRT1U hooked up via USB cable to a Netgate SG-5100. This configuration has been rock solid for over a year on previous releases.

            Screen Shot 2023-02-25 at 8.10.33 AM.png
            Screen Shot 2023-02-25 at 8.08.26 AM.png

            I'll re-enable notifications and provide details with precisely how long it took for the driver to fail. Steps already tried that haven't worked:

            • re-installing the nut 2.8.0_2 package in the package manager
            • rebooting the appliance (and angering the users)

            -LamaZ

            dennypageD 1 Reply Last reply Reply Quote 0
            • L
              LamaZ
              last edited by LamaZ

              Well that didn't take very long. Here is the output of /var/log/system.log related to upsd, upsmon, and so on.

              Total time from service restart to failure was in minutes.

              Feb 25 07:11:47 pfSense upsmon[40220]: Poll UPS [PR1000LCDRT1U] failed - Driver not connected
              Feb 25 07:11:49 pfSense upsmon[40220]: Signal 15: exiting
              Feb 25 07:11:49 pfSense upsd[51089]: User local-monitor@::1 logged out from UPS [PR1000LCDRT1U]
              Feb 25 07:11:49 pfSense upsd[51089]: mainloop: Interrupted system call
              Feb 25 07:11:49 pfSense upsd[51089]: Signal 15: exiting
              Feb 25 08:00:02 pfSense php[31846]: [pfBlockerNG] Starting cron process.
              Feb 25 08:00:12 pfSense php[31846]: [pfBlockerNG] No changes to Firewall rules, skipping Filter Reload
              Feb 25 08:00:12 pfSense php[31846]: 
              Feb 25 08:10:02 pfSense upsmon[97919]: Startup successful
              Feb 25 08:10:02 pfSense upsmon[97919]: UPS [PR1000LCDRT1U]: connect failed: Connection failure: Connection refused
              Feb 25 08:10:02 pfSense upsmon[97919]: Communications with UPS PR1000LCDRT1U lost
              Feb 25 08:10:02 pfSense usbhid-ups[98479]: Startup successful
              Feb 25 08:10:03 pfSense upsd[98741]: listening on ::1 port 3493
              Feb 25 08:10:03 pfSense upsd[98741]: listening on 127.0.0.1 port 3493
              Feb 25 08:10:03 pfSense upsd[98741]: Connected to UPS [PR1000LCDRT1U]: usbhid-ups-PR1000LCDRT1U
              Feb 25 08:10:03 pfSense upsd[98741]: Startup successful
              Feb 25 08:10:06 pfSense upsd[98741]: User remoteuser@192.168.x.xxx logged into UPS [PR1000LCDRT1U]
              Feb 25 08:10:07 pfSense upsd[98741]: User local-monitor@::1 logged into UPS [PR1000LCDRT1U]
              Feb 25 08:10:07 pfSense upsmon[97919]: Communications with UPS PR1000LCDRT1U established
              Feb 25 08:14:21 pfSense check_reload_status[393]: Syncing firewall
              Feb 25 08:14:21 pfSense php-fpm[364]: /nut_settings.php: Stopping service nut
              

              Note - I have a remote client that connects to pfSense for ups status.

              -LamaZ

              1 Reply Last reply Reply Quote 0
              • dennypageD
                dennypage @LamaZ
                last edited by

                @lamaz said in APCUPSD widget not working after pfSense + update to v.23.01:

                I am also observing issues with APCUPSD after upgrading to pfSense+ 23.01-RELEASE.
                After some amount of time (hours minutes), the system log is flood with upsmon 40220 Poll UPS [PR1000LCDRT1U] failed - Driver not connected.
                Setup is a CyberPower Smart App Sinewave UPS Series PR1000LCDRT1U hooked up via USB cable to a Netgate SG-5100. This configuration has been rock solid for over a year on previous releases.

                That is not apcupsd. That is nut.

                See here.

                L 1 Reply Last reply Reply Quote 1
                • L
                  LamaZ @dennypage
                  last edited by LamaZ

                  @dennypage said That is not apcupsd. That is nut.

                  Fantastic catch :)! apcupsd != nut. Mods, can we move my 2 posts here?

                  -LamaZ

                  1 Reply Last reply Reply Quote 0
                  • B
                    bavcon22
                    last edited by bavcon22

                    Yesterday, I reinstalled my apcupsd and now my widget is working again.

                    1 Reply Last reply Reply Quote 1
                    • stephenw10S stephenw10 moved this topic from pfSense Packages on
                    • First post
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.