Update stuck at installing base-23.7.8-amd64.txz...

Started by 125, November 09, 2023, 11:29:53 PM

Previous topic - Next topic
Hello,
started my update half an hour ago and it seems to be stuck at Installing base-23.7.8-amd64.txz...
I dont know what to do. Reinstall? :-/

Here is the log:

***GOT REQUEST TO UPDATE***
Currently running OPNsense 23.7.7_3 at Thu Nov  9 23:18:23 CET 2023
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
Checking for upgrades (92 candidates): .......... done
Processing candidates (92 candidates): .... done
The following 34 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
libpfctl: 0.6
squid-langpack: 7.0.0.20230225

Installed packages to be UPGRADED:
glib: 2.78.0,2 -> 2.78.1,2
libnghttp2: 1.57.0 -> 1.58.0
lighttpd: 1.4.72 -> 1.4.73
oniguruma: 6.9.8_1 -> 6.9.9
openssh-portable: 9.3.p2_1,1 -> 9.3.p2_2,1
opnsense: 23.7.7_3 -> 23.7.8
opnsense-lang: 23.7.7 -> 23.7.8
opnsense-update: 23.7.7_1 -> 23.7.8
pftop: 0.8_4 -> 0.9
php82: 8.2.11 -> 8.2.12
php82-ctype: 8.2.11 -> 8.2.12
php82-curl: 8.2.11 -> 8.2.12
php82-dom: 8.2.11 -> 8.2.12
php82-filter: 8.2.11 -> 8.2.12
php82-gettext: 8.2.11 -> 8.2.12
php82-ldap: 8.2.11 -> 8.2.12
php82-mbstring: 8.2.11 -> 8.2.12
php82-pcntl: 8.2.11 -> 8.2.12
php82-pdo: 8.2.11 -> 8.2.12
php82-session: 8.2.11 -> 8.2.12
php82-simplexml: 8.2.11 -> 8.2.12
php82-sockets: 8.2.11 -> 8.2.12
php82-sqlite3: 8.2.11 -> 8.2.12
php82-xml: 8.2.11 -> 8.2.12
php82-zlib: 8.2.11 -> 8.2.12
py39-Babel: 2.13.0 -> 2.13.1
py39-charset-normalizer: 3.3.0 -> 3.3.1
py39-cryptography: 41.0.4,1 -> 41.0.5,1
py39-trio: 0.22.2 -> 0.23.1
py39-urllib3: 1.26.17,1 -> 1.26.18,1
squid: 5.9 -> 6.4
sudo: 1.9.14p3 -> 1.9.15

Number of packages to be installed: 2
Number of packages to be upgraded: 32

