PfPlus 23.05.01 => 23.09 fails due to libcrypto.so not found
-
Hi,
trying to upgrade but it fails at any time:
Running PfSense on Proxmox with ZFS support.
Also get failures now if i want to update packages:
-
Now it is really suspect:
-
At the command line run:
pkg-static info -x pfSense
That should show you what has been upgraded and when still needs to be upgraded.Steve
-
@stephenw10 the output does not say anything to me
pkg-static info -x pfSense pfSense-23.05.1 pfSense-Status_Monitoring-php82-1.8_3 pfSense-base-23.05.1 pfSense-boot-23.05.1 pfSense-default-config-23.05.1 pfSense-kernel-pfSense-23.05.1 pfSense-pkg-Avahi-2.2_4 pfSense-pkg-Backup-0.6 pfSense-pkg-Service_Watchdog-1.8.7_1 pfSense-pkg-Shellcmd-1.0.5_3 pfSense-pkg-Status_Traffic_Totals-2.3.2_3 pfSense-pkg-Telegraf-0.9_6 pfSense-pkg-WireGuard-0.2.0_2 pfSense-pkg-acme-0.7.5 pfSense-pkg-bind-9.17 pfSense-pkg-freeradius3-0.15.10_1 pfSense-pkg-haproxy-0.63_1 pfSense-pkg-iperf-3.0.3 pfSense-pkg-net-snmp-0.1.5_11 pfSense-pkg-nmap-1.4.4_7 pfSense-pkg-pfBlockerNG-3.2.0_6 pfSense-pkg-softflowd-1.2.6_1 pfSense-pkg-sudo-0.3_8 pfSense-pkg-suricata-6.0.13 pfSense-rc-23.05.1 pfSense-repo-23.05.1 pfSense-repoc-20230605 pfSense-upgrade-1.0_68 php82-pfSense-module-0.95
-
Oh sorry I see it didn't upgrade at all. OK try these commands:
pfSense-repoc-static
pfSense-repo-setup
pkg-static -d update
-
@dersch Did you get this figured out? I have the same problem and I'm going crazy trying to get past it. Reloaded firmware from memstick, but can't update any apps because of the version problem. Tried to load 23.09 firmware from memstick, but IP assigned to LAN isn't reachable from that LAN. Now can't update to 23.09 either :-(
-
pfSense-repoc-static ld-elf.so.1: Shared object "libcrypto.so.30" not found, required by "php" pfSense-repoc-static: cannot read pfSense pkg prefix failed to collect the system information.
pfSense-repo-setup ld-elf.so.1: Shared object "libcrypto.so.30" not found, required by "php" ld-elf.so.1: Shared object "libcrypto.so.30" not found, required by "php" ld-elf.so.1: Shared object "libcrypto.so.30" not found, required by "php"
pkg-static -d update DBG(1)[48169]> pkg initialized no active remote repositories configured.
-
Ah, OK it looks like maybe you installed a package before attempting to upgrade?
Try running:
pkg-static info -x php
does it show the 23.09 php version:php82-8.2.11
?You can probably force downgrade it by setting the 23.05.1 branch and running pkg upgrade against it if so.
-
found a few packages with 8.2.11
but when i do pgk upgrade this comes:
ld-elf.so.1: Shared object "libssl.so.30" not found, required by "pkg"
-
Ok you will need to replace at least the main php pkg. Set the repo to 23.05.1 then:
pkg-static upgrade -f php
.But you may need to do a full pkg reinstall:
https://docs.netgate.com/pfsense/en/latest/troubleshooting/upgrades.html#forced-pkg-reinstall -
@stephenw10 It ended up in a complete reinstall an now beeing on CE because the registration does not result in a Plus upgrade anymore. The reinstallation was because my DNS resolver had restarted after creating a static DHCP entry. The DNS resolver couldn't start because of the same error message "libcrypto.so.30 not found".
Proceeded a reboot of pf and then the nightmare started. It couldn't boot, the 48hrs old backup couldn't boot as well. I think it already had the issue.
Worked on this now since 10 hrs.
Now it just ignores my token. I think because the Netgate Device ID has been changed? I have no idea.
-
Send me your NDI in chat and I'll check it.
-