opn-repo icon indicating copy to clipboard operation
opn-repo copied to clipboard

os-speedtest-community (misconfigured) 0.9_6

Open hlugt opened this issue 8 months ago • 7 comments
trafficstars

Hi, In opnsense 25.1.3 (and maybe earlier) gui>firmware>plugins page: the speedtest plugin says misconfigured. When run in cron or on command line it runs fine without errors though. Reinstall does not give a change.

Anything to worry about, or better: some way to fix?

hlugt avatar Mar 13 '25 16:03 hlugt

This is ok, you can run resolve local conflicts, should also work

mimugmail avatar Mar 13 '25 18:03 mimugmail

Well there is no "resolve conflicts" button. Ran a health status check, but all seems ok. Also "view and edit local conflicts" nor "reset all local conflicts" changes anything. I guess I will simply ignore it then (which my ocd finds very difficult)...

hlugt avatar Mar 17 '25 16:03 hlugt

I have the same issue. Works fine but plugin reports as misconfigured.

jata1 avatar Mar 28 '25 07:03 jata1

I attempted to install this for the first time and received the same "misconfigured" error and nothing showed up in the GUI. On the CLI, none of the packages were installed so it seems the install script is failing or isn't being executed.

Searched the logs for speedtest but not much help as to what's causing the issue:

