Fetching base-23.7.7-amd64.txz took forever....

Started by heypppoe, October 26, 2023, 07:13:41 AM

Previous topic - Next topic
Fetching base-23.7.7-amd64.txz: .............................................

Lack of space, or restart Unbound for DNS or some IPv6 issues. Can you check them first please?

Quote from: mimugmail on October 26, 2023, 07:35:19 AM
Lack of space, or restart Unbound for DNS or some IPv6 issues. Can you check them first please?

256G ssd, 1% usage, ipv6 disabled, unbound dns can resolve the address.


Quote from: franco on October 26, 2023, 10:06:23 AM
Ok, so the download is slow?


Cheers,
Franco

Not sure, where is the server located? 140 MB size, and ended with signature invalid...

It could have ran into a timeout. The main server is in Amsterdam, but the question is which one you picked and where you are located. But this could also be ISP related.


Cheers,
Franco

Quote from: franco on October 26, 2023, 10:29:06 AM
It could have ran into a timeout. The main server is in Amsterdam, but the question is which one you picked and where you are located. But this could also be ISP related.


Cheers,
Franco

I am using: https://opnsense.aivian.org
tried few other location, still the same, I am located at China

Try the dns-root one, it is a Cloudflare geo thing.


Cheers,
Franco

Quote from: franco on October 26, 2023, 10:59:15 AM
Try the dns-root one, it is a Cloudflare geo thing.


Cheers,
Franco

Okay, thank you!
I suggest lower the timeout for update, or let user manually set, this is really frustrating.... Has to wait the very long timeout.
Or give user a button to cancel current download.

October 26, 2023, 11:42:21 AM #9 Last Edit: October 26, 2023, 12:08:43 PM by franco
The timeout is 30 seconds. The problem is the download appears active so the timeout is never reached.


Cheers,
Franco

Quote from: franco on October 26, 2023, 11:42:21 AM
The timeout is 30 seconds. The problem is the download appears active so the timeout is never reached.


Cheer,
Franco

okay, seems found the problem, after select the alternative mirror, the system still trying to get update from pkg.opnsense.org
and connection from China to this site is supper slow...
And the "status" tab in firmware update page is keep loading, never stop, even restart the system.

Yes, my bad then. You can manually add the following patch:

https://github.com/opnsense/update/commit/bd59f2dff5

# opnsense-patch -c update bd59f2dff5
# /usr/local/etc/rc.configure_firmware


Cheers,
Franco

October 26, 2023, 05:38:08 PM #12 Last Edit: October 26, 2023, 05:43:54 PM by heypppoe
Quote from: franco on October 26, 2023, 12:10:33 PM
Yes, my bad then. You can manually add the following patch:

https://github.com/opnsense/update/commit/bd59f2dff5

# opnsense-patch -c update bd59f2dff5
# /usr/local/etc/rc.configure_firmware


Cheers,
Franco

Okay, after manually add the patch and run the command, and update from ssh session, it works, but on the webUI, ui/core/firmware#status still loading, and nothing in that tab, also the plugin tab and package tab are empty.

here is the full log:
Quote
***GOT REQUEST TO CHECK FOR UPDATES***
Currently running OPNsense 23.7.7 at Thu Oct 26 23:39:59 CST 2023
Fetching changelog information, please wait... fetch: transfer timed out
fetch: /usr/local/opnsense/changelog/changelog.txz appears to be truncated: 0/117288 bytes
Updating OPNsense repository catalogue...
Fetching meta.conf: . done
Fetching packagesite.pkg: .......... done
Processing entries: .......... done
OPNsense repository update completed. 851 packages processed.
Updating mimugmail repository catalogue...
Fetching meta.conf: . done
Fetching packagesite.pkg: ........ done
Processing entries: .......... done
mimugmail repository update completed. 190 packages processed.
All repositories are up to date.
Checking integrity... done (0 conflicting)
Your packages are up to date.
Checking for upgrades (3 candidates): ... done
Processing candidates (3 candidates): .
pkg: libevent has a missing dependency: openssl
Processing candidates (3 candidates)... done
Checking integrity... done (0 conflicting)
Your packages are up to date.
***DONE***

> Updating mimugmail repository catalogue...

Third party repo will update soon. openssl vs. openssl111 issue.

Quote from: franco on October 26, 2023, 09:21:06 PM
> Updating mimugmail repository catalogue...

Third party repo will update soon. openssl vs. openssl111 issue.

After remove mimugmail repository, everything back to normal, thank you!