OPNsense Forum

Archive => 19.1 Legacy Series => Topic started by: mircsicz on May 23, 2019, 01:37:39 am

Title: [SOLVED] Can't Upgrade from GUI nor Console
Post by: mircsicz on May 23, 2019, 01:37:39 am
I've just tried to check for upgrades and ran into issue's, first failure was:

Quote
Could not authenticate the selected mirror.

Then I google'd and found:
https://forum.opnsense.org/index.php?topic=12550.0 (https://forum.opnsense.org/index.php?topic=12550.0)

But checking on the console my cert.pem sized isn't 0.

Google'd again and found:
https://forum.opnsense.org/index.php?topic=4081.msg14836#msg14836 (https://forum.opnsense.org/index.php?topic=4081.msg14836#msg14836)

So I tried as follow's:
Code: [Select]
fetch https://mirror.fra10.de.leaseweb.net/opnsense/FreeBSD%3A11%3Aamd64/19.1/latest/packagesite.txz
file packagesite.txz

what I got was:
Code: [Select]
packagesite.txz: HTML document, UTF-8 Unicode text

Using HTTPS I got this
Code: [Select]
fetch https://mirror.fra10.de.leaseweb.net/opnsense/FreeBSD%3A11%3Aamd64/19.1/latest/packagesite.txz
No server SSL certificate
fetch: https://mirror.fra10.de.leaseweb.net/opnsense/FreeBSD%3A11%3Aamd64/19.1/latest/packagesite.txz: Authentication error

So at this point I'm lost and hoping for hints...

EDIT:

tried once more after a reboot:

Quote
Updating OPNsense repository catalogue...
pkg-static: repository meta /var/db/pkg/OPNsense.meta has wrong version or wrong format
pkg-static: Repository OPNsense load error: meta cannot be loaded No such file or directory
Fetching meta.txz: 100%    5 KiB   4.7kB/s    00:01
pkg-static: No signature found
repository OPNsense has no meta file, using default settings
Fetching packagesite.txz: 100%    5 KiB   4.7kB/s    00:01
pkg-static: No signature found
Unable to update repository OPNsense
Error updating repositories!
Title: Re: Can't Upgrade from GUI nor Console
Post by: walkerx on May 23, 2019, 08:05:09 am
have you enabled ipv6 gateway?
do you have ipv6 static routing and dhcpv6 server enabled?
are you on pppoe?

i had the same errors when using static routing, I could not authenticate with the mirrors and found the issue to be caused by having static ipv6 gateway/routing while i was connected to pppoe.

I got help from @marjohn56, and changed the settings for ipv6 to track interface instead of me manually configuring everything and I can now access the updates, etc

Title: Re: Can't Upgrade from GUI nor Console
Post by: mircsicz on May 23, 2019, 08:37:52 am
Yes I had set one static route...

Just deleted it and installed 19.1.8 ;-)

THX a ton wolkerx