/var/log/audit/audit_20250331.log:<165>1 2025-03-31T09:31:35-07:00 this.opnsense.server audit 58430 - [meta sequenceId="65"] [Firmware] User root executed an install of package os-speedtest-community /var/log/audit/audit_20250331.log:<165>1 2025-03-31T13:57:33-07:00 this.opnsense.server audit 8069 - [meta sequenceId="16"] [Firmware] User root executed an install of package os-speedtest-community /var/log/audit/audit_20250331.log:<38>1 2025-03-31T14:09:39-07:00 this.opnsense.server configd.py 259 - [meta sequenceId="19"] action allowed speedtest.showstat for user root /var/log/audit/audit_20250331.log:<38>1 2025-03-31T14:09:39-07:00 this.opnsense.server configd.py 259 - [meta sequenceId="20"] action allowed speedtest.showrecent for user root /var/log/audit/audit_20250331.log:<38>1 2025-03-31T14:35:44-07:00 this.opnsense.server configd.py 259 - [meta sequenceId="273"] action allowed speedtest.showstat for user root /var/log/audit/audit_20250331.log:<38>1 2025-03-31T14:35:44-07:00 this.opnsense.server configd.py 259 - [meta sequenceId="274"] action allowed speedtest.showrecent for user root /var/log/audit/latest.log:<165>1 2025-03-31T09:31:35-07:00 this.opnsense.server audit 58430 - [meta sequenceId="65"] [Firmware] User root executed an install of package os-speedtest-community /var/log/audit/latest.log:<165>1 2025-03-31T13:57:33-07:00 this.opnsense.server audit 8069 - [meta sequenceId="16"] [Firmware] User root executed an install of package os-speedtest-community /var/log/audit/latest.log:<38>1 2025-03-31T14:09:39-07:00 this.opnsense.server configd.py 259 - [meta sequenceId="19"] action allowed speedtest.showstat for user root /var/log/audit/latest.log:<38>1 2025-03-31T14:09:39-07:00 this.opnsense.server configd.py 259 - [meta sequenceId="20"] action allowed speedtest.showrecent for user root /var/log/audit/latest.log:<38>1 2025-03-31T14:35:44-07:00 this.opnsense.server configd.py 259 - [meta sequenceId="273"] action allowed speedtest.showstat for user root /var/log/audit/latest.log:<38>1 2025-03-31T14:35:44-07:00 this.opnsense.server configd.py 259 - [meta sequenceId="274"] action allowed speedtest.showrecent for user root /var/log/configd/configd_20250331.log:<13>1 2025-03-31T09:31:35-07:00 this.opnsense.server configd.py 258 - [meta sequenceId="69"] [1284f846-f452-49ef-85d8-715b486c2349] Installing firmware package os-speedtest-community /var/log/configd/configd_20250331.log:<14>1 2025-03-31T09:31:35-07:00 this.opnsense.server configd.py 258 - [meta sequenceId="70"] message 1284f846-f452-49ef-85d8-715b486c2349 ['os-speedtest-community'] returned OK /var/log/configd/configd_20250331.log:<13>1 2025-03-31T13:57:33-07:00 this.opnsense.server configd.py 89183 - [meta sequenceId="19"] [4871935f-291a-479b-948f-08884e994e68] Installing firmware package os-speedtest-community /var/log/configd/configd_20250331.log:<14>1 2025-03-31T13:57:33-07:00 this.opnsense.server configd.py 89183 - [meta sequenceId="20"] message 4871935f-291a-479b-948f-08884e994e68 ['os-speedtest-community'] returned OK /var/log/configd/configd_20250331.log:<13>1 2025-03-31T13:58:05-07:00 this.opnsense.server configd.py 49539 - [meta sequenceId="10"] [e5eb5bb0-4237-4104-a39c-2a3183cdc20d] Querying os-speedtest-community package details /var/log/configd/configd_20250331.log:<13>1 2025-03-31T13:59:04-07:00 this.opnsense.server configd.py 49539 - [meta sequenceId="20"] [2fffed3c-0e8e-4e6f-87e2-3ea1a20f643c] Querying os-speedtest-community package details /var/log/configd/configd_20250331.log:<13>1 2025-03-31T14:09:23-07:00 this.opnsense.server configd.py 259 - [meta sequenceId="1"] [4081f844-54fd-4bb6-9d87-6df0e0ac6ca4] Querying os-speedtest-community package details /var/log/configd/configd_20250331.log:<13>1 2025-03-31T14:09:39-07:00 this.opnsense.server configd.py 259 - [meta sequenceId="19"] [cf94f190-5bab-4ad5-a048-30a069065b91] Shows speedtest statistics /var/log/configd/configd_20250331.log:<13>1 2025-03-31T14:09:39-07:00 this.opnsense.server configd.py 259 - [meta sequenceId="20"] [ba841769-a67b-4b2f-9ab3-c3ba3121d91e] Shows speedtest most recent log entry /var/log/configd/configd_20250331.log:<11>1 2025-03-31T14:09:39-07:00 this.opnsense.server configd.py 259 - [meta sequenceId="21"] [ba841769-a67b-4b2f-9ab3-c3ba3121d91e] Script action failed with Command '/usr/local/bin/python3 /usr/local/opnsense/scripts/OPNsense/speedtest/opn_speedtest.py recent ' returned non-zero exit status 1. at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/actions/script_output.py", line 78, 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/bin/python3 /usr/local/opnsense/scripts/OPNsense/speedtest/opn_speedtest.py recent ' returned non-zero exit status 1. /var/log/configd/configd_20250331.log:<13>1 2025-03-31T14:35:44-07:00 this.opnsense.server configd.py 259 - [meta sequenceId="280"] [f17ef928-cc85-4287-9c44-062bb78e22d9] Shows speedtest statistics /var/log/configd/configd_20250331.log:<13>1 2025-03-31T14:35:44-07:00 this.opnsense.server configd.py 259 - [meta sequenceId="281"] [af3c6de7-b3ad-4924-a6c1-3bb4d33ae5cb] Shows speedtest most recent log entry /var/log/configd/configd_20250331.log:<11>1 2025-03-31T14:35:44-07:00 this.opnsense.server configd.py 259 - [meta sequenceId="282"] [af3c6de7-b3ad-4924-a6c1-3bb4d33ae5cb] Script action failed with Command '/usr/local/bin/python3 /usr/local/opnsense/scripts/OPNsense/speedtest/opn_speedtest.py recent ' returned non-zero exit status 1. at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/actions/script_output.py", line 78, 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/bin/python3 /usr/local/opnsense/scripts/OPNsense/speedtest/opn_speedtest.py recent ' returned non-zero exit status 1. /var/log/configd/latest.log:<13>1 2025-03-31T09:31:35-07:00 this.opnsense.server configd.py 258 - [meta sequenceId="69"] [1284f846-f452-49ef-85d8-715b486c2349] Installing firmware package os-speedtest-community /var/log/configd/latest.log:<14>1 2025-03-31T09:31:35-07:00 this.opnsense.server configd.py 258 - [meta sequenceId="70"] message 1284f846-f452-49ef-85d8-715b486c2349 ['os-speedtest-community'] returned OK /var/log/configd/latest.log:<13>1 2025-03-31T13:57:33-07:00 this.opnsense.server configd.py 89183 - [meta sequenceId="19"] [4871935f-291a-479b-948f-08884e994e68] Installing firmware package os-speedtest-community /var/log/configd/latest.log:<14>1 2025-03-31T13:57:33-07:00 this.opnsense.server configd.py 89183 - [meta sequenceId="20"] message 4871935f-291a-479b-948f-08884e994e68 ['os-speedtest-community'] returned OK /var/log/configd/latest.log:<13>1 2025-03-31T13:58:05-07:00 this.opnsense.server configd.py 49539 - [meta sequenceId="10"] [e5eb5bb0-4237-4104-a39c-2a3183cdc20d] Querying os-speedtest-community package details /var/log/configd/latest.log:<13>1 2025-03-31T13:59:04-07:00 this.opnsense.server configd.py 49539 - [meta sequenceId="20"] [2fffed3c-0e8e-4e6f-87e2-3ea1a20f643c] Querying os-speedtest-community package details /var/log/configd/latest.log:<13>1 2025-03-31T14:09:23-07:00 this.opnsense.server configd.py 259 - [meta sequenceId="1"] [4081f844-54fd-4bb6-9d87-6df0e0ac6ca4] Querying os-speedtest-community package details /var/log/configd/latest.log:<13>1 2025-03-31T14:09:39-07:00 this.opnsense.server configd.py 259 - [meta sequenceId="19"] [cf94f190-5bab-4ad5-a048-30a069065b91] Shows speedtest statistics /var/log/configd/latest.log:<13>1 2025-03-31T14:09:39-07:00 this.opnsense.server configd.py 259 - [meta sequenceId="20"] [ba841769-a67b-4b2f-9ab3-c3ba3121d91e] Shows speedtest most recent log entry /var/log/configd/latest.log:<11>1 2025-03-31T14:09:39-07:00 this.opnsense.server configd.py 259 - [meta sequenceId="21"] [ba841769-a67b-4b2f-9ab3-c3ba3121d91e] Script action failed with Command '/usr/local/bin/python3 /usr/local/opnsense/scripts/OPNsense/speedtest/opn_speedtest.py recent ' returned non-zero exit status 1. at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/actions/script_output.py", line 78, 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/bin/python3 /usr/local/opnsense/scripts/OPNsense/speedtest/opn_speedtest.py recent ' returned non-zero exit status 1. /var/log/configd/latest.log:<13>1 2025-03-31T14:35:44-07:00 this.opnsense.server configd.py 259 - [meta sequenceId="280"] [f17ef928-cc85-4287-9c44-062bb78e22d9] Shows speedtest statistics /var/log/configd/latest.log:<13>1 2025-03-31T14:35:44-07:00 this.opnsense.server configd.py 259 - [meta sequenceId="281"] [af3c6de7-b3ad-4924-a6c1-3bb4d33ae5cb] Shows speedtest most recent log entry /var/log/configd/latest.log:<11>1 2025-03-31T14:35:44-07:00 this.opnsense.server configd.py 259 - [meta sequenceId="282"] [af3c6de7-b3ad-4924-a6c1-3bb4d33ae5cb] Script action failed with Command '/usr/local/bin/python3 /usr/local/opnsense/scripts/OPNsense/speedtest/opn_speedtest.py recent ' returned non-zero exit status 1. at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/actions/script_output.py", line 78, 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/bin/python3 /usr/local/opnsense/scripts/OPNsense/speedtest/opn_speedtest.py recent ' returned non-zero exit status 1.

