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 34.1k 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

      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!

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

        
        Aug 3 07:11:33 	pkg 		pfSense-pkg-nut-2.7.4b6 installed
        Aug 3 07:11:33 	php 		/etc/rc.packages: Successfully installed package: nut.
        Aug 3 07:11:33 	check_reload_status 		Syncing firewall
        Aug 3 07:11:29 	php 		/etc/rc.packages: Starting service nut
        Aug 3 07:11:29 	check_reload_status 		Syncing firewall
        Aug 3 07:11:28 	php 		/etc/rc.packages: Beginning package installation for nut .
        Aug 3 07:11:28 	pkg 		nut-2.7.4 installed
        Aug 3 07:11:18 	pkg 		nut-2.7.4 deinstalled 
        
        

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

        1 Reply Last reply Reply Quote 0
        • 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
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.