OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • 17.7 Refuses to Update Through Web Interface (But Slowly Updates from Console)
« previous next »
  • Print
Pages: [1] 2

Author Topic: 17.7 Refuses to Update Through Web Interface (But Slowly Updates from Console)  (Read 11440 times)

rajl

  • Newbie
  • *
  • Posts: 31
  • Karma: 1
    • View Profile
17.7 Refuses to Update Through Web Interface (But Slowly Updates from Console)
« on: January 06, 2018, 09:56:36 pm »
So I am evaluating OPNSense as a replacement for PFSense (not to start a flameware, but OPNSense has features that PFSense doesn't which are useful to me).  However, when I try to update the firmware through the WebGUI, it fails with the following error:

Code: [Select]
Firmware status check was aborted internally. Please try again.

The logs say:
Code: [Select]
Jan 6 15:49:03
configd.py: [4297ea6f-e1c5-46ca-a2d3-2d36f80d3f4f] view remote packages
Jan 6 15:49:03
configd.py: [8071332c-d198-42e6-a5e8-1108b8870172] retrieve firmware update status
Jan 6 15:49:03
configd.py: [21d096d3-f98e-4765-81ea-7b2afa5b15b4] returned exit status 1
Jan 6 15:48:57
configd.py: [21d096d3-f98e-4765-81ea-7b2afa5b15b4] Fetching changelog from remote
Jan 6 15:48:53
configd.py: generate template container OPNsense/Auth
Jan 6 15:48:53
configd.py: [cc2a0904-55f7-4ead-8709-c11720859c4c] generate template OPNsense/Auth
Jan 6 15:48:53
configd.py: [f12072fd-42bb-4d8a-8133-0fc01c4462a2] update firmware configuration

I did perform an update from the console, but it took forever.  I did some searching of the forums and it seems others have had this problem before, but did not say what it was.  There was some hint that it could be related to the use of a proxy, use of IPv6 by default, or other issues unspecified.  In my case, there is no proxy and I have native IPv6 enabled and working (I've tested it on other sites).

Any help?
Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 1604
  • Karma: 167
    • View Profile
Re: 17.7 Refuses to Update Through Web Interface (But Slowly Updates from Console)
« Reply #1 on: January 06, 2018, 11:47:27 pm »
How much free disk space is there on the firewall?

Bart...
Logged

phoenix

  • Hero Member
  • *****
  • Posts: 510
  • Karma: 57
    • View Profile
Re: 17.7 Refuses to Update Through Web Interface (But Slowly Updates from Console)
« Reply #2 on: January 07, 2018, 08:19:45 am »
I posted about this back in October last year, it could be a problem with IPv6, take a lake a look and see if it's the same problem: https://forum.opnsense.org/index.php?topic=6097.msg25538#msg25538
Logged
Regards


Bill

chemlud

  • Hero Member
  • *****
  • Posts: 2113
  • Karma: 94
    • View Profile
Re: 17.7 Refuses to Update Through Web Interface (But Slowly Updates from Console)
« Reply #3 on: January 07, 2018, 09:43:53 am »
"Firmware status check was aborted internally. Please try again."

I get this from time to time (IPv4, nano i386, 17.1.10 was the last I updated), but after pressing the "Update" button repeatedly I get the box to show the latest updates.

Have you tried a different update server?
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13953
  • Karma: 1208
    • View Profile
Re: 17.7 Refuses to Update Through Web Interface (But Slowly Updates from Console)
« Reply #4 on: January 08, 2018, 08:01:09 am »
Slow/defunct IPv6 is my guess. Try to prefer IPv4 and see how that goes...


Cheers,
Franco
Logged

rajl

  • Newbie
  • *
  • Posts: 31
  • Karma: 1
    • View Profile
Re: 17.7 Refuses to Update Through Web Interface (But Slowly Updates from Console)
« Reply #5 on: January 08, 2018, 09:11:32 pm »
Quote from: bartjsmit on January 06, 2018, 11:47:27 pm
How much free disk space is there on the firewall?

Bart...

At least 100 GB (I put a spare 128 GB Samsung 830 I had lying around in there as the install/boot drive)
Logged

rajl

  • Newbie
  • *
  • Posts: 31
  • Karma: 1
    • View Profile
Re: 17.7 Refuses to Update Through Web Interface (But Slowly Updates from Console)
« Reply #6 on: January 08, 2018, 09:13:36 pm »
Quote from: phoenix on January 07, 2018, 08:19:45 am
I posted about this back in October last year, it could be a problem with IPv6, take a lake a look and see if it's the same problem: https://forum.opnsense.org/index.php?topic=6097.msg25538#msg25538

It could be, but I hope not.  I will test sometime this week and report back.  It would be strange if it were as my previous PFSense installation had no problems when IPv6 was preferred and my ISP provides native IPv6.
Logged

rajl

  • Newbie
  • *
  • Posts: 31
  • Karma: 1
    • View Profile
Re: 17.7 Refuses to Update Through Web Interface (But Slowly Updates from Console)
« Reply #7 on: January 08, 2018, 09:14:11 pm »
Quote from: franco on January 08, 2018, 08:01:09 am
Slow/defunct IPv6 is my guess. Try to prefer IPv4 and see how that goes...


Cheers,
Franco

Will do and will report back.  Why would IPv6 be causing this issue?
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13953
  • Karma: 1208
    • View Profile
Re: 17.7 Refuses to Update Through Web Interface (But Slowly Updates from Console)
« Reply #8 on: January 08, 2018, 09:42:03 pm »
Because it can't resolve locally. It takes a timeout for each DNS lookup, which ends up stalling every little detail during the update process and finally running into the GUI timeout (it's only 45 seconds for the repo database fetch).

The console update option 12 should work when giving it a lot of time tough as there is no hard timeout there. It's intentional to have a very basic update script there to provide a safety net for users.


Cheers,
Franco
Logged

rajl

  • Newbie
  • *
  • Posts: 31
  • Karma: 1
    • View Profile
Re: 17.7 Refuses to Update Through Web Interface (But Slowly Updates from Console)
« Reply #9 on: January 23, 2018, 01:55:25 pm »
A bit late of a reply, but it works fine if I select “Prefer IPv4 over IPv6”. This is mildly annoying as Inhave working IPv6.  However, I can always toggle the switch when doing an OPNSense update and use IPv6 normally for the rest of the Internet.

Any idea why IPv6 does not work well with the update server?
Logged

nivek1612

  • Full Member
  • ***
  • Posts: 188
  • Karma: 25
    • View Profile
Re: 17.7 Refuses to Update Through Web Interface (But Slowly Updates from Console)
« Reply #10 on: January 23, 2018, 02:01:46 pm »
I update no issue with IPV6 turned on, sounds like a setting issue to me

what do you get here

http://ipv6-test.com/
Logged
OPNsense 23.1.* on Qotom i5-5250U with Zen FTTC 80/20
OPNsense 23.1.* on Qotom i7-4500U with Orange FR FTTP 1000/400 and SFR FTTP 200/20

Team Rebellion Member
One of Marjohns TESTERS :-)

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13953
  • Karma: 1208
    • View Profile
