I have been using Mayan EDMS for more then year without any issues, but since 3.3.9 upgrade I start having many image issues. First I lost my hi-res previews, next I lost some of my thumbnail and finally I don't have any images any more.
Currently, I am running 3.3.11 Docker install. My backend is Docker: postgres:9.6-alpine and redis:5.0-alpine. In my log see this error and traceback:
Code: Select all
mayan.apps.common.middleware.error_logging <241> [ERROR] "process_exception() line 18 [31;1mException caught by request middleware; <WSGIRequest: GET '/api/documents/646/versions/663/pages/9324/image/?width=&height=&zoom=100&rotation=0&_hash=92bcac02c4a72586e21044c0b244b052f5747c7d2c25e6086ca89ca64098e3f3'>, The operation timed out.[0m"
Traceback (most recent call last):
File "/opt/mayan-edms/lib/python3.7/site-packages/celery/backends/asynchronous.py", line 255, in _wait_for_pending
on_interval=on_interval):
File "/opt/mayan-edms/lib/python3.7/site-packages/celery/backends/asynchronous.py", line 54, in drain_events_until
raise socket.timeout()
socket.timeout
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/mayan-edms/lib/python3.7/site-packages/django/core/handlers/base.py", line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/opt/mayan-edms/lib/python3.7/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view
return view_func(*args, **kwargs)
File "/opt/mayan-edms/lib/python3.7/site-packages/django/views/generic/base.py", line 68, in view
return self.dispatch(request, *args, **kwargs)
File "/opt/mayan-edms/lib/python3.7/site-packages/rest_framework/views.py", line 494, in dispatch
response = self.handle_exception(exc)
File "/opt/mayan-edms/lib/python3.7/site-packages/rest_framework/views.py", line 454, in handle_exception
self.raise_uncaught_exception(exc)
File "/opt/mayan-edms/lib/python3.7/site-packages/rest_framework/views.py", line 491, in dispatch
response = handler(request, *args, **kwargs)
File "/opt/mayan-edms/lib/python3.7/site-packages/rest_framework/generics.py", line 210, in get
return self.retrieve(request, *args, **kwargs)
File "/opt/mayan-edms/lib/python3.7/site-packages/django/views/decorators/cache.py", line 43, in _cache_controlled
response = viewfunc(request, *args, **kw)
File "/opt/mayan-edms/lib/python3.7/site-packages/mayan/apps/documents/api_views.py", line 221, in retrieve
cache_filename = task.get(timeout=DOCUMENT_IMAGE_TASK_TIMEOUT)
File "/opt/mayan-edms/lib/python3.7/site-packages/celery/result.py", line 226, in get
on_message=on_message,
File "/opt/mayan-edms/lib/python3.7/site-packages/celery/backends/asynchronous.py", line 188, in wait_for_pending
for _ in self._wait_for_pending(result, **kwargs):
File "/opt/mayan-edms/lib/python3.7/site-packages/celery/backends/asynchronous.py", line 259, in _wait_for_pending
raise TimeoutError('The operation timed out.')
celery.exceptions.TimeoutError: The operation timed out.
Thank you.