upgrade to 23.09.1 issues, pfSense-repoc failing
-
I have attempted an update from 23.05.1 to 23.09.1 on my netgate SG1100 . The Version reported in the dashboard is 23.05.1 , and it reports that 23.09.1 is available. If I go to System / Update, with Current Stable Version branch selected, it reports that Current Base System and Latest Base System both have value 23.09.1 , and Status is reported as "Up to date". I am seeing multiple strange behaviors, and will try to provide as much initial relevant debugging info as my current skill set allows.
output of "pkg-static info -x pfSense" :
pfSense-23.05.1
pfSense-Status_Monitoring-php82-1.8_3
pfSense-base-23.09.1
pfSense-boot-23.09.1
pfSense-default-config-serial-23.05.1
pfSense-kernel-pfSense-23.09.1
pfSense-repo-23.05.1
pfSense-repoc-20230912
pfSense-u-boot-1100-20220428
pfSense-u-boot-2100-20210930_1
pfSense-u-boot-env-20230123
pfSense-upgrade-1.2.1
php82-pfSense-module-0.95output of "pfSense-repoc" :
pfSense-repoc: cannot read HW serial number
failed to collect the system information.Other info that may be relevant:
I got a message in the GUI that pointed me to this:
[15-Dec-2023 14:44:05 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.72" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
[15-Dec-2023 09:44:47 America/New_York] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 130024441 bytes) in /usr/local/www/diag_command.php on line 174There does not seem to be a problem with available disk space:
"df -h /" output :
Filesystem Size Used Avail Capacity Mounted on
pfSense/ROOT/default 4.8G 1.0G 3.7G 21% /"zfs list /" output :
NAME USED AVAIL REFER MOUNTPOINT
pfSense/ROOT/default 2.14G 3.73G 1.02G /CLI
I am able to ssh in with a userid that has admin level authority, but I do not know what the password is for user "root", so I am limited in what I can accomplish using CLI. (I have not been able to find out how to obtain the root password in my searches so far.)Thanks in advance for help, I appreciate it.
-
Looks like you have partially upgraded.
You can probably complete it by running:
pkg-static upgrade
Then agree to the offered package upgrades.
You would want to do that at the CLI though, so SSH or console.If you have access to an account with admin privileges you should be able to set the password for the admin account.
Steve
-
@stephenw10
I used the CLI to run the suggested command, and it found things to update. At the end of its output listing what it would modify, it shows the following:Proceed with this action? [y/N]:
I can't seem to figure out how to enter the "y" it needs to continue (feeling like an dummy here). I tried entering:
pkg-static upgrade; y;
and that does not work, nor anything else I can think of to try. What is the way to do this?
-
At the CLI you just press 'Y'.
If you're trying to do this via the GUI then use:
pkg-static upgrade -y
-
@stephenw10
Thanks for the pointer on passing the -y flag. Prior to seeing this, I was able to install the sudo package and run the command in an SSH shell. After the "missing" packages were installed, things seem to be correct now.It is troubling that there was not an explicit notification from pfSense warning that the original upgrade had failed. This seems like a significant omission to me.
When using the CLI available from the GUI (System / Command Prompt), I could not figure out a way for it to accept interactive input. I see that the documentation seems to be consistent with this behavior: "Interactive commands, such as vi will fail similarly, or may exit due to other issues with the terminal being non-interactive."
Thanks again for your help!