OPNsense Forum

Archive => 16.1 Legacy Series => Topic started by: WMINTIENS on May 08, 2016, 09:48:15 pm

Title: [SOLVED] Upgrade from 16.1.8 to 16.1.13 hangs
Post by: WMINTIENS on May 08, 2016, 09:48:15 pm
Hi out there,

this evening I tried to upgrade my Firewall to 16.1.13 .. it stopped and di not continue ( ie reboot) ..

please find below the output from the upgrade & error messages from the log file.

please advise.

thkx
Wim

***GOT REQUEST TO UPGRADE: all***
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 (49 candidates): .......... done
Processing candidates (49 candidates): ........ done
The following 38 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
   opnsense-lang: 16.1.13
   p7zip: 15.14

Installed packages to be UPGRADED:
   suricata: 3.0_1 -> 3.0.1
   strongswan: 5.3.5_4 -> 5.4.0
   squid: 3.5.15_1 -> 3.5.17
   sqlite3: 3.11.1 -> 3.12.1
   smartmontools: 6.4_1 -> 6.4_2
   python27: 2.7.11_1 -> 2.7.11_2
   py27-Babel: 2.2.0_1 -> 2.3.3
   php56-zlib: 5.6.19 -> 5.6.21
   php56-xml: 5.6.19 -> 5.6.21
   php56-sqlite3: 5.6.19 -> 5.6.21
   php56-sockets: 5.6.19 -> 5.6.21
   php56-simplexml: 5.6.19 -> 5.6.21
   php56-session: 5.6.19 -> 5.6.21
   php56-pdo: 5.6.19 -> 5.6.21
   php56-openssl: 5.6.19 -> 5.6.21
   php56-mcrypt: 5.6.19 -> 5.6.21
   php56-ldap: 5.6.19 -> 5.6.21
   php56-json: 5.6.19 -> 5.6.21
   php56-hash: 5.6.19 -> 5.6.21
   php56-gettext: 5.6.19 -> 5.6.21
   php56-filter: 5.6.19 -> 5.6.21
   php56-dom: 5.6.19 -> 5.6.21
   php56-curl: 5.6.19 -> 5.6.21
   php56-ctype: 5.6.19 -> 5.6.21
   php56: 5.6.19 -> 5.6.21
   perl5: 5.20.3_8 -> 5.20.3_12
   pcre: 8.38 -> 8.38_1
   opnsense-update: 16.1.8 -> 16.1.9_1
   opnsense: 16.1.8 -> 16.1.13
   openvpn: 2.3.10 -> 2.3.10_2
   openssl: 1.0.2_11 -> 1.0.2_12
   ntp: 4.2.8p6 -> 4.2.8p7
   libedit: 3.1.20150325_1 -> 3.1.20150325_2
   curl: 7.47.1 -> 7.48.0_2
   bind910: 9.10.3P4 -> 9.10.4
   apinger: 0.6.1_4 -> 0.6.1_9

The process will require 11 MiB more space.
60 MiB to be downloaded.
Fetching suricata-3.0.1.txz: .......... done
Fetching strongswan-5.4.0.txz: .......... done
Fetching squid-3.5.17.txz: .......... done
Fetching sqlite3-3.12.1.txz: .......... done
Fetching smartmontools-6.4_2.txz: .......... done
Fetching python27-2.7.11_2.txz: .......... done
Fetching py27-Babel-2.3.3.txz: .......... done
Fetching php56-zlib-5.6.21.txz: .. done
Fetching php56-xml-5.6.21.txz: .. done
Fetching php56-sqlite3-5.6.21.txz: .. done
Fetching php56-sockets-5.6.21.txz: .... done
Fetching php56-simplexml-5.6.21.txz: ... done
Fetching php56-session-5.6.21.txz: ... done
Fetching php56-pdo-5.6.21.txz: ..... done
Fetching php56-openssl-5.6.21.txz: ..... done
Fetching php56-mcrypt-5.6.21.txz: .. done
Fetching php56-ldap-5.6.21.txz: .. done
Fetching php56-json-5.6.21.txz: .. done
Fetching php56-hash-5.6.21.txz: .......... done
Fetching php56-gettext-5.6.21.txz: . done
Fetching php56-filter-5.6.21.txz: .. done
Fetching php56-dom-5.6.21.txz: ...... done
Fetching php56-curl-5.6.21.txz: ... done
Fetching php56-ctype-5.6.21.txz: . done
Fetching php56-5.6.21.txz: .......... done
Fetching perl5-5.20.3_12.txz: .......... done
Fetching pcre-8.38_1.txz: .......... done
Fetching opnsense-update-16.1.9_1.txz: ... done
Fetching opnsense-16.1.13.txz: .......... done
Fetching openvpn-2.3.10_2.txz: .......... done
Fetching openssl-1.0.2_12.txz: .......... done
Fetching ntp-4.2.8p7.txz: .......... done
Fetching libedit-3.1.20150325_2.txz: .......... done
Fetching curl-7.48.0_2.txz: .......... done
Fetching bind910-9.10.4.txz: .......... done
Fetching apinger-0.6.1_9.txz: .... done
Fetching opnsense-lang-16.1.13.txz: .......... done
Fetching p7zip-15.14.txz: .......... done
Checking integrity... done (1 conflicting)
Checking integrity... done (0 conflicting)
Conflicts with the existing packages have been found.
One more solver iteration is needed to resolve them.
The following 39 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
   opnsense-lang: 16.1.13
   p7zip: 15.14