The process will require 1 MiB more space.
27 MiB to be downloaded.
[1/34] Fetching php82-session-8.2.12.pkg: ..... done
[2/34] Fetching lighttpd-1.4.73.pkg: .......... done
[3/34] Fetching opnsense-update-23.7.8.pkg: ..... done
[4/34] Fetching py39-cryptography-41.0.5,1.pkg: .......... done
[5/34] Fetching php82-zlib-8.2.12.pkg: ... done
[6/34] Fetching php82-dom-8.2.12.pkg: ......... done
[7/34] Fetching php82-simplexml-8.2.12.pkg: ... done
[8/34] Fetching php82-pdo-8.2.12.pkg: ....... done
[9/34] Fetching libnghttp2-1.58.0.pkg: .......... done
[10/34] Fetching php82-curl-8.2.12.pkg: ...... done
[11/34] Fetching py39-urllib3-1.26.18,1.pkg: .......... done
[12/34] Fetching py39-charset-normalizer-3.3.1.pkg: ........ done
[13/34] Fetching php82-mbstring-8.2.12.pkg: .......... done
[14/34] Fetching php82-ldap-8.2.12.pkg: ..... done
[15/34] Fetching py39-trio-0.23.1.pkg: .......... done
[16/34] Fetching php82-sockets-8.2.12.pkg: ...... done
[17/34] Fetching php82-8.2.12.pkg: .......... done
[18/34] Fetching php82-sqlite3-8.2.12.pkg: .... done
[19/34] Fetching php82-pcntl-8.2.12.pkg: ... done
[20/34] Fetching php82-xml-8.2.12.pkg: ... done
[21/34] Fetching libpfctl-0.6.pkg: .. done
[22/34] Fetching openssh-portable-9.3.p2_2,1.pkg: .......... done
[23/34] Fetching py39-Babel-2.13.1.pkg: .......... done
[24/34] Fetching php82-gettext-8.2.12.pkg: . done
[25/34] Fetching glib-2.78.1,2.pkg: .......... done
[26/34] Fetching opnsense-23.7.8.pkg: .......... done
[27/34] Fetching oniguruma-6.9.9.pkg: .......... done
[28/34] Fetching squid-6.4.pkg: .......... done
[29/34] Fetching sudo-1.9.15.pkg: .......... done
[30/34] Fetching php82-ctype-8.2.12.pkg: . done
[31/34] Fetching opnsense-lang-23.7.8.pkg: .......... done
[32/34] Fetching squid-langpack-7.0.0.20230225.pkg: .......... done
[33/34] Fetching pftop-0.9.pkg: ........ done
[34/34] Fetching php82-filter-8.2.12.pkg: ... done
Checking integrity... done (0 conflicting)
[1/34] Upgrading py39-cryptography from 41.0.4,1 to 41.0.5,1...
[1/34] Extracting py39-cryptography-41.0.5,1: .......... done
[2/34] Upgrading php82 from 8.2.11 to 8.2.12...
[2/34] Extracting php82-8.2.12: .......... done
[3/34] Upgrading php82-zlib from 8.2.11 to 8.2.12...
[3/34] Extracting php82-zlib-8.2.12: ........ done
[4/34] Upgrading libnghttp2 from 1.57.0 to 1.58.0...
[4/34] Extracting libnghttp2-1.58.0: .......... done
[5/34] Upgrading php82-xml from 8.2.11 to 8.2.12...
[5/34] Extracting php82-xml-8.2.12: ......... done
[6/34] Upgrading oniguruma from 6.9.8_1 to 6.9.9...
[6/34] Extracting oniguruma-6.9.9: .......... done
[7/34] Upgrading php82-session from 8.2.11 to 8.2.12...
[7/34] Extracting php82-session-8.2.12: .......... done
[8/34] Upgrading php82-pdo from 8.2.11 to 8.2.12...
[8/34] Extracting php82-pdo-8.2.12: .......... done
[9/34] Upgrading py39-urllib3 from 1.26.17,1 to 1.26.18,1...
[9/34] Extracting py39-urllib3-1.26.18,1: .......... done
[10/34] Upgrading py39-charset-normalizer from 3.3.0 to 3.3.1...
[10/34] Extracting py39-charset-normalizer-3.3.1: .......... done
[11/34] Upgrading php82-mbstring from 8.2.11 to 8.2.12...
[11/34] Extracting php82-mbstring-8.2.12: .......... done
[12/34] Upgrading py39-trio from 0.22.2 to 0.23.1...
[12/34] Extracting py39-trio-0.23.1: .......... done
[13/34] Installing libpfctl-0.6...
[13/34] Extracting libpfctl-0.6: ...... done
[14/34] Upgrading py39-Babel from 2.13.0 to 2.13.1...
[14/34] Extracting py39-Babel-2.13.1: .......... done
[15/34] Upgrading glib from 2.78.0,2 to 2.78.1,2...
[15/34] Extracting glib-2.78.1,2: .......... done
[16/34] Upgrading lighttpd from 1.4.72 to 1.4.73...
===> Creating groups.
Using existing group 'www'.
===> Creating users
Using existing user 'www'.
[16/34] Extracting lighttpd-1.4.73: .......... done
[17/34] Upgrading opnsense-update from 23.7.7_1 to 23.7.8...
[17/34] Extracting opnsense-update-23.7.8: .......... done
[18/34] Upgrading php82-dom from 8.2.11 to 8.2.12...
[18/34] Extracting php82-dom-8.2.12: .......... done
[19/34] Upgrading php82-simplexml from 8.2.11 to 8.2.12...
[19/34] Extracting php82-simplexml-8.2.12: ......... done
[20/34] Upgrading php82-curl from 8.2.11 to 8.2.12...
[20/34] Extracting php82-curl-8.2.12: .......... done
[21/34] Upgrading php82-ldap from 8.2.11 to 8.2.12...
[21/34] Extracting php82-ldap-8.2.12: ........ done
[22/34] Upgrading php82-sockets from 8.2.11 to 8.2.12...
[22/34] Extracting php82-sockets-8.2.12: .......... done
[23/34] Upgrading php82-sqlite3 from 8.2.11 to 8.2.12...
[23/34] Extracting php82-sqlite3-8.2.12: ......... done
[24/34] Upgrading php82-pcntl from 8.2.11 to 8.2.12...
[24/34] Extracting php82-pcntl-8.2.12: ......... done
[25/34] Upgrading openssh-portable from 9.3.p2_1,1 to 9.3.p2_2,1...
[25/34] Extracting openssh-portable-9.3.p2_2,1: .......... done
[26/34] Upgrading php82-gettext from 8.2.11 to 8.2.12...
[26/34] Extracting php82-gettext-8.2.12: ........ done
[27/34] Upgrading squid from 5.9 to 6.4...
===> Creating groups.
Using existing group 'squid'.
===> Creating users
Using existing user 'squid'.
===> Creating homedir(s)
===> Pre-installation configuration for squid-6.4
[27/34] Extracting squid-6.4: .......... done
[28/34] Upgrading sudo from 1.9.14p3 to 1.9.15...
[28/34] Extracting sudo-1.9.15: .......... done
[29/34] Upgrading php82-ctype from 8.2.11 to 8.2.12...
[29/34] Extracting php82-ctype-8.2.12: ........ done
[30/34] Upgrading opnsense-lang from 23.7.7 to 23.7.8...
[30/34] Extracting opnsense-lang-23.7.8: .......... done
[31/34] Installing squid-langpack-7.0.0.20230225...
[31/34] Extracting squid-langpack-7.0.0.20230225: .......... done
[32/34] Upgrading pftop from 0.8_4 to 0.9...
[32/34] Extracting pftop-0.9: ..... done
[33/34] Upgrading php82-filter from 8.2.11 to 8.2.12...
[33/34] Extracting php82-filter-8.2.12: ......... done
[34/34] Upgrading opnsense from 23.7.7_3 to 23.7.8...
[34/34] Extracting opnsense-23.7.8: .......... done
Stopping configd...done
Resetting root shell
Updating /etc/shells
Unhooking from /etc/rc
Unhooking from /etc/rc.shutdown
Updating /etc/shells
Registering root shell
Hooking into /etc/rc
Hooking into /etc/rc.shutdown
Starting configd.
>>> Invoking update script 'refresh'
Writing firmware setting...done.
Writing trust files...done.
Scanning /usr/share/certs/blacklisted for certificates...
Scanning /usr/share/certs/trusted for certificates...
Scanning /usr/local/share/certs for certificates...
Writing trust bundles...done.
Configuring login behaviour...done.
Configuring system logging...done.
Compiling glib schemas
No schema files found: doing nothing.
Generating GIO modules cache
=====
Message from py39-urllib3-1.26.18,1:

--
Since version 1.25 HTTPS connections are now verified by default which is done
via "cert_reqs = 'CERT_REQUIRED'".  While certificate verification can be
disabled via "cert_reqs = 'CERT_NONE'", it's highly recommended to leave it on.

Various consumers of net/py-urllib3 already have implemented routines that
either explicitly enable or disable HTTPS certificate verification (e.g. via
configuration settings, CLI arguments, etc.).

Yet it may happen that there are still some consumers which don't explicitly
enable/disable certificate verification for HTTPS connections which could then
lead to errors (as is often the case with self-signed certificates).

In case of an error one should try first to temporarily disable certificate
verification of the problematic urllib3 consumer to see if that approach will
remedy the issue.
You may need to manually remove /usr/local/etc/ssh/sshd_config if it is no longer needed.
You may need to manually remove /usr/local/etc/squid/squid.conf if it is no longer needed.
=====
Message from squid-langpack-7.0.0.20230225:

--
To use the squid language pack, use the directive:

error_directory /usr/local/share/squid-langpack/language

in your squid.conf. Example:

error_directory /usr/local/share/squid-langpack/sk
=====
Message from opnsense-23.7.8:

--
Beep! Beep!
Checking integrity... done (0 conflicting)
Nothing to do.
Checking all packages: .......... done
The following package files will be deleted:
/var/cache/pkg/glib-2.78.1,2~6af4d6694a.pkg
/var/cache/pkg/pftop-0.9.pkg
/var/cache/pkg/php82-curl-8.2.12~33750f60c5.pkg
/var/cache/pkg/php82-sockets-8.2.12.pkg
/var/cache/pkg/libpfctl-0.6~f6a661e7c2.pkg
/var/cache/pkg/php82-curl-8.2.12.pkg
/var/cache/pkg/squid-6.4~39981e4e66.pkg
/var/cache/pkg/php82-ldap-8.2.12.pkg
/var/cache/pkg/opnsense-lang-23.7.8.pkg
/var/cache/pkg/php82-dom-8.2.12~964fd77b14.pkg
/var/cache/pkg/opnsense-update-23.7.8~cc9994b735.pkg
/var/cache/pkg/php82-8.2.12.pkg
/var/cache/pkg/squid-langpack-7.0.0.20230225~329b12e4b7.pkg
/var/cache/pkg/php82-dom-8.2.12.pkg
/var/cache/pkg/php82-simplexml-8.2.12.pkg
/var/cache/pkg/php82-filter-8.2.12~318d2b7540.pkg
/var/cache/pkg/glib-2.78.1,2.pkg
/var/cache/pkg/php82-pdo-8.2.12~be25ff5226.pkg
/var/cache/pkg/php82-gettext-8.2.12.pkg
/var/cache/pkg/oniguruma-6.9.9.pkg
/var/cache/pkg/opnsense-lang-23.7.8~e59632a997.pkg
/var/cache/pkg/php82-zlib-8.2.12.pkg
/var/cache/pkg/php82-filter-8.2.12.pkg
/var/cache/pkg/py39-Babel-2.13.1~2fc1845efe.pkg
/var/cache/pkg/php82-ctype-8.2.12.pkg
/var/cache/pkg/py39-Babel-2.13.1.pkg
/var/cache/pkg/opnsense-23.7.8~9a498af5fd.pkg
/var/cache/pkg/libpfctl-0.6.pkg
/var/cache/pkg/py39-charset-normalizer-3.3.1~89b0f7322a.pkg
/var/cache/pkg/php82-sockets-8.2.12~deb9c69f99.pkg
/var/cache/pkg/php82-sqlite3-8.2.12~50ae20a94a.pkg
/var/cache/pkg/opnsense-23.7.8.pkg
/var/cache/pkg/php82-simplexml-8.2.12~568bf85e54.pkg
/var/cache/pkg/php82-xml-8.2.12.pkg
/var/cache/pkg/squid-6.4.pkg
/var/cache/pkg/openssh-portable-9.3.p2_2,1.pkg
/var/cache/pkg/oniguruma-6.9.9~3dcda561fa.pkg
/var/cache/pkg/php82-session-8.2.12.pkg
/var/cache/pkg/sudo-1.9.15~86fb685990.pkg
/var/cache/pkg/py39-urllib3-1.26.18,1~48cb1c34c4.pkg
/var/cache/pkg/py39-trio-0.23.1.pkg
/var/cache/pkg/lighttpd-1.4.73.pkg
/var/cache/pkg/py39-cryptography-41.0.5,1~fc09ff076f.pkg
/var/cache/pkg/php82-ctype-8.2.12~7f2f6eef48.pkg
/var/cache/pkg/openssh-portable-9.3.p2_2,1~b2992f9179.pkg
/var/cache/pkg/php82-xml-8.2.12~fb527a1009.pkg
/var/cache/pkg/php82-sqlite3-8.2.12.pkg
/var/cache/pkg/libnghttp2-1.58.0~089859caca.pkg
/var/cache/pkg/sudo-1.9.15.pkg
/var/cache/pkg/pftop-0.9~a6ece3f599.pkg
/var/cache/pkg/php82-pdo-8.2.12.pkg
/var/cache/pkg/opnsense-update-23.7.8.pkg
/var/cache/pkg/php82-mbstring-8.2.12~8acefd3d1c.pkg
/var/cache/pkg/squid-langpack-7.0.0.20230225.pkg
/var/cache/pkg/php82-zlib-8.2.12~248504bd7d.pkg
/var/cache/pkg/php82-pcntl-8.2.12.pkg
/var/cache/pkg/lighttpd-1.4.73~50c533f7c8.pkg
/var/cache/pkg/php82-pcntl-8.2.12~df82790ea8.pkg
/var/cache/pkg/php82-mbstring-8.2.12.pkg
/var/cache/pkg/php82-ldap-8.2.12~d1fefa4a44.pkg
/var/cache/pkg/php82-8.2.12~da275cf9e9.pkg
/var/cache/pkg/libnghttp2-1.58.0.pkg
/var/cache/pkg/php82-session-8.2.12~7088ffcf2c.pkg
/var/cache/pkg/py39-urllib3-1.26.18,1.pkg
/var/cache/pkg/php82-gettext-8.2.12~612dc94930.pkg
/var/cache/pkg/py39-charset-normalizer-3.3.1.pkg
/var/cache/pkg/py39-trio-0.23.1~eeea9d5d1b.pkg
/var/cache/pkg/py39-cryptography-41.0.5,1.pkg
The cleanup will free 27 MiB
Deleting files: .......... done
All done
Nothing to do.
Starting web GUI...done.
Generating RRD graphs...done.
Fetching base-23.7.8-amd64.txz: ........ done
Fetching kernel-23.7.8-amd64.txz: ...... done
!!!!!!!!!!!! ATTENTION !!!!!!!!!!!!!!!
! A critical upgrade is in progress. !
! Please do not turn off the system. !
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Installing kernel-23.7.8-amd64.txz... done
Installing base-23.7.8-amd64.txz...


