4.5.2: Random mayan.apps.lock_manager.exceptions.LockError
Continuing from #1154 (closed):
I retitled #1154 (closed), because the title obviously was incorrect (the error has no relation to webform upload, but appears randomly without interaction with the running application). I was told to rather create a new issue, so here we go with a more appropriate title. The app is unresponsive after the error and the docker container has to be restarted.
The traceback is very much the same:
[2023-09-30 20:20:37 +0000] [6039] [INFO] Autorestarting worker after current request.,
[2023-09-30 20:20:37 +0000] [6039] [INFO] Worker exiting (pid: 6039),
[2023-09-30 20:20:38 +0000] [6059] [INFO] Booting worker with pid: 6059,
[2023-09-30 20:20:46 +0000] [6059] [ERROR] Exception in worker process,
Traceback (most recent call last):,
File "/opt/mayan-edms/lib/python3.11/site-packages/mayan/apps/lock_manager/apps.py", line 30, in ready,
lock = lock_instance.acquire_lock(,
^^^^^^^^^^^^^^^^^^^^^^^^^^^,
File "/opt/mayan-edms/lib/python3.11/site-packages/mayan/apps/lock_manager/backends/base.py", line 32, in acquire_lock,
return cls._acquire_lock(name=name, timeout=timeout),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^,
File "/opt/mayan-edms/lib/python3.11/site-packages/mayan/apps/lock_manager/backends/redis_lock.py", line 18, in _acquire_lock,
return RedisLock(name=name, timeout=timeout),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^,
File "/opt/mayan-edms/lib/python3.11/site-packages/mayan/apps/lock_manager/backends/base.py", line 48, in __init__,
return self._init(*args, **kwargs),
^^^^^^^^^^^^^^^^^^^^^^^^^^^,
File "/opt/mayan-edms/lib/python3.11/site-packages/mayan/apps/lock_manager/backends/redis_lock.py", line 73, in _init,
raise LockError,
mayan.apps.lock_manager.exceptions.LockError,
,
The above exception was the direct cause of the following exception:,
,