-
-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Patchman server 3.0.13 : Today's client reports are not processed #629
Comments
What OS is patchman running on? Is it running celery? Do the reports get processed eventually? |
Debian 12
No, we did not install Celery because the documentation states that it is an optional component.
Initially we deployed the server version v3.0.10. |
The changes between 3.0.10 and 3.0.13 are minimal and should have no impact: What is likely happening is that you are seeing outdated information in the web interface due to memcached. You can reduce the cache timeout or you can just disable memcached completely. See #575 (comment) for details. |
My /etc/patchman/local_settings.py config file already contains "CACHE_MIDDLEWARE_SECONDS = 30". But this does not change the situation. All today's reports are shown as unprocessed. |
Are they actually unprocessed though? Or just showing as unprocessed in the web interface? If you disable caching completely, does that fix the issue? NB you'll probably need to restart the webserver for the settings to take effect. |
How can I check this?
How to disable caching completely?
I understand that. |
or via local_settings.py:
|
|
The "CACHES = None" option does not work. This results in a 500 web server error. But after I disabled caching like this:
All client reports were processed successfully. |
The web UI is caching the DB results, so when you see unprocessed reports in the UI you are getting an (out-of-date) cached result. The reports are actually processed in the DB (you could also check there to see if they are really processed or not). |
If caching is enabled in the default configuration, then running the "patchman -a" command processes all reports except today's ones (while the "patchman -p" command indicates that there are no unprocessed reports). If caching is disabled, then all reports (including today's) are processed when executing the "patchman -a" command It turns out that with caching enabled, today's reports are simply not processed. |
|
Sorry, I wrote it wrong. I meant "patchman -p". The problem persists. |
Hello,
After updating the Patchman server to the latest version 3.0.13, we noticed one strange thing. All of today's client reports (clients send a report to the server every morning from 6 to 7 am) are not processed by the server at 7:15.
Only old reports from yesterday are displayed as processed
In the server log, we only see information about old reports that were already processed yesterday.
The text was updated successfully, but these errors were encountered: