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

    Beta test of new NUT UPS package

    Scheduled Pinned Locked Moved pfSense Packages
    114 Posts 15 Posters 33.7k 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.
    • dennypageD
      dennypage
      last edited by

      @w0w:

      But… NUT service itself does not start automatically after installation. Only on saving config or reboot.

      This is expected: https://forum.pfsense.org/index.php?topic=114871.msg643281#msg643281

      1 Reply Last reply Reply Quote 0
      • w0wW
        w0w
        last edited by

        Ok then. It works.

        1 Reply Last reply Reply Quote 0
        • w0wW
          w0w
          last edited by

          dennypage
          Thank you for reload page script also ;) Some days before I have tried similar one also but without success.

          1 Reply Last reply Reply Quote 0
          • T
            timotl
            last edited by

            dennypage

            Connected fine to my APC UPS over SNMP.
            It even picked up the config and converted it.
            The old package had all of the SNMP settings broken out so you could just fill it in.
            It looks like the only one really needed anymore is the community string.
            Might be more friendly to have a setting for it or a note in the extra arguments.

            All working fine for me though, but it did take a second to look for UPS instead of NUT in the services list.  :)

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

              @w0w:

              Thank you for reload page script also ;)

              You're welcome!

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

                Thanks timotl, I'm glad it worked for you. I reason I didn't put the community string as a primary part of the config is because it is optional to the driver and the majority of folk leave this as the default value (public). I'll add a note to the doc thread in the forum to make sure people know. Thanks again for your help with testing!

                1 Reply Last reply Reply Quote 0
                • S
                  Starrbuck
                  last edited by

                  @dennypage:

                  I sent out a beta 6 version to everyone. The only change is the ups “pending” change discussed above. To avoid any confusion, please delete the prior version via pkg delete prior to installing the new version.

                  If you have time to give this version a test, I would really appreciate it. I'd like to put this to bed. Thanks!

                  Beta 6 working fine here.

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

                    Thanks Starrbuck, much appreciated.

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

                      The new NUT package has been merged. This version is identified as 2.7.4_1, and is equivalent to beta version 6. When the package becomes available via the package manager, I recommend that you delete the beta version prior to installing the production version.

                      Again, thank you for the help guys. It is greatly appreciated!

                      1 Reply Last reply Reply Quote 0
                      • S
                        Starrbuck
                        last edited by

                        Thank you, sir!  It was fun.

                        1 Reply Last reply Reply Quote 0
                        • T
                          th3r3isnospoon
                          last edited by

                          Hello All,

                          Thank you for the work on this.

                          After installing the new version, I no longer see it listed in the services menu (neither NUT nor UPS).  I tried the install on two different pfSense FW's running 2.3.2 (pfsense amd64 and nanobsd) and right now it doesn't work on either box.

                          When I do a full reinstall it says this:

                          Upgrading pfSense-pkg-nut…
                          Updating pfSense-core repository catalogue...
                          pfSense-core repository is up-to-date.
                          Updating pfSense repository catalogue...
                          pfSense repository is up-to-date.
                          All repositories are up-to-date.
                          Checking integrity... done (0 conflicting)
                          The following 1 package(s) will be affected (of 0 checked):

                          Installed packages to be REINSTALLED:
                          pfSense-pkg-nut-2.7.4_1 [pfSense]

                          Number of packages to be reinstalled: 1
                          [1/1] Reinstalling pfSense-pkg-nut-2.7.4_1…
                          [1/1] Extracting pfSense-pkg-nut-2.7.4_1: …....... done
                          The nut package is not installed.

                          Deletion aborted.XML error: PKGINFOLINK at line 8 cannot occur more than once

                          Cleaning up cache... done.
                          Success

                          I tried a full uninstall and reinstall but the service is nowhere to be found.  It shows that the package is installed, I just can't do anything besides that.  Any ideas?

                          Thanks,

                          -th3r3isnospoon

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

                            I am also seeing this error on factory, but not on beta. I don't have a community version at the moment to check on. Which version are you running? Community, factory, or beta?

                            1 Reply Last reply Reply Quote 0
                            • T
                              timotl
                              last edited by

                              If it helps, I tried to update from beta and see the same error on community.
                              Removed the package manually and still has the same error on install.

                              1 Reply Last reply Reply Quote 0
                              • T
                                th3r3isnospoon
                                last edited by

                                @dennypage:

                                I am also seeing this error on factory, but not on beta. I don't have a community version at the moment to check on. Which version are you running? Community, factory, or beta?

                                Using the Community edition.

                                Thanks,

                                -th3r3isnospoon

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

                                  Sorry about the problems. I'm not sure if it's something I need to change, or not. I've sent a note to one of the guys who manages the packages to ask.

                                  In the interim, you should be able to reinstall the beta package via the command line as you did during the beta.

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    th3r3isnospoon
                                    last edited by

                                    @dennypage:

                                    Sorry about the problems. I'm not sure if it's something I need to change, or not. I've sent a note to one of the guys who manages the packages to ask.

                                    In the interim, you should be able to reinstall the beta package via the command line as you did during the beta.

                                    No problem man, bugs happen, just wanted to let you know!

                                    Thanks,

                                    -th3r3isnospoon

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

                                      It's been tracked down to a specific problem with a branch of the repo. I'm sure it will be fixed soon.

                                      Thank you for your patience.

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        th3r3isnospoon
                                        last edited by

                                        @dennypage:

                                        It's been tracked down to a specific problem with a branch of the repo. I'm sure it will be fixed soon.

                                        Thank you for your patience.

                                        Awesome, thank you!  :)

                                        -th3r3isnospoon

                                        1 Reply Last reply Reply Quote 0
                                        • V
                                          val
                                          last edited by

                                          On Community Edition here also seeing the XML error message.

                                          The process will require 17 MiB more space.
                                          1 MiB to be downloaded.
                                          Fetching nut-2.7.4.txz: …....... done
                                          Fetching neon-0.30.1.txz: .......... done
                                          Checking integrity... done (0 conflicting)
                                          [1/4] Installing neon-0.30.1…
                                          [1/4] Extracting neon-0.30.1: …....... done
                                          [2/4] Installing net-snmp-5.7.3_11…
                                          [2/4] Extracting net-snmp-5.7.3_11: …....... done
                                          [3/4] Installing nut-2.7.4…
                                          [3/4] Extracting nut-2.7.4: …....... done
                                          [4/4] Installing pfSense-pkg-nut-2.7.4_1…
                                          [4/4] Extracting pfSense-pkg-nut-2.7.4_1: …....... done
                                          XML error: PKGINFOLINK at line 8 cannot occur more than once
                                          Message from net-snmp-5.7.3_11:

                                          And uninstall show following:-

                                          Removing pfSense-pkg-nut…
                                          Checking integrity... done (0 conflicting)
                                          Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

                                          Installed packages to be REMOVED:
                                          pfSense-pkg-nut-2.7.4_1

                                          Number of packages to be removed: 1
                                          [1/1] Deinstalling pfSense-pkg-nut-2.7.4_1…
                                          The nut package is not installed.

                                          Deletion aborted.[1/1] Deleting files for pfSense-pkg-nut-2.7.4_1: …....... done
                                          The nut package is not installed.

                                          Deletion aborted.>>> Removing stale packages... done.
                                          Success

                                          Intel Xeon E3-1225 V2 @ 3.20Ghz
                                          Intel S1200KPR server board mini-ITX
                                          A-data ECC 4GB x 2 1600MHz
                                          Intel Ethernet Server Adapter I350-T2
                                          Samsung 840 Pro 120GB
                                          Lian-Li PC-Q15B

                                          1 Reply Last reply Reply Quote 0
                                          • w0wW
                                            w0w
                                            last edited by

                                            You can fix it right now by installing beta 6 back manually or change your firmware branch to development, re-install package (you can do it from GUI, even if package itself is broken) and then change branch to stable.
                                            Or just wait for a fix in repo.

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