upgraded to 2.6.0 but still saying "Version 2.6.0 is available."
-
Hi All
I upgraded from 2.5.2 to 2.6.0
All seems working, but dashboard keeps saying "Version 2.6.0 is available."
I select the small blue cloud ... Status : Up to date.Back on the dashboard : still "Version 2.6.0 is available."
I SSH'd and tried option 13) Update from console :
Enter an option: 13
Updating pfSense-core repository catalogue... Fetching meta.conf: . done Fetching packagesite.pkg: . done Processing entries: . done pfSense-core repository update completed. 7 packages processed. Updating pfSense repository catalogue... Fetching meta.conf: . done Fetching packagesite.pkg: .......... done Processing entries: .......... done pfSense repository update completed. 511 packages processed. All repositories are up to date. >>> Setting vital flag on pkg... done. The following 19 package(s) will be affected (of 0 checked): New packages to be INSTALLED: openpgm: 5.2.122_6 [pfSense] Installed packages to be UPGRADED: bind-tools: 9.16.16 -> 9.16.23 [pfSense] ccid: 1.4.32 -> 1.4.36 [pfSense] check_reload_status: 0.0.10_1 -> 0.0.11 [pfSense] dnsmasq: 2.85_1,1 -> 2.86,1 [pfSense] filterlog: 0.1_6 -> 0.1_9 [pfSense] hostapd: 2.9_3 -> 2.9_4 [pfSense] miniupnpd: 2.2.1,1 -> 2.2.1_1,1 [pfSense] mobile-broadband-provider-info: 20201225 -> 20210805 [pfSense] mpd5: 5.9 -> 5.9_6 [pfSense] nano: 5.7 -> 5.9 [pfSense] nginx: 1.20.1,2 -> 1.20.2_1,2 [pfSense] nss_ldap: 1.265_13 -> 1.265_14 [pfSense] ntp: 4.2.8p15 -> 4.2.8p15_3 [pfSense] opensc: 0.21.0 -> 0.22.0 [pfSense] openvpn: 2.5.2_2 -> 2.5.4_1 [pfSense] pfSense: 2.5.2 -> 2.6.0 [pfSense] vnstat: 2.7 -> 2.8 [pfSense] Installed packages to be REINSTALLED: libzmq4-4.3.4 [pfSense] (options changed) Number of packages to be installed: 1 Number of packages to be upgraded: 17 Number of packages to be reinstalled: 1 The process will require 1 MiB more space. **** WARNING **** Reboot will be required!! Proceed with upgrade? (y/N)
I type "y" :
>>> Downloading upgrade packages... Updating pfSense-core repository catalogue... pfSense-core repository is up to date. Updating pfSense repository catalogue... pfSense repository is up to date. All repositories are up to date. Checking for upgrades (18 candidates): .......... done Processing candidates (18 candidates): .......... done Checking integrity... done (0 conflicting) The following 19 package(s) will be affected (of 0 checked): New packages to be INSTALLED: openpgm: 5.2.122_6 [pfSense] Installed packages to be UPGRADED: bind-tools: 9.16.16 -> 9.16.23 [pfSense] ccid: 1.4.32 -> 1.4.36 [pfSense] check_reload_status: 0.0.10_1 -> 0.0.11 [pfSense] dnsmasq: 2.85_1,1 -> 2.86,1 [pfSense] filterlog: 0.1_6 -> 0.1_9 [pfSense] hostapd: 2.9_3 -> 2.9_4 [pfSense] miniupnpd: 2.2.1,1 -> 2.2.1_1,1 [pfSense] mobile-broadband-provider-info: 20201225 -> 20210805 [pfSense] mpd5: 5.9 -> 5.9_6 [pfSense] nano: 5.7 -> 5.9 [pfSense] nginx: 1.20.1,2 -> 1.20.2_1,2 [pfSense] nss_ldap: 1.265_13 -> 1.265_14 [pfSense] ntp: 4.2.8p15 -> 4.2.8p15_3 [pfSense] opensc: 0.21.0 -> 0.22.0 [pfSense] openvpn: 2.5.2_2 -> 2.5.4_1 [pfSense] pfSense: 2.5.2 -> 2.6.0 [pfSense] vnstat: 2.7 -> 2.8 [pfSense] Installed packages to be REINSTALLED: libzmq4-4.3.4 [pfSense] (options changed) Number of packages to be installed: 1 Number of packages to be upgraded: 17 Number of packages to be reinstalled: 1 The process will require 1 MiB more space. >>> Downloading pkg... No packages are required to be fetched. Integrity check was successful. >>> Removing unnecessary packages... done. System is going to be upgraded. Rebooting in 10 seconds. Broadcast Message from admin@firewall.nouvelangleimmobilier.fr (/dev/pts/0) at 16:07 CET... System is going to be upgraded. Rebooting in 10 seconds. pfSense - Serial: GXXXX418XXXXX - Netgate Device ID: 57c56ad87fb81f37b833 *** Welcome to pfSense 2.6.0-RELEASE (amd64) on firewall *** [..detail snipped .] 0) Logout (SSH only) 9) pfTop 1) Assign Interfaces 10) Filter Logs 2) Set interface(s) IP address 11) Restart webConfigurator 3) Reset webConfigurator password 12) PHP shell + pfSense tools 4) Reset to factory defaults 13) Update from console 5) Reboot system 14) Disable Secure Shell (sshd) 6) Halt system 15) Restore recent configuration 7) Ping host 16) Restart PHP-FPM 8) Shell Enter an option:
Then it reboots (a stated "Rebooting in 10 seconds")
Back on the dashboard : still "Version 2.6.0 is available."
I tried :
#pkg-static clean -ay; pkg-static install -fy pkg pfSense-repo pfSense-upgrade #rm /usr/local/etc/pkg.conf #pkg-static upgrade -f
I get (among lots of log lines) :
pkg-static: POST-INSTALL script failed [...] ===> Creating users Creating user 'openvpn' with uid '301'. pw: group `301' does not exist pkg-static: PRE-INSTALL script failed
And I'm back at the shell prompt.
Back on the dashboard : still "Version 2.6.0 is available."
Any idea ?
-
well... now I get : "Unable to check for updates"
(DNS resolution is OK)
-
I had to reinstall pfSense and restore config -> now it's OK
Another point (I shall open a new thread) : unbound seems unstable (had to restart service to get DNS resolution)
-
I had the simliar problem.
After upgrade the system hung in the single user mode and after a reboot the system showed 2.6.0 as acutal version and also a new version is available.For me a pkg update ; pkg upgrade + reboot helped.
Very said that the upgrade still not run smoothly and without interactions. - In the history about each second upgrade gave troubles, problems and failures. Not have the feeling there is any quality control.
-
I managed to fix it.
It seems that the installation script expects a group "openvpn" to be present with GID 301. But because I previously added users to my OpenVPN server, the "openvpn" group already exists with a different GID.
To fix it:- log in to your pfSense over SSH or local console
- open shell (option 8)
cat /etc/group
to list the contents of the group file- check if you have a group named
openvpn
(first column - columns are separated by:
) - if yes, use a text editor to change its GID (third column) to 301
- you will need to check the
/etc/passwd
file to change any references to the old GID. In/etc/passwd
it's the 4th column that has the GID of the user
- you will need to check the
- if not, use a text editor to add this line at the end:
openvpn:*:301:
- Re-run
pkg upgrade
and see if you get any errors this time.
I'm not an expert, just describing what worked for me
-
#1
-
@jackmax said in upgraded to 2.6.0 but still saying "Version 2.6.0 is available.":
I managed to fix it.
Thank you so much!! This really help me to solve the problem!!
-
@jackmax This fix worked for my upgrade from 22.01 -> 22.05 as I am running OpenVPN as well. Hopefully this gets some more visibility!
-
I was hit with this during an upgrade to 22.05, where openvpn was not working, and figured out that I had the same issue.
First I had a crash during upgrade:
Crash report begins. Anonymous machine information: amd64 12.3-STABLE FreeBSD 12.3-STABLE plus-RELENG_22_05-n202700-3ddaea61055 pfSense Crash report details: PHP Errors: [04-Aug-2022 19:36:51 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'ldap.so' (tried: /usr/local/lib/php/20190902/ldap.so (Shared object "libldap-2.4.so.2" not found, required by "ldap.so"), /usr/local/lib/php/20190902/ldap.so.so (Cannot open "/usr/local/lib/php/20190902/ldap.so.so")) in Unknown on line 0 [04-Aug-2022 19:36:51 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'ldap.so' (tried: /usr/local/lib/php/20190902/ldap.so (Shared object "libldap-2.4.so.2" not found, required by "ldap.so"), /usr/local/lib/php/20190902/ldap.so.so (Cannot open "/usr/local/lib/php/20190902/ldap.so.so")) in Unknown on line 0 [04-Aug-2022 19:36:51 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'ldap.so' (tried: /usr/local/lib/php/20190902/ldap.so (Shared object "libldap-2.4.so.2" not found, required by "ldap.so"), /usr/local/lib/php/20190902/ldap.so.so (Cannot open "/usr/local/lib/php/20190902/ldap.so.so")) in Unknown on line 0 [04-Aug-2022 19:36:51 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'ldap.so' (tried: /usr/local/lib/php/20190902/ldap.so (Shared object "libldap-2.4.so.2" not found, required by "ldap.so"), /usr/local/lib/php/20190902/ldap.so.so (Cannot open "/usr/local/lib/php/20190902/ldap.so.so")) in Unknown on line 0 [04-Aug-2022 19:36:58 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'ldap.so' (tried: /usr/local/lib/php/20190902/ldap.so (Shared object "libldap-2.4.so.2" not found, required by "ldap.so"), /usr/local/lib/php/20190902/ldap.so.so (Cannot open "/usr/local/lib/php/20190902/ldap.so.so")) in Unknown on line 0 [04-Aug-2022 19:36:58 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'ldap.so' (tried: /usr/local/lib/php/20190902/ldap.so (Shared object "libldap-2.4.so.2" not found, required by "ldap.so"), /usr/local/lib/php/20190902/ldap.so.so (Cannot open "/usr/local/lib/php/20190902/ldap.so.so")) in Unknown on line 0 [04-Aug-2022 19:36:58 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'ldap.so' (tried: /usr/local/lib/php/20190902/ldap.so (Shared object "libldap-2.4.so.2" not found, required by "ldap.so"), /usr/local/lib/php/20190902/ldap.so.so (Cannot open "/usr/local/lib/php/20190902/ldap.so.so")) in Unknown on line 0 [04-Aug-2022 19:36:59 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'ldap.so' (tried: /usr/local/lib/php/20190902/ldap.so (Shared object "libldap-2.4.so.2" not found, required by "ldap.so"), /usr/local/lib/php/20190902/ldap.so.so (Cannot open "/usr/local/lib/php/20190902/ldap.so.so")) in Unknown on line 0 [04-Aug-2022 19:36:59 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'ldap.so' (tried: /usr/local/lib/php/20190902/ldap.so (Shared object "libldap-2.4.so.2" not found, required by "ldap.so"), /usr/local/lib/php/20190902/ldap.so.so (Cannot open "/usr/local/lib/php/20190902/ldap.so.so")) in Unknown on line 0 [04-Aug-2022 19:36:59 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'ldap.so' (tried: /usr/local/lib/php/20190902/ldap.so (Shared object "libldap-2.4.so.2" not found, required by "ldap.so"), /usr/local/lib/php/20190902/ldap.so.so (Cannot open "/usr/local/lib/php/20190902/ldap.so.so")) in Unknown on line 0 [04-Aug-2022 19:37:07 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20190902/intl.so (Shared object "libicuio.so.69" not found, required by "intl.so"), /usr/local/lib/php/20190902/intl.so.so (Cannot open "/usr/local/lib/php/20190902/intl.so.so")) in Unknown on line 0 [04-Aug-2022 19:37:07 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20190902/intl.so (Shared object "libicuio.so.69" not found, required by "intl.so"), /usr/local/lib/php/20190902/intl.so.so (Cannot open "/usr/local/lib/php/20190902/intl.so.so")) in Unknown on line 0 [04-Aug-2022 19:37:08 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20190902/intl.so (Shared object "libicuio.so.69" not found, required by "intl.so"), /usr/local/lib/php/20190902/intl.so.so (Cannot open "/usr/local/lib/php/20190902/intl.so.so")) in Unknown on line 0 [04-Aug-2022 19:37:08 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20190902/intl.so (Shared object "libicuio.so.69" not found, required by "intl.so"), /usr/local/lib/php/20190902/intl.so.so (Cannot open "/usr/local/lib/php/20190902/intl.so.so")) in Unknown on line 0 [04-Aug-2022 19:37:08 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20190902/intl.so (Shared object "libicuio.so.69" not found, required by "intl.so"), /usr/local/lib/php/20190902/intl.so.so (Cannot open "/usr/local/lib/php/20190902/intl.so.so")) in Unknown on line 0 [04-Aug-2022 19:37:08 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20190902/intl.so (Shared object "libicuio.so.69" not found, required by "intl.so"), /usr/local/lib/php/20190902/intl.so.so (Cannot open "/usr/local/lib/php/20190902/intl.so.so")) in Unknown on line 0 [04-Aug-2022 19:37:08 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20190902/intl.so (Shared object "libicuio.so.69" not found, required by "intl.so"), /usr/local/lib/php/20190902/intl.so.so (Cannot open "/usr/local/lib/php/20190902/intl.so.so")) in Unknown on line 0 [04-Aug-2022 19:37:08 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20190902/intl.so (Shared object "libicuio.so.69" not found, required by "intl.so"), /usr/local/lib/php/20190902/intl.so.so (Cannot open "/usr/local/lib/php/20190902/intl.so.so")) in Unknown on line 0 [04-Aug-2022 19:37:08 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20190902/intl.so (Shared object "libicuio.so.69" not found, required by "intl.so"), /usr/local/lib/php/20190902/intl.so.so (Cannot open "/usr/local/lib/php/20190902/intl.so.so")) in Unknown on line 0 [04-Aug-2022 19:37:09 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20190902/intl.so (Shared object "libicuio.so.69" not found, required by "intl.so"), /usr/local/lib/php/20190902/intl.so.so (Cannot open "/usr/local/lib/php/20190902/intl.so.so")) in Unknown on line 0 No FreeBSD crash data found.
Then I found this thread https://forum.netgate.com/topic/172693/22-05-dco-and-openvpn-problems/3 and tried this:
pkg update -f; pkg upgrade -y
To get an error that the install could not add the group openvpn because it already existed.
I created the group via pfsense web interface like 10 years ago when I first setup the VPN server. I actually just deleted it from pfsense using the web interface, and re ran pkg update -f; pkg upgrade -y and rebooted.