Re: 17.7 Refuses to Update Through Web Interface (But Slowly Updates from Console)
« Reply #11 on: January 23, 2018, 04:57:53 pm »
Even though your clients may have perfect internet, your ISP may not offer IPv6 servers to the box and if you don't allow the box to access the local DNS service or the servers you entered are not IPv6-capable you get this behaviour.

System: Settings: General at the bottom.... uncheck the option that prevents system resolution against the configured DNS server.


Cheers,
Franco
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13953
  • Karma: 1208
    • View Profile
Re: 17.7 Refuses to Update Through Web Interface (But Slowly Updates from Console)
« Reply #12 on: January 23, 2018, 04:59:45 pm »
PS: Hmm, or maybe IPv6 resolution works fine but the system can't route IPv6... A simple ping6 test will reveal this.
Logged

nivek1612

  • Full Member
  • ***
  • Posts: 188
  • Karma: 25
    • View Profile
Re: 17.7 Refuses to Update Through Web Interface (But Slowly Updates from Console)
« Reply #13 on: January 23, 2018, 05:59:32 pm »
Quote from: franco on January 23, 2018, 04:57:53 pm

System: Settings: General at the bottom.... uncheck the option that prevents system resolution against the configured DNS server.


Cheers,
Franco

I confirm I have this unchecked and have no probelems
Logged
OPNsense 23.1.* on Qotom i5-5250U with Zen FTTC 80/20
OPNsense 23.1.* on Qotom i7-4500U with Orange FR FTTP 1000/400 and SFR FTTP 200/20

Team Rebellion Member
One of Marjohns TESTERS :-)

rajl

  • Newbie
  • *
  • Posts: 31
  • Karma: 1
    • View Profile
Re: 17.7 Refuses to Update Through Web Interface (But Slowly Updates from Console)
« Reply #14 on: January 25, 2018, 02:37:54 am »
Quote from: franco on January 23, 2018, 04:59:45 pm
PS: Hmm, or maybe IPv6 resolution works fine but the system can't route IPv6... A simple ping6 test will reveal this.

Upon further inspection, IPv6 is not working even though my WAN interface gets a native IPv6 address from the ISP’s gateway.  IPv6 was working “out of the box” with my old PFSense installation, so I wonder what OPNSense is doing differently?  I will try to figure it out when I have time.
Logged

  • Print
Pages: [1] 2
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • 17.7 Refuses to Update Through Web Interface (But Slowly Updates from Console)
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2