Best Regards
125

Ok after an hour i tried to reboot via web interface. The reboot was also stuck. IPv4 traffic still working but webinterface and dns offline. I then resetted the hardware device. Firewall did boot (oooff - that was an relieve) and i started reinstall of base (even it was shown as correct version) via System -> Firmware -> Packages. After reboot everything seems to work normal now and it shows all packages as up to date. :-)

Do a health check just to be safe.

Audit Health from GUI Firmware section or press 12 in CLI and answer h to the Y/N question

Thanks! :-)

Did not know that feature. Audit went fine and shows that everything is consistent.

***GOT REQUEST TO AUDIT HEALTH***
Currently running OPNsense 23.7.8 at Fri Nov 10 00:18:39 CET 2023
>>> Root file system: zroot/ROOT/default
>>> Check installed kernel version
Version 23.7.8 is correct.
>>> Check for missing or altered kernel files
No problems detected.
>>> Check installed base version
Version 23.7.8 is correct.
>>> Check for missing or altered base files
No problems detected.
>>> Check installed repositories
OPNsense
>>> Check installed plugins
No plugins found.
>>> Check locked packages
No locks found.
>>> Check for missing package dependencies
Checking all packages: .......... done
>>> Check for missing or altered package files
Checking all packages: .......... done
>>> Check for core packages consistency
Core package "opnsense" has 69 dependencies to check.
Checking packages: ...................................................................... done
***DONE***

>>> Check installed base version
Version 23.7.8 is correct.
>>> Check for missing or altered base files
No problems detected.

Appears to be fine and up to date indeed. Please check the problem described in https://forum.opnsense.org/index.php?topic=36896.0 to make sure you have the "right" 23.7.8 base set.


Cheers,
Franco

I've been having this issue the last couple days.
Resolved it by setting the update mirror manually to Aalborg University - then checked for updates, and everything worked :)

Quote from: soundie on November 10, 2023, 01:58:45 PM
I've been having this issue the last couple days.
Resolved it by setting the update mirror manually to Aalborg University - then checked for updates, and everything worked :)

Thank you!
This hint saved my day!

Kind regards!