issues from Oracle linux client to Ubuntu 22.04 Server - IndexError: list index out of range
Moorning When i try to launch the script on client: patchman-client -v Server side i have this error:
DEV [root@server-side ]$ [2024-03-06 02:46:10,560: INFO/MainProcess] Task reports.tasks.process_report[0ea1c718-6e66-4f01-a518-3277fcaedacc] received
[2024-03-06 02:46:10,655: ERROR/ForkPoolWorker-4] Task reports.tasks.process_report[0ea1c718-6e66-4f01-a518-3277fcaedacc] raised unexpected: IndexError('list index out of range') Traceback (most recent call last): File "/usr/lib/python3/dist-packages/celery/app/trace.py", line 451, in trace_task R = retval = fun(*args, **kwargs) File "/usr/lib/python3/dist-packages/celery/app/trace.py", line 734, in protected_call return self.run(*args, **kwargs) File "/usr/lib/python3/dist-packages/reports/tasks.py", line 29, in process_report report.process(verbose=True) File "/usr/lib/python3/dist-packages/reports/models.py", line 171, in process process_modules(report=self, host=host) File "/usr/lib/python3/dist-packages/reports/utils.py", line 80, in process_modules module = process_module(module_str) File "/usr/lib/python3/dist-packages/reports/utils.py", line 322, in process_module m_version = module_str[2] IndexError: list index out of range
I have server side Ubuntu 22.04 and the client side is Oracle linux 8.9
Patchman and patchman client are 3.0.8 on both server
Please could you help me
other error i have when i lauch patchman-client -s http://172.31../patchman/
sed: -e expression #1, char 15: unterminated `s' command
Then the command end normally
Seeing something similar using mysql backend:
Processing Reports for all Hosts
Reverse DNS check disabled
Traceback (most recent call last): 0%| |ETA: --:--:--
File "/opt/patchman/bin/patchman", line 705, in
I have postgresql installed My configuration is postgresql 15 Patchman server is Ubuntu 22.04 with pitchman 3.0.8
I have problem with Oracle linux and also Red hat 8
If you could help me to solve
Giovanni
I was able to get this to work by using the older 3.7 version of patchman-client.
Ok I could use the old version if you are able to solve
I change my configuration but i have yet the same problem with the old version of patchman-client
Same problem and i have used mysql database
Giovanni
I have the same problem on Debian 12.5 (Patchman Core) - but only after added an additional host based on AlmaLinux (Client) - as far as I saw the report is much bigger than of our other servers (Clients). Maybe there's the reason, would explain the error message.
Can you try commit 0404e57c8fc61ce33a88c3ccd7b672a08cdf1083 in PR #594 ? This should fix it but I want to confirm first.
Hello, Not sure this the right channel apologies if not. Is there way to the patchman server send patching report by email on security updates only please?
Kind regards, Fuad
On Sun, 23 Jun 2024, 22:20 Marcus Furlong, @.***> wrote:
Closed #563 https://github.com/furlongm/patchman/issues/563 as completed via #594 https://github.com/furlongm/patchman/pull/594.
— Reply to this email directly, view it on GitHub https://github.com/furlongm/patchman/issues/563#event-13258234849, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF24KYPJD4E6BA6JXMQQXM3ZI433VAVCNFSM6AAAAABI7OFQMCVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTGI2TQMRTGQ4DIOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>