VendettaMike avatar Mar 31 '25 21:03 VendettaMike

Same ' misconfigured' error message here, but everything works fine..

Gertjuh avatar Apr 18 '25 12:04 Gertjuh

Using the "Reset all local conflicts" choice (see In the OpnSense GUI, System > Firmware > Status page, "Resolve plugin conflicts" selection) returns the following output:

***GOT REQUEST TO RESYNC***
Currently running OPNsense 25.1.5_5 (amd64) at Wed Apr 23 11:55:28 PDT 2025
Registering plugin: os-speedtest-community
***DONE***

However, returning to the System:Firmware status page still shows the plugin as conflicted: the os-speedtest-community plugin still shows as misconfigured. It isn't in /usr/local/etc/inc/plugins.inc.d/ like AdGuardHome ... though it probably won't since speedtest is a reporting tool.

My workaround so far: edited /conf/config.xml as root on the command line, and added os-speedtest-community to the <plugins> directive which resolved the issue ... at least on the GUI.

asfourco avatar Apr 23 '25 20:04 asfourco

Editing config.xml as recommended above fixed gui issue for me as well.

Apr 25/2025 - Actually did not. Not sure why, but appears not to have survived reboot.

davidfi01 avatar Apr 24 '25 15:04 davidfi01

I want to add that there are issues with location as well. The serverlist is ONLY choosing Pacific Northwest servers and those are no where near my location.

