Docker-Compose Error

When things doesn't work as they should.
Post Reply
FlightdeckRob
Posts: 11
Joined: Wed Oct 03, 2018 3:54 pm

Docker-Compose Error

Post by FlightdeckRob » Tue Nov 20, 2018 5:52 pm

Hi,

I'm getting the following errors in the docker-compose up command:

mayan-edms-app | 2018-11-20 17:39:53,901 INFO spawned: 'redis' with pid 68
mayan-edms-app | 2018-11-20 17:39:53,907 INFO exited: redis (exit status 0; not expected)
mayan-edms-app | 2018-11-20 17:39:56,913 INFO spawned: 'redis' with pid 69
mayan-edms-app | 2018-11-20 17:39:56,920 INFO exited: redis (exit status 0; not expected)
mayan-edms-app | 2018-11-20 17:39:57,921 INFO gave up: redis entered FATAL state, too many start retries too quickly

Looks like something important but doesn't seem to affect the running of the software so I'm a little confused. Should I be worried?
The only thing I changed was to add a docker network to each container in the compose file (and that works).

Thanks,

Rob

FlightdeckRob
Posts: 11
Joined: Wed Oct 03, 2018 3:54 pm

Re: Docker-Compose Error

Post by FlightdeckRob » Tue Nov 20, 2018 6:06 pm

As a follow up I uploaded some files and found the following:

Code: Select all

mayan-edms-broker | 2018-11-20 17:49:14.038 [info] <0.826.0> accepting AMQP connection <0.826.0> (172.18.0.5:50504 -> 172.18.0.4:5672)
mayan-edms-broker | 2018-11-20 17:49:14.041 [info] <0.826.0> connection <0.826.0> (172.18.0.5:50504 -> 172.18.0.4:5672): user 'mayan' authenticated and granted access to vhost 'mayan'
mayan-edms-broker | 2018-11-20 17:49:14.055 [info] <0.837.0> accepting AMQP connection <0.837.0> (172.18.0.5:50506 -> 172.18.0.4:5672)
mayan-edms-broker | 2018-11-20 17:49:14.058 [info] <0.837.0> connection <0.837.0> (172.18.0.5:50506 -> 172.18.0.4:5672): user 'mayan' authenticated and granted access to vhost 'mayan'
mayan-edms-broker | 2018-11-20 17:49:14.072 [info] <0.848.0> accepting AMQP connection <0.848.0> (172.18.0.5:50508 -> 172.18.0.4:5672)
mayan-edms-broker | 2018-11-20 17:49:14.074 [info] <0.848.0> connection <0.848.0> (172.18.0.5:50508 -> 172.18.0.4:5672): user 'mayan' authenticated and granted access to vhost 'mayan'
mayan-edms-app | 2018-11-20 17:49:14,910 INFO reaped unknown pid 106
mayan-edms-app | 2018-11-20 17:49:16,957 INFO reaped unknown pid 171
mayan-edms-broker | 2018-11-20 17:49:17.878 [info] <0.863.0> accepting AMQP connection <0.863.0> (172.18.0.5:50514 -> 172.18.0.4:5672)
mayan-edms-broker | 2018-11-20 17:49:17.880 [info] <0.863.0> connection <0.863.0> (172.18.0.5:50514 -> 172.18.0.4:5672): user 'mayan' authenticated and granted access to vhost 'mayan'
mayan-edms-app | documents.models <65> [ERROR] "get_intermidiate_file() line 543 Error creating intermediate file "document-version-1039e7cf-d80a-4693-b90c-bc20ac4cd71f-1"; [Errno 2] No such file or directory: u'/var/lib/mayan/document_cache/document-version-1039e7cf-d80a-4693-b90c-bc20ac4cd71f-1'."
mayan-edms-app | [2018-11-20 17:49:17,941: ERROR/Worker-1] Error creating intermediate file "document-version-1039e7cf-d80a-4693-b90c-bc20ac4cd71f-1"; [Errno 2] No such file or directory: u'/var/lib/mayan/document_cache/document-version-1039e7cf-d80a-4693-b90c-bc20ac4cd71f-1'.
mayan-edms-app | documents.models <65> [ERROR] "get_image() line 970 Error creating page cache file "page-cache-1039e7cf-d80a-4693-b90c-bc20ac4cd71f-1-1"; [Errno 2] No such file or directory: u'/var/lib/mayan/document_cache/document-version-1039e7cf-d80a-4693-b90c-bc20ac4cd71f-1'"
mayan-edms-app | [2018-11-20 17:49:17,942: ERROR/Worker-1] Error creating page cache file "page-cache-1039e7cf-d80a-4693-b90c-bc20ac4cd71f-1-1"; [Errno 2] No such file or directory: u'/var/lib/mayan/document_cache/document-version-1039e7cf-d80a-4693-b90c-bc20ac4cd71f-1'
mayan-edms-app | [2018-11-20 17:49:17,950: ERROR/MainProcess] Task documents.tasks.task_generate_document_page_image[7f22ea60-7dcd-4044-9dc1-2f1bc0e53094] raised unexpected: IOError(2, 'No such file or directory')
mayan-edms-app | Traceback (most recent call last):
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task
mayan-edms-app |     R = retval = fun(*args, **kwargs)
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/celery/app/trace.py", line 438, in __protected_call__
mayan-edms-app |     return self.run(*args, **kwargs)
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/documents/tasks.py", line 86, in task_generate_document_page_image
mayan-edms-app |     return document_page.generate_image(*args, **kwargs)
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/documents/models.py", line 851, in generate_image
mayan-edms-app |     image = self.get_image(transformations=transformation_list)
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/documents/models.py", line 953, in get_image
mayan-edms-app |     file_object=self.document_version.get_intermidiate_file()
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/documents/models.py", line 532, in get_intermidiate_file
mayan-edms-app |     with storage_documentimagecache.open(cache_filename, mode='wb+') as file_object:
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/django/core/files/storage.py", line 38, in open
mayan-edms-app |     return self._open(name, mode)
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/django/core/files/storage.py", line 300, in _open
mayan-edms-app |     return File(open(self.path(name), mode))
mayan-edms-app | IOError: [Errno 2] No such file or directory: u'/var/lib/mayan/document_cache/document-version-1039e7cf-d80a-4693-b90c-bc20ac4cd71f-1'
mayan-edms-app | ocr.managers <66> [ERROR] "process_document_version() line 66 OCR error for document version: 1; [Errno 2] No such file or directory: u'/var/lib/mayan/document_cache/document-version-1039e7cf-d80a-4693-b90c-bc20ac4cd71f-1'"
mayan-edms-app | [2018-11-20 17:49:18,402: ERROR/Worker-1] OCR error for document version: 1; [Errno 2] No such file or directory: u'/var/lib/mayan/document_cache/document-version-1039e7cf-d80a-4693-b90c-bc20ac4cd71f-1'
mayan-edms-app | 2018-11-20 17:49:18,434 INFO reaped unknown pid 221
mayan-edms-app | 2018-11-20 17:49:28,126 INFO reaped unknown pid 285
mayan-edms-app | 2018-11-20 17:49:30,267 INFO reaped unknown pid 325
mayan-edms-app | 2018-11-20 17:49:32,620 INFO reaped unknown pid 366
Again, it seems to work so I'm not sure if this is an issues or not.

Thanks,

Rob

Post Reply