Docker Errors

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

Docker Errors

Post by FlightdeckRob » Thu Dec 13, 2018 5:18 pm

Hi all,

I'm using the docker-compose.yml file from the gitlab page with the addition of a docker network and on startup I get the following error:

Code: Select all

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
Everything seems to run ok through the web interface but after a while of running I start to see the following errors showing up:

Code: Select all

mayan-edms-broker | 2018-12-13 15:36:24.531 [info] <0.687.0> accepting AMQP connection <0.687.0> (172.18.0.5:42616 -> 172.18.0.4:5672)
mayan-edms-broker | 2018-12-13 15:36:24.533 [info] <0.687.0> connection <0.687.0> (172.18.0.5:42616 -> 172.18.0.4:5672): user 'mayan' authenticated and granted access to vhost 'mayan'
mayan-edms-broker | 2018-12-13 15:36:26.626 [info] <0.698.0> accepting AMQP connection <0.698.0> (172.18.0.5:42620 -> 172.18.0.4:5672)
mayan-edms-broker | 2018-12-13 15:36:26.628 [info] <0.698.0> connection <0.698.0> (172.18.0.5:42620 -> 172.18.0.4:5672): user 'mayan' authenticated and granted access to vhost 'mayan'
mayan-edms-app | [2018-12-13 16:00:00,039: ERROR/MainProcess] Task mayan_statistics.tasks.task_execute_statistic[d62feaba-1002-49df-9c8e-3e4eec67e758] raised unexpected: IndexError('list index out of range',)
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/mayan_statistics/tasks.py", line 16, in task_execute_statistic
mayan-edms-app |     Statistic.get(slug=slug).execute()
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/mayan_statistics/classes.py", line 120, in execute
mayan-edms-app |     self.store_results(results=self.func())
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/documents/statistics.py", line 146, in total_document_per_month
mayan-edms-app |     ): qss.until(datetime.date(year, next_month, 1))
mayan-edms-app | IndexError: list index out of range
mayan-edms-app | [2018-12-13 16:00:00,058: ERROR/MainProcess] Task mayan_statistics.tasks.task_execute_statistic[89488938-21c6-457c-8a40-26902913626b] raised unexpected: IndexError('list index out of range',)
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/mayan_statistics/tasks.py", line 16, in task_execute_statistic
mayan-edms-app |     Statistic.get(slug=slug).execute()
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/mayan_statistics/classes.py", line 120, in execute
mayan-edms-app |     self.store_results(results=self.func())
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/documents/statistics.py", line 183, in total_document_version_per_month
mayan-edms-app |     ): qss.until(datetime.date(year, next_month, 1))
mayan-edms-app | IndexError: list index out of range
mayan-edms-app | [2018-12-13 16:00:00,065: ERROR/MainProcess] Task mayan_statistics.tasks.task_execute_statistic[7847df29-6ae3-49f5-9577-fa216f93f22b] raised unexpected: IndexError('list index out of range',)
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/mayan_statistics/tasks.py", line 16, in task_execute_statistic
mayan-edms-app |     Statistic.get(slug=slug).execute()
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/mayan_statistics/classes.py", line 120, in execute
mayan-edms-app |     self.store_results(results=self.func())
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/documents/statistics.py", line 34, in new_documents_per_month
mayan-edms-app |     qss.time_series(start=this_year, end=today, interval='months')
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/documents/statistics.py", line 33, in <lambda>
mayan-edms-app |     lambda x: {force_text(MONTH_NAMES[x[0].month]): x[1]},
mayan-edms-app | IndexError: list index out of range
mayan-edms-db | 2018-12-13 16:00:00.067 UTC [145] ERROR:  column "document__date_added" does not exist at character 29
mayan-edms-db | 2018-12-13 16:00:00.067 UTC [145] STATEMENT:  SELECT (date_trunc('month', document__date_added)) AS "d", COUNT("documents_documentversion"."id") AS "agg" FROM "documents_documentversion" INNER JOIN "documents_document" ON ("documents_documentversion"."document_id" = "documents_document"."id") WHERE "documents_document"."date_added" BETWEEN '2018-01-01T00:00:00+00:00'::timestamptz AND '2018-12-31T23:59:59.999999+00:00'::timestamptz GROUP BY (date_trunc('month', document__date_added))
mayan-edms-app | [2018-12-13 16:00:00,087: ERROR/MainProcess] Task mayan_statistics.tasks.task_execute_statistic[27dffb20-53ba-4d6c-ace8-e6acfb586ea4] raised unexpected: IndexError('list index out of range',)
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/mayan_statistics/tasks.py", line 16, in task_execute_statistic
mayan-edms-app |     Statistic.get(slug=slug).execute()
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/mayan_statistics/classes.py", line 120, in execute
mayan-edms-app |     self.store_results(results=self.func())
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/documents/statistics.py", line 96, in new_document_versions_per_month
mayan-edms-app |     qss.time_series(start=this_year, end=today, interval='months')
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/documents/statistics.py", line 95, in <lambda>
mayan-edms-app |     lambda x: {force_text(MONTH_NAMES[x[0].month]): x[1]},
mayan-edms-app | IndexError: list index out of range
mayan-edms-db | 2018-12-13 16:00:00.090 UTC [145] ERROR:  column "document_version__document__date_added" does not exist at character 29
mayan-edms-db | 2018-12-13 16:00:00.090 UTC [145] STATEMENT:  SELECT (date_trunc('month', document_version__document__date_added)) AS "d", COUNT("documents_documentpage"."id") AS "agg" FROM "documents_documentpage" INNER JOIN "documents_documentversion" ON ("documents_documentpage"."document_version_id" = "documents_documentversion"."id") INNER JOIN "documents_document" ON ("documents_documentversion"."document_id" = "documents_document"."id") WHERE "documents_document"."date_added" BETWEEN '2018-01-01T00:00:00+00:00'::timestamptz AND '2018-12-31T23:59:59.999999+00:00'::timestamptz GROUP BY (date_trunc('month', document_version__document__date_added))
mayan-edms-app | [2018-12-13 16:00:00,114: ERROR/MainProcess] Task mayan_statistics.tasks.task_execute_statistic[9faa8784-65b1-4246-ace2-e4e1dec3435e] raised unexpected: IndexError('list index out of range',)
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/mayan_statistics/tasks.py", line 16, in task_execute_statistic
mayan-edms-app |     Statistic.get(slug=slug).execute()
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/mayan_statistics/classes.py", line 120, in execute
mayan-edms-app |     self.store_results(results=self.func())
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/documents/statistics.py", line 56, in new_document_pages_per_month
mayan-edms-app |     qss.time_series(start=this_year, end=today, interval='months')
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/documents/statistics.py", line 55, in <lambda>
mayan-edms-app |     lambda x: {force_text(MONTH_NAMES[x[0].month]): x[1]},
mayan-edms-app | IndexError: list index out of range
mayan-edms-app | [2018-12-13 16:00:00,139: ERROR/MainProcess] Task mayan_statistics.tasks.task_execute_statistic[71de9229-835f-43fb-84ef-418fa2cb61cd] raised unexpected: IndexError('list index out of range',)
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/mayan_statistics/tasks.py", line 16, in task_execute_statistic
mayan-edms-app |     Statistic.get(slug=slug).execute()
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/mayan_statistics/classes.py", line 120, in execute
mayan-edms-app |     self.store_results(results=self.func())
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/documents/statistics.py", line 220, in total_document_page_per_month
mayan-edms-app |     ): qss.until(datetime.date(year, next_month, 1))
mayan-edms-app | IndexError: list index out of range
mayan-edms-results | 1:M 13 Dec 2018 16:33:57.040 * 1 changes in 3600 seconds. Saving...
mayan-edms-results | 1:M 13 Dec 2018 16:33:57.041 * Background saving started by pid 1232
mayan-edms-results | 1232:C 13 Dec 2018 16:33:57.106 * DB saved on disk
mayan-edms-results | 1232:C 13 Dec 2018 16:33:57.107 * RDB: 0 MB of memory used by copy-on-write
mayan-edms-results | 1:M 13 Dec 2018 16:33:57.141 * Background saving terminated with success
mayan-edms-db | 2018-12-13 16:43:53.157 UTC [3755] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:43:53.184 UTC [3756] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:43:53.187 UTC [3757] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:43:53.189 UTC [3758] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:43:53.192 UTC [3759] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:43:53.194 UTC [3760] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:43:53.198 UTC [3761] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:43:54.537 UTC [3782] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:43:55.154 UTC [3783] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:43:55.176 UTC [3784] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:43:55.178 UTC [3785] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:43:55.181 UTC [3786] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:43:55.183 UTC [3787] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:43:55.185 UTC [3788] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:43:55.189 UTC [3789] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:43:59.156 UTC [3790] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:43:59.178 UTC [3791] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:43:59.180 UTC [3792] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:43:59.182 UTC [3793] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:43:59.184 UTC [3794] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:43:59.187 UTC [3795] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:43:59.191 UTC [3796] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:44:01.156 UTC [3798] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:44:01.193 UTC [3799] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:44:01.196 UTC [3800] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:44:01.198 UTC [3801] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:44:01.200 UTC [3802] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:44:01.202 UTC [3803] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:44:01.206 UTC [3804] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:52:53.146 UTC [4245] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:52:53.172 UTC [4246] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:57:23.148 UTC [4481] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:57:23.174 UTC [4482] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:57:23.177 UTC [4483] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:57:23.179 UTC [4484] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:57:23.181 UTC [4485] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:57:23.183 UTC [4486] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:57:23.187 UTC [4487] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 16:59:53.140 UTC [4615] FATAL:  sorry, too many clients already
mayan-edms-app | [2018-12-13 17:00:00,030: ERROR/MainProcess] Task mayan_statistics.tasks.task_execute_statistic[bebbe0aa-92f0-4b72-8c33-353804d7c59d] raised unexpected: IndexError('list index out of range',)
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/mayan_statistics/tasks.py", line 16, in task_execute_statistic
mayan-edms-app |     Statistic.get(slug=slug).execute()
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/mayan_statistics/classes.py", line 120, in execute
mayan-edms-app |     self.store_results(results=self.func())
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/documents/statistics.py", line 146, in total_document_per_month
mayan-edms-app |     ): qss.until(datetime.date(year, next_month, 1))
mayan-edms-app | IndexError: list index out of range
mayan-edms-app | [2018-12-13 17:00:00,047: ERROR/MainProcess] Task mayan_statistics.tasks.task_execute_statistic[3e6aaf68-b990-44d8-a4ff-30f533856bf0] raised unexpected: IndexError('list index out of range',)
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/mayan_statistics/tasks.py", line 16, in task_execute_statistic
mayan-edms-app |     Statistic.get(slug=slug).execute()
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/mayan_statistics/classes.py", line 120, in execute
mayan-edms-app |     self.store_results(results=self.func())
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/documents/statistics.py", line 183, in total_document_version_per_month
mayan-edms-app |     ): qss.until(datetime.date(year, next_month, 1))
mayan-edms-app | IndexError: list index out of range
mayan-edms-app | [2018-12-13 17:00:00,052: ERROR/MainProcess] Task mayan_statistics.tasks.task_execute_statistic[b8ee092c-b7f7-4d50-9a57-805c77af187b] raised unexpected: IndexError('list index out of range',)
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/mayan_statistics/tasks.py", line 16, in task_execute_statistic
mayan-edms-app |     Statistic.get(slug=slug).execute()
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/mayan_statistics/classes.py", line 120, in execute
mayan-edms-app |     self.store_results(results=self.func())
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/documents/statistics.py", line 34, in new_documents_per_month
mayan-edms-app |     qss.time_series(start=this_year, end=today, interval='months')
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/documents/statistics.py", line 33, in <lambda>
mayan-edms-app |     lambda x: {force_text(MONTH_NAMES[x[0].month]): x[1]},
mayan-edms-app | IndexError: list index out of range
mayan-edms-db | 2018-12-13 17:00:00.054 UTC [145] ERROR:  column "document__date_added" does not exist at character 29
mayan-edms-db | 2018-12-13 17:00:00.054 UTC [145] STATEMENT:  SELECT (date_trunc('month', document__date_added)) AS "d", COUNT("documents_documentversion"."id") AS "agg" FROM "documents_documentversion" INNER JOIN "documents_document" ON ("documents_documentversion"."document_id" = "documents_document"."id") WHERE "documents_document"."date_added" BETWEEN '2018-01-01T00:00:00+00:00'::timestamptz AND '2018-12-31T23:59:59.999999+00:00'::timestamptz GROUP BY (date_trunc('month', document__date_added))
mayan-edms-app | [2018-12-13 17:00:00,071: ERROR/MainProcess] Task mayan_statistics.tasks.task_execute_statistic[bd4d0743-4869-4e45-8841-eb4ac804cdfe] raised unexpected: IndexError('list index out of range',)
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/mayan_statistics/tasks.py", line 16, in task_execute_statistic
mayan-edms-app |     Statistic.get(slug=slug).execute()
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/mayan_statistics/classes.py", line 120, in execute
mayan-edms-app |     self.store_results(results=self.func())
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/documents/statistics.py", line 96, in new_document_versions_per_month
mayan-edms-app |     qss.time_series(start=this_year, end=today, interval='months')
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/documents/statistics.py", line 95, in <lambda>
mayan-edms-app |     lambda x: {force_text(MONTH_NAMES[x[0].month]): x[1]},
mayan-edms-app | IndexError: list index out of range
mayan-edms-db | 2018-12-13 17:00:00.074 UTC [145] ERROR:  column "document_version__document__date_added" does not exist at character 29
mayan-edms-db | 2018-12-13 17:00:00.074 UTC [145] STATEMENT:  SELECT (date_trunc('month', document_version__document__date_added)) AS "d", COUNT("documents_documentpage"."id") AS "agg" FROM "documents_documentpage" INNER JOIN "documents_documentversion" ON ("documents_documentpage"."document_version_id" = "documents_documentversion"."id") INNER JOIN "documents_document" ON ("documents_documentversion"."document_id" = "documents_document"."id") WHERE "documents_document"."date_added" BETWEEN '2018-01-01T00:00:00+00:00'::timestamptz AND '2018-12-31T23:59:59.999999+00:00'::timestamptz GROUP BY (date_trunc('month', document_version__document__date_added))
mayan-edms-app | [2018-12-13 17:00:00,098: ERROR/MainProcess] Task mayan_statistics.tasks.task_execute_statistic[362c7a49-be62-4e48-84e3-35250b35044b] raised unexpected: IndexError('list index out of range',)
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/mayan_statistics/tasks.py", line 16, in task_execute_statistic
mayan-edms-app |     Statistic.get(slug=slug).execute()
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/mayan_statistics/classes.py", line 120, in execute
mayan-edms-app |     self.store_results(results=self.func())
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/documents/statistics.py", line 56, in new_document_pages_per_month
mayan-edms-app |     qss.time_series(start=this_year, end=today, interval='months')
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/documents/statistics.py", line 55, in <lambda>
mayan-edms-app |     lambda x: {force_text(MONTH_NAMES[x[0].month]): x[1]},
mayan-edms-app | IndexError: list index out of range
mayan-edms-app | [2018-12-13 17:00:00,121: ERROR/MainProcess] Task mayan_statistics.tasks.task_execute_statistic[05b14b64-0c6e-43a3-b763-a2c6ced31cca] raised unexpected: IndexError('list index out of range',)
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/mayan_statistics/tasks.py", line 16, in task_execute_statistic
mayan-edms-app |     Statistic.get(slug=slug).execute()
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/mayan_statistics/classes.py", line 120, in execute
mayan-edms-app |     self.store_results(results=self.func())
mayan-edms-app |   File "/opt/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/documents/statistics.py", line 220, in total_document_page_per_month
mayan-edms-app |     ): qss.until(datetime.date(year, next_month, 1))
mayan-edms-app | IndexError: list index out of range
mayan-edms-db | 2018-12-13 17:01:23.146 UTC [4694] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:01:23.173 UTC [4695] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:01:23.175 UTC [4696] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:01:23.177 UTC [4697] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:01:23.179 UTC [4698] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:01:23.181 UTC [4699] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:01:23.186 UTC [4700] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:01:25.144 UTC [4701] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:01:25.166 UTC [4702] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:01:25.168 UTC [4703] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:01:25.170 UTC [4704] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:01:25.173 UTC [4705] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:01:25.175 UTC [4706] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:01:25.179 UTC [4707] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:01:29.141 UTC [4708] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:01:29.166 UTC [4709] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:01:29.168 UTC [4710] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:01:29.170 UTC [4711] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:01:29.173 UTC [4712] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:01:29.175 UTC [4713] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:01:29.179 UTC [4714] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:01:31.139 UTC [4715] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:01:31.161 UTC [4716] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:01:31.163 UTC [4717] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:01:31.165 UTC [4718] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:01:31.167 UTC [4719] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:01:31.170 UTC [4720] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:01:31.174 UTC [4721] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:01:31.466 UTC [4741] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:01:35.146 UTC [4742] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:04:17.138 UTC [4873] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:04:17.161 UTC [4874] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:04:17.163 UTC [4875] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:04:17.165 UTC [4876] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:04:17.168 UTC [4877] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:04:17.170 UTC [4878] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:04:17.175 UTC [4879] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:04:19.137 UTC [4880] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:04:19.159 UTC [4881] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:04:19.161 UTC [4882] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:04:19.163 UTC [4883] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:04:19.165 UTC [4884] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:04:19.168 UTC [4885] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:04:19.172 UTC [4886] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:04:23.140 UTC [4887] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:04:23.162 UTC [4888] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:04:23.164 UTC [4889] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:04:23.166 UTC [4890] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:04:23.168 UTC [4891] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:04:23.171 UTC [4892] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:04:23.175 UTC [4893] FATAL:  sorry, too many clients already
mayan-edms-db | 2018-12-13 17:04:25.139 UTC [4894] FATAL:  sorry, too many clients already
mayan-edms-app | [2018-12-13 17:04:47 +0000] [54] [INFO] Autorestarting worker after current request.
mayan-edms-app | [2018-12-13 17:04:47 +0000] [54] [INFO] Worker exiting (pid: 54)
mayan-edms-app | [2018-12-13 17:04:47 +0000] [88] [INFO] Booting worker with pid: 88
mayan-edms-app | [2018-12-13 17:08:01 +0000] [59] [INFO] Autorestarting worker after current request.
mayan-edms-app | [2018-12-13 17:08:01 +0000] [59] [INFO] Worker exiting (pid: 59)
mayan-edms-broker | 2018-12-13 17:08:02.066 [warning] <0.665.0> closing AMQP connection <0.665.0> (172.18.0.5:42588 -> 172.18.0.4:5672, vhost: 'mayan', user: 'mayan'):
mayan-edms-broker | client unexpectedly closed TCP connection
mayan-edms-app | [2018-12-13 17:08:02 +0000] [92] [INFO] Booting worker with pid: 92

It just seems to loop around like this throwing error after error but from a user standpoint the web interface seems to work perfectly fine.

It may be related but my system doesn't show any "contents" for files other than PDF but when I tell Mayan to parse these files I don't get any errors.

I really like this system and I'm going to try to push my boss to buy a pro license (if that's still possible) in order to support it but I can't seem to figure out what's wrong and can't really push a potentially broken (probably by me) system for storing important documents for our company.

Any help would be really appreciated.

Thanks,

Rob

Post Reply