Hi,

I migrated my Mayan with Docker successfully from 2.1.10 to 2.3. But it 
seems that Mayan is not reading my config file (as configured stuff is not 
working).
The file is located here: 
/var/lib/docker/volumes/mayan_data/_data/settings/local.py

It seems to have the correct file inside the container too. If I run docker 
exec -it mayan-edms cat 
/usr/local/lib/python2.7/dist-packages/mayan/media/settings/local.py I see 
the content of my config file above.

After consulting the documentation I am sure that the file is in the 
correct place and readable the container. Why is Mayan ignoring it? Or is 
the content confusing Mayan (some of the content was added by the upgrade 
so I didn't dare to remove it):
from __future__ import absolute_import

from .base import *

SECRET_KEY = 'xxx'
ALLOWED_HOSTS = ['*']

BROKER_URL = 'redis://127.0.0.1:6379/0'
CELERY_RESULT_BACKEND = 'redis://127.0.0.1:6379/0'
ALLOWED_HOSTS = ['*']

DOCUMENTS_LANGUAGE_CHOICES = (('eng', 'English'), ('deu', 'Deutsch'))
DOCUMENTS_LANGUAGE = 'deu'
MAYAN_COMMON_PAGINATE_BY=50

import os

ALLOWED_HOSTS = ['*']

BROKER_URL = 'redis://127.0.0.1:6379/0'
CELERY_RESULT_BACKEND = 'redis://127.0.0.1:6379/0'

if os.environ.get('MAYAN_USE_POSTGRES', False):
    from .postgres import DATABASES
import os

ALLOWED_HOSTS = ['*']

BROKER_URL = 'redis://127.0.0.1:6379/0'
CELERY_RESULT_BACKEND = 'redis://127.0.0.1:6379/0'

if os.environ.get('MAYAN_USE_POSTGRES', False):
    from .postgres import DATABASES
import os

ALLOWED_HOSTS = ['*']

BROKER_URL = 'redis://127.0.0.1:6379/0'
CELERY_RESULT_BACKEND = 'redis://127.0.0.1:6379/0'

if os.environ.get('MAYAN_USE_POSTGRES', False):
    from .postgres import DATABASES

Thank you in advance.

Cheers
Mirco

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to