vasquezmi avatar Aug 25 '25 14:08 vasquezmi

I also see it says misconfigured even though it still works. In my logs I have the following:

2025-11-06T14:22:03-05:00 Error configd.py [83943355-79e7-4da9-879f-d257d0c960b9] Script action stderr returned "b'pkg: wrong architecture: FreeBSD:13:x86:64 instead of FreeBSD:14:amd64'" 2025-11-06T13:41:40-05:00 Warning configd.py Stopping daemon. 2025-11-06T12:52:48-05:00 Error configd.py [ad8e9244-a560-43bf-9c61-aaed6f0b9f31] Script action failed with Command '/usr/local/opnsense/scripts/interfaces/traffic_top.py --interfaces 'vtnet1,vtnet0'' returned non-zero exit status 1. at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/actions/script_output.py", line 89, in execute subprocess.run(script_command, env=self.config_environment, shell=True, File "/usr/local/lib/python3.11/subprocess.py", line 571, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '/usr/local/opnsense/scripts/interfaces/traffic_top.py --interfaces 'vtnet1,vtnet0'' returned non-zero exit status 1. 2025-11-06T12:44:34-05:00 Error configd.py [24f23c01-d075-4ce6-a098-c44653b8a06a] Script action failed with Command '/usr/local/opnsense/scripts/interfaces/traffic_top.py --interfaces 'vtnet1,vtnet0'' returned non-zero exit status 1. at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/actions/script_output.py", line 89, in execute subprocess.run(script_command, env=self.config_environment, shell=True, File "/usr/local/lib/python3.11/subprocess.py", line 571, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '/usr/local/opnsense/scripts/interfaces/traffic_top.py --interfaces 'vtnet1,vtnet0'' returned non-zero exit status 1. 2025-11-06T12:06:44-05:00 Error configd.py [c1bde6e9-d105-4dc3-92d9-ead3ca1dfceb] Script action failed with Command '/usr/local/opnsense/scripts/interfaces/traffic_top.py --interfaces 'vtnet1,vtnet0'' returned non-zero exit status 1. at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/actions/script_output.py",

microcrash avatar Nov 08 '25 11:11 microcrash