core
core copied to clipboard
Status & updates latency issues
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
- [*] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
- [*] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue
Describe the bug
Accessing System > Firmware > Status
or Updates
sections get stuck at the spinning progress circle. Since I started using OPNsense, I noticed that those 2 sections always have high latency but they eventually execute.
Tip: to validate your setup was working with the previous version, use opnsense-revert (https://docs.opnsense.org/manual/opnsense_tools.html#opnsense-revert)
To Reproduce
Steps to reproduce the behavior:
- Go to
System > Firmware > Status
orUpdates
- Wait (forever) for the
Status
page to populate - If you click on
Check for updates
it'll saywaiting on another process to finish...
- See error
Expected behavior
The Status
page to populate preferably in less than 60 seconds.
Fixing the above issue might fix the Check for updates
problem.
Describe alternatives you considered
None found.
Screenshots
Relevant log files
[9e646221-6d48-450d-96d6-d9172d3dc992] Script action failed with Command '/usr/local/opnsense/scripts/firmware/query.sh tiers ' returned non-zero exit status 1. at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/actions/script_output.py", line 44, in execute subprocess.check_call(script_command, env=self.config_environment, shell=True, File "/usr/local/lib/python3.11/subprocess.py", line 413, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '/usr/local/opnsense/scripts/firmware/query.sh tiers ' returned non-zero exit status 1.
***GOT REQUEST TO CHECK FOR UPDATES*** Currently running OPNsense 24.1.8 at Sat Jun 15 23:27:29 CDT 2024 Fetching changelog information, please wait... fetch: transfer timed out Updating OPNsense repository catalogue... pkg: Repository OPNsense has a wrong packagesite, need to re-create database Waiting for another process to update repository OPNsense Updating SunnyValley repository catalogue... Waiting for another process to update repository SunnyValley Updating mimugmail repository catalogue... Waiting for another process to update repository mimugmail All repositories are up to date. pkg: Repository OPNsense has a wrong packagesite, need to re-create database pkg: Repository OPNsense cannot be opened. 'pkg update' required Checking integrity... done (0 conflicting) Your packages are up to date. pkg: Repository OPNsense has a wrong packagesite, need to re-create database pkg: Repository OPNsense cannot be opened. 'pkg update' required Checking for upgrades (10 candidates): .......... done Processing candidates (10 candidates): . done Checking integrity... done (0 conflicting) Your packages are up to date.
Additional context
Network setup: [ ISP modem ] --> [ OPNsense ] --> [ other devices ]
Environment
Software version used and hardware type if relevant, e.g.:
OPNsense 24.1.8 (amd64). Intel® i7-3770K 3.5Ghz Quad Core Network: Intel® 82579V onboard (WAN) Intel® PRO/1000 ET 82576 (Quad Copper) (LAN) Mirror: LeaseWeb US