APCUPSD error upgrade from 2.4.3 to 2.4.4
-
I upgraded 2.4.3 to latest snapshot release and got a bunch of errors,
Crash report begins. Anonymous machine information: amd64 11.2-RELEASE-p1 FreeBSD 11.2-RELEASE-p1 #61 349c67ad08d(RELENG_2_4_4): Sat Aug 11 18:14:44 EDT 2018 root@buildbot3:/builder/crossbuild-ce-master/obj/amd64/FWJoMRHc/builder/crossbuild-ce-master/pfSense/tmp/FreeBSD-src/sys/pfSense Crash report details: PHP Errors: [13-Aug-2018 02:44:29 Asia/Kolkata] PHP Warning: Illegal string offset 'vip' in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 912 [13-Aug-2018 02:44:29 Asia/Kolkata] PHP Warning: Illegal string offset 'vip' in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 915 [13-Aug-2018 02:44:45 Asia/Kolkata] PHP Warning: Use of undefined constant killpower - assumed 'killpower' (this will throw an Error in a future version of PHP) in /usr/local/pkg/apcupsd_mail.php on line 26 [13-Aug-2018 02:44:45 Asia/Kolkata] PHP Warning: Use of undefined constant commfailure - assumed 'commfailure' (this will throw an Error in a future version of PHP) in /usr/local/pkg/apcupsd_mail.php on line 27 [13-Aug-2018 02:44:45 Asia/Kolkata] PHP Warning: Use of undefined constant commok - assumed 'commok' (this will throw an Error in a future version of PHP) in /usr/local/pkg/apcupsd_mail.php on line 28 [13-Aug-2018 02:44:45 Asia/Kolkata] PHP Warning: Use of undefined constant onbattery - assumed 'onbattery' (this will throw an Error in a future version of PHP) in /usr/local/pkg/apcupsd_mail.php on line 29 [13-Aug-2018 02:44:45 Asia/Kolkata] PHP Warning: Use of undefined constant offbattery - assumed 'offbattery' (this will throw an Error in a future version of PHP) in /usr/local/pkg/apcupsd_mail.php on line 30 [13-Aug-2018 02:44:45 Asia/Kolkata] PHP Warning: Use of undefined constant failing - assumed 'failing' (this will throw an Error in a future version of PHP) in /usr/local/pkg/apcupsd_mail.php on line 31 [13-Aug-2018 02:44:45 Asia/Kolkata] PHP Warning: Use of undefined constant timeout - assumed 'timeout' (this will throw an Error in a future version of PHP) in /usr/local/pkg/apcupsd_mail.php on line 32 [13-Aug-2018 02:44:45 Asia/Kolkata] PHP Warning: Use of undefined constant loadlimit - assumed 'loadlimit' (this will throw an Error in a future version of PHP) in /usr/local/pkg/apcupsd_mail.php on line 33 [13-Aug-2018 02:44:45 Asia/Kolkata] PHP Warning: Use of undefined constant runlimit - assumed 'runlimit' (this will throw an Error in a future version of PHP) in /usr/local/pkg/apcupsd_mail.php on line 34 [13-Aug-2018 02:44:45 Asia/Kolkata] PHP Warning: Use of undefined constant doreboot - assumed 'doreboot' (this will throw an Error in a future version of PHP) in /usr/local/pkg/apcupsd_mail.php on line 35 [13-Aug-2018 02:44:45 Asia/Kolkata] PHP Warning: Use of undefined constant doshutdown - assumed 'doshutdown' (this will throw an Error in a future version of PHP) in /usr/local/pkg/apcupsd_mail.php on line 36 [13-Aug-2018 02:44:45 Asia/Kolkata] PHP Warning: Use of undefined constant annoyme - assumed 'annoyme' (this will throw an Error in a future version of PHP) in /usr/local/pkg/apcupsd_mail.php on line 37 [13-Aug-2018 02:44:45 Asia/Kolkata] PHP Warning: Use of undefined constant emergency - assumed 'emergency' (this will throw an Error in a future version of PHP) in /usr/local/pkg/apcupsd_mail.php on line 38 [13-Aug-2018 02:44:45 Asia/Kolkata] PHP Warning: Use of undefined constant changeme - assumed 'changeme' (this will throw an Error in a future version of PHP) in /usr/local/pkg/apcupsd_mail.php on line 39 [13-Aug-2018 02:44:45 Asia/Kolkata] PHP Warning: Use of undefined constant remotedown - assumed 'remotedown' (this will throw an Error in a future version of PHP) in /usr/local/pkg/apcupsd_mail.php on line 40 No FreeBSD crash data found.
-
On a virgin 2.4.4 box, i tried to restore a 2.4.4 config and received the error,
Crash report begins. Anonymous machine information: amd64 11.2-RELEASE-p1 FreeBSD 11.2-RELEASE-p1 #61 349c67ad08d(RELENG_2_4_4): Sat Aug 11 18:14:44 EDT 2018 root@buildbot3:/builder/crossbuild-ce-master/obj/amd64/FWJoMRHc/builder/crossbuild-ce-master/pfSense/tmp/FreeBSD-src/sys/pfSense Crash report details: PHP Errors: [13-Aug-2018 04:03:41 Asia/Kolkata] PHP Warning: stream_select(): unable to select [4]: Interrupted system call (max_fd=17) in /etc/inc/pkg-utils.inc on line 150 No FreeBSD crash data found.
-
The APCUPSd errors are known: https://redmine.pfsense.org/issues/8780
It's just waiting on one of us to have a few spare moments to fix it.
The other error looks like a package reinstall was interrupted midway somehow. Were there any other errors on the console or in the system log?
-
@jimp said in APCUPSD error upgrade from 2.4.3 to 2.4.4:
The other error looks like a package reinstall was interrupted midway somehow. Were there any other errors on the console or in the system log?
I did not notice any other error. Will test again in a VM.
-
The apcupsd errors are fixed in the current package that is up now, 0.3.91_4.