PfSense packages can not be updated and if I try I get a crash report
-
Hello everyone,
since I updated the Version from 2.6.0 to 2.7.0 of PfSense I always get this crash report. The package manager also does not find any packages and is empty:Crash report begins. Anonymous machine information: amd64 14.0-CURRENT FreeBSD 14.0-CURRENT #1 RELENG_2_7_0-n255866-686c8d3c1f0: Wed Jun 28 04:21:19 UTC 2023 root@freebsd:/var/jenkins/workspace/pfSense-CE-snapshots-2_7_0-main/obj/amd64/LwYAddCr/var/jenkins/workspace/pfSense-CE-snapshots-2_7_0-main/sources/FreeBSD-src-REL Crash report details: PHP Errors: [13-Aug-2024 22:12:35 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'ftp.so' (tried: /usr/local/lib/php/20220829/ftp.so (Shared object "libssl.so.30" not found, required by "ftp.so"), /usr/local/lib/php/20220829/ftp.so.so (Cannot open "/usr/local/lib/php/20220829/ftp.so.so")) in Unknown on line 0 [14-Aug-2024 04:48:31 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'ftp.so' (tried: /usr/local/lib/php/20220829/ftp.so (Shared object "libssl.so.30" not found, required by "ftp.so"), /usr/local/lib/php/20220829/ftp.so.so (Cannot open "/usr/local/lib/php/20220829/ftp.so.so")) in Unknown on line 0 [14-Aug-2024 04:53:32 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'ftp.so' (tried: /usr/local/lib/php/20220829/ftp.so (Shared object "libssl.so.30" not found, required by "ftp.so"), /usr/local/lib/php/20220829/ftp.so.so (Cannot open "/usr/local/lib/php/20220829/ftp.so.so")) in Unknown on line 0 No FreeBSD crash data found.
What I have tried:
Restart
Diagnostics/Command Promt:certctl rehash pkg-static update -f pkg-static install -fy pkg pfSense-repo pfSense-upgrade
when I execute the update promt, then I get this error
Updating pfSense-core repository catalogue... pkg-static: An error occured while fetching package pkg-static: An error occured while fetching package repository pfSense-core has no meta file, using default settings pkg-static: An error occured while fetching package pkg-static: An error occured while fetching package Unable to update repository pfSense-core Updating pfSense repository catalogue... pkg-static: An error occured while fetching package pkg-static: An error occured while fetching package repository pfSense has no meta file, using default settings pkg-static: An error occured while fetching package pkg-static: An error occured while fetching package Unable to update repository pfSense Error updating repositories!
pkg only gives this error message:
ld-elf.so.1: Shared object "libssl.so.30" not found, required by "pkg"I tried nearly every solution by searching this error message, but nothing worked or lasted until a reboot. But everything else works without problems.
-
Now I did the following:
env ASSUME_ALWAYS_YES=yes pkg-static bootstrap -f
After that I went to System Update and it showed that I have a new Version available. Before that it always showed that 2.7.0 is the latest version for PfSense.
So I updated from 2.7.0 to the new stable version 2.7.2
After it upgraded and rebooted (it felt like it took much longer than usual)But now it seems to work somehow. The package manager shows items and the crash report does not show up anymore. I think the issue is no more. (I hope)