Installed packages to be UPGRADED:
   openssl: 1.0.2_11 -> 1.0.2_12
   python27: 2.7.11_1 -> 2.7.11_2
   pcre: 8.38 -> 8.38_1
   sqlite3: 3.11.1 -> 3.12.1
   php56: 5.6.19 -> 5.6.21
   perl5: 5.20.3_8 -> 5.20.3_12
   libedit: 3.1.20150325_1 -> 3.1.20150325_2
   curl: 7.47.1 -> 7.48.0_2
   suricata: 3.0_1 -> 3.0.1
   strongswan: 5.3.5_4 -> 5.4.0
   squid: 3.5.15_1 -> 3.5.17
   php56-zlib: 5.6.19 -> 5.6.21
   php56-xml: 5.6.19 -> 5.6.21
   php56-sqlite3: 5.6.19 -> 5.6.21
   php56-sockets: 5.6.19 -> 5.6.21
   php56-simplexml: 5.6.19 -> 5.6.21
   php56-session: 5.6.19 -> 5.6.21
   php56-openssl: 5.6.19 -> 5.6.21
   php56-mcrypt: 5.6.19 -> 5.6.21
   php56-ldap: 5.6.19 -> 5.6.21
   php56-json: 5.6.19 -> 5.6.21
   php56-hash: 5.6.19 -> 5.6.21
   php56-gettext: 5.6.19 -> 5.6.21
   php56-filter: 5.6.19 -> 5.6.21
   php56-dom: 5.6.19 -> 5.6.21
   php56-curl: 5.6.19 -> 5.6.21
   php56-ctype: 5.6.19 -> 5.6.21
   opnsense-update: 16.1.8 -> 16.1.9_1
   openvpn: 2.3.10 -> 2.3.10_2
   ntp: 4.2.8p6 -> 4.2.8p7
   bind910: 9.10.3P4 -> 9.10.4
   apinger: 0.6.1_4 -> 0.6.1_9
   smartmontools: 6.4_1 -> 6.4_2
   py27-Babel: 2.2.0_1 -> 2.3.3
   php56-pdo: 5.6.19 -> 5.6.21

The process will require 12 MiB more space.
[1/39] Upgrading openssl from 1.0.2_11 to 1.0.2_12...
[1/39] Extracting openssl-1.0.2_12: .......... done
[2/39] Upgrading python27 from 2.7.11_1 to 2.7.11_2...
[2/39] Extracting python27-2.7.11_2: .......... done
[3/39] Upgrading pcre from 8.38 to 8.38_1...
[3/39] Extracting pcre-8.38_1: .......... done
[4/39] Upgrading php56 from 5.6.19 to 5.6.21...
[4/39] Extracting php56-5.6.21: .......... done
[5/39] Upgrading sqlite3 from 3.11.1 to 3.12.1...
[5/39] Extracting sqlite3-3.12.1: .......... done
[6/39] Upgrading perl5 from 5.20.3_8 to 5.20.3_12...
[6/39] Extracting perl5-5.20.3_12: .......... done
[7/39] Upgrading libedit from 3.1.20150325_1 to 3.1.20150325_2...
[7/39] Extracting libedit-3.1.20150325_2: .......... done
[8/39] Upgrading php56-session from 5.6.19 to 5.6.21...
[8/39] Extracting php56-session-5.6.21: ......... done
[9/39] Upgrading php56-hash from 5.6.19 to 5.6.21...
[9/39] Extracting php56-hash-5.6.21: .......... done
[10/39] Upgrading php56-pdo from 5.6.19 to 5.6.21...
[10/39] Extracting php56-pdo-5.6.21: ......... done
[11/39] Upgrading curl from 7.47.1 to 7.48.0_2...
[11/39] Extracting curl-7.48.0_2: .......... done
[12/39] Deinstalling opnsense-16.1.8...
Resetting root shell
-----------------------------------
log file
_______________________

