OPNsense Forum

Archive => 19.1 Legacy Series => Topic started by: GraFfiX on May 04, 2019, 05:19:10 PM

Title: Problem with 19.1.7 update
Post by: GraFfiX on May 04, 2019, 05:19:10 PM
I attempted the upgrade to 19.1.7, but it appears to be failing at the end:

Proceed with this action? [y/N]: y

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 (20 candidates): .......... done
Processing candidates (20 candidates): . done
Checking integrity... done (0 conflicting)
Your packages are up to date.
Checking integrity... done (0 conflicting)
Nothing to do.
Nothing to do.
Starting web GUI...done.
Generating RRD graphs...done.
Fetching base-19.1.7-amd64.txz: ............................... failed, no signature found

Tried changing mirrors but no luck. What can I do to get rid of this error? Thanks for any info.
Title: Re: Problem with 19.1.7 update
Post by: franco on May 06, 2019, 09:00:32 AM
Can you run this manually and share the result?

# opnsense-update -kV

From the looks of it it tries to download the kernel from a location where it is not found...


Cheers,
Franco
Title: Re: Problem with 19.1.7 update
Post by: GraFfiX on May 06, 2019, 08:07:31 PM

root@OPNsense:~ # opnsense-update -kV
+ [ '' '=' -T ]
+ [ -z -k ]
+ [ -n '' ]
+ [ -n '' ]
+ [ -z '' ]
+ [ -n -k -a -n '' -a -z '' ]
+ [ -n '' -a -n '' -a -z '' ]
+ [ -n '' -a -n '' -a -z '' ]
+ [ -n '' ]
+ [ -n '' ]
+ [ -n '' ]
+ [ -n '' ]
+ [ -n '' ]
+ [ -n '' ]
+ [ -z '' ]
+ RELEASE=19.1.7
+ [ '' '=' -B ]
+ [ '' '=' -P ]
+ [ -n '' ]
+ [ '' '=' -p -a -z '' ]
+ FLAVOUR=Base
+ [ -n '' ]
+ [ -f /usr/local/bin/openssl ]
+ /usr/local/bin/openssl version
+ awk '{ print $1 }'
+ FLAVOUR=OpenSSL
+ PACKAGESSET=packages-19.1.7-OpenSSL-amd64.tar
+ KERNELSET=kernel-19.1.7-amd64.txz
+ BASESET=base-19.1.7-amd64.txz
+ mirror_abi
+ sed -n 's/^[[:space:]]*url:[[:space:]]*\"pkg\+\(.*\/${ABI}\/[^\/]*\)\/.*/\1/p' /usr/local/etc/pkg/repos/OPNsense.conf
+ MIRROR='http://mirror.sfo12.us.leaseweb.net/opnsense/${ABI}/19.1'
+ [ -z 'http://mirror.sfo12.us.leaseweb.net/opnsense/${ABI}/19.1' ]
+ opnsense-verify -a
+ ABI=FreeBSD:11:amd64
+ [ -n '' ]
+ eval 'MIRROR=http://mirror.sfo12.us.leaseweb.net/opnsense/${ABI}/19.1'
+ MIRROR=http://mirror.sfo12.us.leaseweb.net/opnsense/FreeBSD:11:amd64/19.1
+ echo http://mirror.sfo12.us.leaseweb.net/opnsense/FreeBSD:11:amd64/19.1
+ MIRROR=http://mirror.sfo12.us.leaseweb.net/opnsense/FreeBSD:11:amd64/19.1/sets
+ [ -n '' ]
+ [ -z '' ]
+ [ 19.1.7 '=' 19.1.4 -a -n -k ]
+ [ 19.1.7 '=' 19.1.4 -a -n '' ]
+ [ -z -k ]
+ [ '' '=' -p ]
+ [ '' '=' -b ]
+ [ -k '=' -k ]
+ [ -z '' -o -n '' ]
+ rm -f /usr/local/opnsense/version/kernel.lock
+ fetch_set kernel-19.1.7-amd64.txz
+ STAGE1='opnsense-fetch -a -T 30 -q -o /var/cache/opnsense-update/33285/kernel-19.1.7-amd64.txz.sig http://mirror.sfo12.us.leaseweb.net/opnsense/FreeBSD:11:amd64/19.1/sets/kernel-19.1.7-amd64.txz.sig'
+ STAGE2='opnsense-fetch -a -T 30 -q -o /var/cache/opnsense-update/33285/kernel-19.1.7-amd64.txz http://mirror.sfo12.us.leaseweb.net/opnsense/FreeBSD:11:amd64/19.1/sets/kernel-19.1.7-amd64.txz'
+ STAGE3='opnsense-verify -q /var/cache/opnsense-update/33285/kernel-19.1.7-amd64.txz'
+ [ -n '' ]
+ [ -n '' ]
+ echo -n 'Fetching kernel-19.1.7-amd64.txz: .'
Fetching kernel-19.1.7-amd64.txz: .+ mkdir -p /var/cache/opnsense-update/33285
+ opnsense-fetch -a -T 30 -q -o /var/cache/opnsense-update/33285/kernel-19.1.7-amd64.txz.sig http://mirror.sfo12.us.leaseweb.net/opnsense/FreeBSD:11:amd64/19.1/sets/kernel-19.1.7-amd64.txz.sig
..............................+ exit_msg ' failed, no signature found'
+ [ -n ' failed, no signature found' ]
+ echo ' failed, no signature found'
failed, no signature found
+ exit 1


I also swapped mirrors a couple times, manually removed the cache, but no results.
Title: Re: Problem with 19.1.7 update
Post by: GraFfiX on May 09, 2019, 03:47:58 AM
Quote from: franco on May 06, 2019, 09:00:32 AM
Can you run this manually and share the result?

# opnsense-update -kV

From the looks of it it tries to download the kernel from a location where it is not found...


Cheers,
Franco


Any hope for me with this problem? I've been unable to get the update to complete successfully.
Title: Re: Problem with 19.1.7 update
Post by: franco on May 09, 2019, 09:34:52 AM
https://mirror.sfo12.us.leaseweb.net/opnsense/FreeBSD:11:amd64/19.1/sets/ looks on from here.

It might be a local issue: proxy, IPv6 connectivity, etc.


Cheers,
Franco
Title: Re: Problem with 19.1.7 update
Post by: GraFfiX on May 10, 2019, 07:04:19 AM
Quote from: franco on May 09, 2019, 09:34:52 AM
https://mirror.sfo12.us.leaseweb.net/opnsense/FreeBSD:11:amd64/19.1/sets/ looks on from here.

It might be a local issue: proxy, IPv6 connectivity, etc.


Cheers,
Franco

You were right, I disabled ipv6 and was able to complete the update. Strangely enough, my router gets an ipv6 address, and all the clients of the router have ipv6 connectivity, but I cannot connect to ipv6 addresses from the router itself. Thank you for your help.
Title: Re: Problem with 19.1.7 update
Post by: franco on May 10, 2019, 06:53:47 PM
Set systems: settings: general to prefer IPv4 on your box, that should solve it too without stripping IPv6 connectivity for clients (if that is now the case).


Cheers,
Franco