romm icon indicating copy to clipboard operation
romm copied to clipboard

[Bug] Scan already in progress, ignoring request

Open MadMullins opened this issue 3 months ago • 3 comments

RomM version 5.1.0

Describe the bug When trying to perform any kind of scan, an error message appears that says "Scan failed: A scan is already in progress" In the logs: "Scan already in progress, ignoring request" Waiting any amount of time shows no scan progress in the logs.

To Reproduce Perform any form of scan with any variation of selected options.

Expected behavior A new scan is performed.

Screenshots If applicable, add screenshots to help explain your problem.

Server (please complete the following information):

  • OS: Linux Mint 22.3.
  • Running via Docker Compose
  • Romm version 5.1.0

Client (please complete the following information):

  • Device: PC
  • OS: Linux Mint
  • Browser Zen Browser 1.21.10b

MadMullins avatar Aug 10 '26 23:08 MadMullins

I'm reproducing the same issue

florianduros avatar Aug 11 '26 15:08 florianduros

I have the same issue. My info:

Server:

OS: TrueNAS Community Edition 25.10.5 - Goldeye Running as TrueNAS app version: 1.2.32 Romm version 5.1.0

Client:

Device: PC OS: Bazzite Browser: Vivaldi 8.1.4087.62

EDIT:

I disabled filesystem watcher and enabled scheduled scans instead, and now when trying to scan manually the error I get is "Scan failed: You are not authorized to run scans". This is done from the admin account, which should have all the permissions.

When disabling both filesystem watcher and scheduled scans, manual scans work.

greyluked avatar Aug 12 '26 18:08 greyluked

same problem for me to.

Update: Problem solved. It was a corruption in the Redis Database for romm Need to delete the corrupted jobs in the database.

This was in the logs from romm, which hinted me to redis.

`WARNING: [RomM][init][2026-08-21 22:28:09] rq_scheduler exited unexpectedly, restarting it INFO: [RomM][init][2026-08-21 22:28:09] Starting RQ scheduler 22:28:10 Registering birth 22:28:14 Registering death Traceback (most recent call last): File "/src/.venv/lib/python3.13/site-packages/rq/job.py", line 575, in _deserialize_data self._func_name, self._instance, self._args, self._kwargs = self.serializer.loads(self.data) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/usr/local/lib/python3.13/enum.py", line 727, in call return cls.new(cls, value) ~~~~~~~~~~~^^^^^^^^^^^^ File "/usr/local/lib/python3.13/enum.py", line 1204, in new raise ve_exc ValueError: 'unidentified' is not a valid ScanType

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/src/.venv/bin/rqscheduler", line 10, in sys.exit(main()) ~~~~^^ File "/src/.venv/lib/python3.13/site-packages/rq_scheduler/scripts/rqscheduler.py", line 68, in main scheduler.run(burst=args.burst) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ File "/src/.venv/lib/python3.13/site-packages/rq_scheduler/scheduler.py", line 481, in run self.enqueue_jobs() ~~~~~~~~~~~~~~~~~^^ File "/src/.venv/lib/python3.13/site-packages/rq_scheduler/scheduler.py", line 452, in enqueue_jobs self.enqueue_job(job) ~~~~~~~~~~~~~~~~^^^^^ File "/src/.venv/lib/python3.13/site-packages/rq_scheduler/scheduler.py", line 413, in enqueue_job self.log.debug('Pushing {0}({1}) to {2}'.format(job.func_name, job.id, job.origin)) ^^^^^^^^^^^^^ File "/src/.venv/lib/python3.13/site-packages/rq/job.py", line 609, in func_name self._deserialize_data() ~~~~~~~~~~~~~~~~~~~~~~^^ File "/src/.venv/lib/python3.13/site-packages/rq/job.py", line 577, in _deserialize_data raise DeserializationError() from e rq.exceptions.DeserializationError WARNING: [RomM][init][2026-08-21 22:28:19] rq_scheduler exited unexpectedly, restarting it INFO: [RomM][init][2026-08-21 22:28:19] Starting RQ scheduler`

Mernst1 avatar Aug 15 '26 19:08 Mernst1