OPNsense Forum

English Forums => Q-Feeds (Threat intelligence) => Topic started by: lmoore on May 22, 2026, 11:22:40 AM

Title: [SOLVED] Q-Feeds Events - nothing shown
Post by: lmoore on May 22, 2026, 11:22:40 AM
I'm running OPNsense 26.1.8_5 with os-q-feeds-connector 1.6 and when I go to view the events nothing is listed.

Looking in System -> Log Files -> Backend, I am seeing these log entries;

Quote2026-05-22T17:13:33
Error
configd.py
[6381d872-a12b-4043-826d-0548754dcdac] Script action failed with Command '/usr/local/opnsense/scripts/qfeeds/qfeedsctl.py logs ' returned non-zero exit status 1. at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/actions/script_output.py", line 93, in execute subprocess.run(script_command, env=self.config_environment, shell=True, ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ check=not self.disable_errors, stdout=output_stream, stderr=error_stream) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/subprocess.py", line 577, in run raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '/usr/local/opnsense/scripts/qfeeds/qfeedsctl.py logs ' returned non-zero exit status 1.

Quote2026-05-22T10:42:41
Error
configd.py
[687e3cd2-e0d4-4f64-b27c-31bc9b6da13a] Script action failed with Command '/usr/local/opnsense/scripts/qfeeds/qfeedsctl.py logs ' returned non-zero exit status 1. at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/actions/script_output.py", line 93, in execute subprocess.run(script_command, env=self.config_environment, shell=True, ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ check=not self.disable_errors, stdout=output_stream, stderr=error_stream) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/subprocess.py", line 577, in run raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '/usr/local/opnsense/scripts/qfeeds/qfeedsctl.py logs ' returned non-zero exit status 1.

I rebooted OPNsense earlier but it hasn't helped.

Is it just me or are others seeing this issue too?
Title: Re: Q-Feeds Events - nothing shown
Post by: Seimus on May 25, 2026, 07:01:05 PM
I see the same problem with the same error message.

Looks like its broken.

Regards,
S.
Title: Re: Q-Feeds Events - nothing shown
Post by: Q-Feeds on June 02, 2026, 02:07:59 PM
hmm that's not the way it's intended.. We'll create a Github Issue for it.
Title: Re: Q-Feeds Events - nothing shown
Post by: Q-Feeds on June 02, 2026, 03:07:57 PM
https://github.com/opnsense/plugins/issues/5474  (https://github.com/opnsense/plugins/issues/5474)
Title: Re: Q-Feeds Events - nothing shown
Post by: Q-Feeds on June 02, 2026, 07:24:57 PM
can someone with these problems share the output of this command?

/usr/local/opnsense/scripts/qfeeds/qfeedsctl.py logs
Title: Re: Q-Feeds Events - nothing shown
Post by: lmoore on June 02, 2026, 08:18:56 PM
Quote from: Q-Feeds on June 02, 2026, 07:24:57 PMcan someone with these problems share the output of this command?

/usr/local/opnsense/scripts/qfeeds/qfeedsctl.py logs

Since updating to OPNsense 26.1.9, the Events tab now shows events.

I've included a sanitised partial extract from the command.
Title: Re: Q-Feeds Events - nothing shown
Post by: lmoore on July 30, 2026, 07:44:38 AM
Having read in another post that someone can't see Events since upgrading, I thought I would check mine.

I am still on 26.1.11_6 and the problem has returned.

Here is the output from the command:
/usr/local/opnsense/scripts/qfeeds/qfeedsctl.py logs
Traceback (most recent call last):
  File "/usr/local/opnsense/scripts/qfeeds/qfeedsctl.py", line 65, in <module>
    for msg in getattr(actions, action)():
               ~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/local/opnsense/scripts/qfeeds/lib/__init__.py", line 219, in logs
    yield ujson.dumps({'rows': PFLogCrawler(feeds).find()})
                               ~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/local/opnsense/scripts/qfeeds/lib/log.py", line 82, in find
    lline = self._parse_log_line(line)
  File "/usr/local/opnsense/scripts/qfeeds/lib/log.py", line 64, in _parse_log_line
    if fw_line[6] == 'pass':
       ~~~~~~~^^^
IndexError: list index out of range
Title: Re: Q-Feeds Events - nothing shown
Post by: lmoore on July 30, 2026, 08:01:06 AM
Quote from: Q-Feeds on June 02, 2026, 07:24:57 PMcan someone with these problems share the output of this command?

/usr/local/opnsense/scripts/qfeeds/qfeedsctl.py logs

https://forum.opnsense.org/index.php?msg=271988
Title: Re: [SOLVED] Q-Feeds Events - nothing shown
Post by: lmoore on August 07, 2026, 12:49:18 PM
After updating from 26.1.11_10 to 26.7.1_1, the Events are now shown.
Title: Re: [SOLVED] Q-Feeds Events - nothing shown
Post by: Q-Feeds on August 07, 2026, 01:44:24 PM
Sorry we picked up this problem via our support system where this problem was logged as well. Glad the fix worked!