You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running docker-compose build (after the > fixes described #14 and generating a certificate with observatory/certs/create_self_signed_cert.sh building fails in Step 11 with the following error message:
Step 11 : RUN python3 /observatory/manage.py collectstatic --noinput
---> Running in 5c940a52a138
Traceback (most recent call last):
File "/observatory/manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.4/dist-packages/django/core/management/__init__.py", line 363, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.4/dist-packages/django/core/management/__init__.py", line 307, in execute
settings.INSTALLED_APPS
File "/usr/local/lib/python3.4/dist-packages/django/conf/__init__.py", line 56, in __getattr__
self._setup(name)
File "/usr/local/lib/python3.4/dist-packages/django/conf/__init__.py", line 41, in _setup
self._wrapped = Settings(settings_module)
File "/usr/local/lib/python3.4/dist-packages/django/conf/__init__.py", line 110, in __init__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1129, in _exec
File "<frozen importlib._bootstrap>", line 1471, in exec_module
File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
File "/observatory/ctobservatory/settings.py", line 16, in <module>
from .config import *
ImportError: No module named 'ctobservatory.config'
ERROR: Service 'ctobservatory' failed to build: The command '/bin/sh -c python3 /observatory/manage.py collectstatic --noinput' returned a non-zero code: 1
As observatory/ctobservatory/config.py (I guess this is the missing file) may contain secret keys and passphrases including it in the .gitignore was probably a good idea but:
The Getting Started section in README.md should include a note that this file needs to be created prior to running docker-compose build. observatory/ctobservatory/config.py.template.py should include information what the different fields mean and how they should be filled.
The text was updated successfully, but these errors were encountered:
When running
docker-compose build
(after the > fixes described #14 and generating a certificate withobservatory/certs/create_self_signed_cert.sh
building fails in Step 11 with the following error message:As
observatory/ctobservatory/config.py
(I guess this is the missing file) may contain secret keys and passphrases including it in the.gitignore
was probably a good idea but:The
Getting Started
section inREADME.md
should include a note that this file needs to be created prior to runningdocker-compose build
.observatory/ctobservatory/config.py.template.py
should include information what the different fields mean and how they should be filled.The text was updated successfully, but these errors were encountered: