ImportError: No module named appearance [SOLVED]
Error comes when starting the container:
root# docker run -v /gt/sc-data-repos/mayan-dms/data:/var/lib/mayan -e MAYAN_DATABASE_ENGINE=django.db.backends.postgresql -e MAYAN_DATABASE_HOST=mayan-edms-postgres -e MAYAN_DATABASE_NAME=mayan -e MAYAN_DATABASE_USER=mayan -e MAYAN_DATABASE_PORT=5432 -e MAYAN_DATABASE_PASSWORD=mayanuserpass mayanedms/mayanedms:latest
Hint: the error is not there if I do not do the volume mount. Basically omit -v /gt/sc-data-repos/mayan-dms/data:/var/lib/mayan from the above command
mayan: starting entrypoint.sh
mayan: changing uid/guid
usermod: no changes
mayan: os_package_installs()
mayan: pip_installs()
mayan: upgrade()
Traceback (most recent call last):
File "/opt/mayan-edms/bin/mayan-edms.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/opt/mayan-edms/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line
utility.execute()
File "/opt/mayan-edms/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 338, in execute
django.setup()
File "/opt/mayan-edms/local/lib/python2.7/site-packages/django/__init__.py", line 27, in setup
apps.populate(settings.INSTALLED_APPS)
File "/opt/mayan-edms/local/lib/python2.7/site-packages/django/apps/registry.py", line 85, in populate
app_config = AppConfig.create(entry)
File "/opt/mayan-edms/local/lib/python2.7/site-packages/django/apps/config.py", line 94, in create
module = import_module(entry)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named appearance
Edited by Vikas Kedia