Beta test of new NUT UPS package
-
@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
-
Ok then. It works.
-
dennypage
Thank you for reload page script also ;) Some days before I have tried similar one also but without success. -
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. :)
-
-
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!
-
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.
-
Thanks Starrbuck, much appreciated.
-
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!
-
Thank you, sir! It was fun.
-
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.
SuccessI 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
-
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?
-
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. -
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
-
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.
-
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
-
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.
-
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
-
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_1Number 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 -
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.