ImportError: /usr/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/dist-packages/celery/app/trace.py", line 479, in trace_task
R = retval = fun(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/celery/app/trace.py", line 779, in __protected_call__
return self.run(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/backend/app/tasks/celery_tasks/document_tasks.py", line 211, in process_file_upload_task
loop.run_until_complete(
File "/usr/lib/python3.12/asyncio/base_events.py", line 691, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/app/backend/app/tasks/celery_tasks/document_tasks.py", line 240, in _process_file_upload
await process_file_in_background(
File "/app/backend/app/tasks/document_processors/file_processors.py", line 997, in process_file_in_background
result = await docling_service.process_document(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/backend/app/services/docling_service.py", line 187, in process_document
raise RuntimeError(f"Docling processing failed: {e}") from e
RuntimeError: Docling processing failed: /usr/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0)
Bug Description
All in one container reports GLIBC_2.38 not found when importing cv2
Deployment Type
Steps to Reproduce
run the container, upload a pdf to documents
Expected Behavior
document is parsed
Actual Behavior
parsing fails
Screenshots/Videos
see above
Environment Information
Ubuntu 24.04
Additional Environment Details (for Self-hosted only)
Additional Context
None
Logs/Error Messages
Checklist