Project

General

Profile

Actions

Bug #15006

open

Upgrade Issue to 23.09 Results in Stuck Prompt Mid-upgrade

Added by Kris Phillips 5 months ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Upgrade
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Release Notes:
Default
Affected Plus Version:
23.09
Affected Architecture:
All

Description

Symptom:
Devices get stuck at a "Enter full pathname of the shell or RETURN for /bin/sh:" prompt mid-upgrade. Rebooting the appliance causes it to be stuck at a "-sh: /etc/rc.initial: not found" prompt after asking for credentials.

This does not appear to be an arch problem as amd64 and aarch64 are both seemingly affected.

Relevant errors during bootup captured from an 1100 that failed to upgrade properly:

[113/168] Extracting php82-pear-Net_URL2-2.2.1: .......... done

Warning: foreach() argument must be of type array|object, null given in Command.php on line 249

Warning: foreach() argument must be of type array|object, null given in Command.php on line 249

Warning: foreach() argument must be of type array|object, null given in Command.php on line 249

Warning: foreach() argument must be of type array|object, null given in Command.php on line 249

Warning: foreach() argument must be of type array|object, null given in Command.php on line 249

Warning: foreach() argument must be of type array|object, null given in Command.php on line 249

Warning: foreach() argument must be of type array|object, null given in Command.php on line 249

Warning: foreach() argument must be of type array|object, null given in Command.php on line 249

Warning: foreach() argument must be of type array|object, null given in Command.php on line 249

Warning: foreach() argument must be of type array|object, null given in Command.php on line 249

Warning: foreach() argument must be of type array|object, null given in Command.php on line 249

Warning: Trying to access array offset on value of type null in Role.php on line 250

Warning: Trying to access array offset on value of type null in Role.php on line 251

Warning: Trying to access array offset on value of type null in Role.php on line 250

Warning: Trying to access array offset on value of type null in Role.php on line 251

Warning: Trying to access array offset on value of type null in Role.php on line 250

Warning: Trying to access array offset on value of type null in Role.php on line 251

Warning: Trying to access array offset on value of type null in Role.php on line 250

Warning: Trying to access array offset on value of type null in Role.php on line 251

Warning: Trying to access array offset on value of type null in Role.php on line 250

Warning: Trying to access array offset on value of type null in Role.php on line 251

Warning: Trying to access array offset on value of type null in Role.php on line 250

Warning: Trying to access array offset on value of type null in Role.php on line 251

Warning: Trying to access array offset on value of type null in Role.php on line 250

Warning: Trying to access array offset on value of type null in Role.php on line 251

Warning: Trying to access array offset on value of type null in Role.php on line 250

Warning: Trying to access array offset on value of type null in Role.php on line 251

Warning: Trying to access array offset on value of type null in Role.php on line 250

Warning: Trying to access array offset on value of type null in Role.php on line 251

Warning: Trying to access array offset on value of type null in Role.php on line 250

Warning: Trying to access array offset on value of type null in Role.php on line 251

Warning: Undefined array key "honorsbaseinstall" in Role.php on line 173

Warning: Undefined array key "honorsbaseinstall" in Role.php on line 173

Warning: Undefined array key "honorsbaseinstall" in Role.php on line 173

Warning: Undefined array key "honorsbaseinstall" in Role.php on line 173

Warning: Undefined array key "honorsbaseinstall" in Role.php on line 173

Warning: Undefined array key "honorsbaseinstall" in Role.php on line 173

Warning: Undefined array key "honorsbaseinstall" in Role.php on line 173

Warning: Undefined array key "honorsbaseinstall" in Role.php on line 173

Warning: Undefined array key "honorsbaseinstall" in Role.php on line 173

Warning: Undefined array key "honorsbaseinstall" in Role.php on line 173

Warning: Undefined array key "installable" in Role.php on line 139

Warning: Undefined array key "installable" in Role.php on line 139

Warning: Undefined array key "installable" in Role.php on line 139

Warning: Undefined array key "installable" in Role.php on line 139

Warning: Undefined array key "installable" in Role.php on line 139

Warning: Undefined array key "installable" in Role.php on line 139

Warning: Undefined array key "installable" in Role.php on line 139

Warning: Undefined array key "installable" in Role.php on line 139

Warning: Undefined array key "installable" in Role.php on line 139

Warning: Undefined array key "installable" in Role.php on line 139

Warning: Undefined array key "phpfile" in Role.php on line 204

Warning: Undefined array key "phpfile" in Role.php on line 204

Warning: Undefined array key "phpfile" in Role.php on line 204

Warning: Undefined array key "phpfile" in Role.php on line 204

Warning: Undefined array key "phpfile" in Role.php on line 204

Warning: Undefined array key "phpfile" in Role.php on line 204

Warning: Undefined array key "phpfile" in Role.php on line 204

Warning: Undefined array key "phpfile" in Role.php on line 204

Warning: Undefined array key "phpfile" in Role.php on line 204

Warning: Undefined array key "phpfile" in Role.php on line 204

Warning: Undefined array key "config_vars" in Role.php on line 46

Warning: Undefined array key "config_vars" in Role.php on line 46

Warning: Undefined array key "config_vars" in Role.php on line 46

Warning: Undefined array key "config_vars" in Role.php on line 46

Warning: Undefined array key "config_vars" in Role.php on line 46

Warning: Undefined array key "config_vars" in Role.php on line 46

Warning: Undefined array key "config_vars" in Role.php on line 46

Warning: Undefined array key "config_vars" in Role.php on line 46

Warning: Undefined array key "config_vars" in Role.php on line 46

Warning: Undefined array key "config_vars" in Role.php on line 46
XML Extension not found
pkg-static: POST-INSTALL script failed
[114/168] Installing boost-libs-1.82.0_1...
[114/168] Extracting boost-libs-1.82.0_1: .......pid 518 (pkg-static), jid 0, uid 0, was killed: failed to reclaim memory
Child process pid=518 terminated abnormally: Killed

Unlocking package pfSense-pkg-aws-wizard... done.
Unlocking package pfSense-pkg-ipsec-profile-wizard... done.

Fatal error: Uncaught Error: Call to undefined function gettext() in /etc/inc/certs.inc:48
Stack trace:
#0 /etc/inc/functions.inc(34): require_once()
#1 /etc/rc.ecl(25): require_once('/etc/inc/functi...')
#2 {main}
thrown in /etc/inc/certs.inc on line 48
Launching the init system...
Fatal error: Uncaught Error: Failed opening required 'Net/IPv6.php' (include_path='.:/etc/inc:/usr/local/pfSense/include:/usr/local/pfSense/include/www:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg:/usr/local/www/classes:/usr/local/www/classes/Form:/usr/local/share/pear:/usr/local/share/openssl_x509_crl/') in /etc/inc/util.inc:28
Stack trace:
#0 /etc/inc/config.lib.inc(29): require_once()
#1 /etc/inc/auth.inc(31): require_once('/etc/inc/config...')
#2 /etc/inc/captiveportal.inc(29): require_once('/etc/inc/auth.i...')
#3 /etc/inc/service-utils.inc(25): require_once('/etc/inc/captiv...')
#4 /etc/inc/pkg-utils.inc(26): require_once('/etc/inc/servic...')
#5 /etc/rc.bootup(27): require_once('/etc/inc/pkg-ut...')
#6 {main}
thrown in /etc/inc/util.inc on line 28
Starting CRON... done.

Fatal error: Uncaught Error: Call to undefined function gettext() in /etc/inc/certs.inc:48
Stack trace:
#0 /etc/inc/functions.inc(34): require_once()
#1 /etc/inc/notices.inc(26): require_once('/etc/inc/functi...')
#2 /etc/inc/config.inc(51): require_once('/etc/inc/notice...')
#3 /etc/rc.start_packages(25): require_once('/etc/inc/config...')
#4 {main}
thrown in /etc/inc/certs.inc on line 48
.: cannot open /etc/rc.be_functions.sh: No such file or directory
Enter full pathname of shell or RETURN for /bin/sh:


Files

UpgradeBootLog.txt (85.8 KB) UpgradeBootLog.txt Kris Phillips, 11/17/2023 07:53 PM
Actions #1

Updated by Kris Phillips 5 months ago

Attaching redacted full boot log that removes customer-identifying information.

Actions #2

Updated by Kris Phillips 5 months ago

Something else to note is that this is NOT a disk space issue. The device that I pulled this upgrade log from had 85% free disk space on an 1100 eMMC.

Actions #3

Updated by Kris Phillips 5 months ago

This seems to be present with 23.09.1 as well.

Actions #4

Updated by Craig Coonrad 3 months ago

I have not encountered this personally, but can confirm multiple instances of upgrades failing with:

/etc/rc.initial: not found
Actions

Also available in: Atom PDF