May 8 21:32:18    lighttpd[40012]: (connections.c.1550) SSL: 1 -1 error:140E0197:SSL routines:SSL_shutdown:shutdown while in init
May 8 21:32:18    lighttpd[40012]: (connections.c.1550) SSL: 1 -1 error:140E0197:SSL routines:SSL_shutdown:shutdown while in init
May 8 21:32:07    kernel: em1: promiscuous mode enabled
May 8 21:31:19    configd.py: generate template container OPNsense.Syslog
May 8 21:31:19    configd.py: generate template container OPNsense.Sample.sub2
May 8 21:31:19    configd.py: generate template container OPNsense.Sample.sub1
May 8 21:31:19    configd.py: generate template container OPNsense.Sample
May 8 21:31:19    lighttpd[40012]: (connections.c.1550) SSL: 1 -1 error:140E0197:SSL routines:SSL_shutdown:shutdown while in init
May 8 21:31:19    lighttpd[40012]: (connections.c.1550) SSL: 1 -1 error:140E0197:SSL routines:SSL_shutdown:shutdown while in init
May 8 21:31:16    configd.py: generate template container OPNsense.Proxy
May 8 21:31:16    configd.py: generate template container OPNsense.Macros
May 8 21:31:15    configd.py: generate template container OPNsense.IPFW
May 8 21:31:14    configd.py: generate template container OPNsense.IDS
May 8 21:31:14    configd.py: generate template container OPNsense.Cron
May 8 21:31:13    configd.py: generate template container OPNsense.Captiveportal
May 8 21:31:13    configd.py: generate template container OPNsense
May 8 21:31:12    configd.py: [2c49bdad-1593-4ee5-a7a5-0a29a3950bb2] generate template *
May 8 21:31:12    kernel: done.
May 8 21:31:12    configd.py: generate template container OPNsense.Syslog
May 8 21:31:11    configd.py: [45974c25-410e-4f02-bfb4-f3184b5ecbf8] generate template OPNsense.Syslog
May 8 21:31:11    kernel: done.
May 8 21:31:11    opnsense: /usr/local/etc/rc.bootup: miniupnpd: Starting service on interface: lan
May 8 21:31:11    kernel: done.
May 8 21:31:11    opnsense: /usr/local/etc/rc.bootup: Creating rrd update script
Title: Re: Upgrade from 16.1.8 to 16.1.13 hangs
Post by: franco on May 09, 2016, 07:16:31 am
Hi there,

What would be the version you're on now from the dashboard's point of view?

Console option (12) will certainly fetch the updates that were not applied and reboot if still needed. If it comes up empty it'll only require a manual reboot.

I think that the addition of the language pack has made the transition to 16.1.13 a bit different than usual as we've seen more temporary crash reports.


Cheers,
Franco
Title: Re: Upgrade from 16.1.8 to 16.1.13 hangs
Post by: WMINTIENS on May 09, 2016, 09:15:17 am
Hi Franco,

thanks for the swift response..

This is what I see on the dashboard:

OPNsense 16.1.13-amd64
FreeBSD 10.2-RELEASE-p14
OpenSSL 1.0.2h 3 May 2016

I presume, as you mentioned, that the FW is upgraded ...

I'll do a reboot this evening

keep you posted

Regards

Wim
Title: Re: Upgrade from 16.1.8 to 16.1.13 hangs
Post by: franco on May 09, 2016, 05:31:39 pm
Hi Wim,

Yes, good. Best option is to run console option 12, it will pick up the rest of the upgrade and reboot to make sure the base/kernel is correct, too. If that doesn't want to reboot, the base/kernel is already ok so it just needs the manual reboot.  :)


Cheers,
Franco
Title: Re: Upgrade from 16.1.8 to 16.1.13 hangs
Post by: WMINTIENS on May 10, 2016, 03:16:53 am
Franco,

thanks just rebooted the system .. no problems ... works like a charm !

Thanks for the assistance

regards
Wim
Title: Re: [SOLVED] Upgrade from 16.1.8 to 16.1.13 hangs
Post by: franco on May 10, 2016, 08:03:30 am
Hi Wim,

Ok, perfect. The bug that causes this has been found and the fix will be shipped in 16.1.15 after a bit more review[1].


Cheers,
Franco

[1] https://github.com/opnsense/core/commit/9526856634d491e249c0231f76211839988737b6