-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The SECRET_KEY setting must not be empty #19
Comments
Currently we use docker based approach for application deployment, see We had a lot of changes since we used lexpredict-contraxsuite-deploy for deployment last time. But I would recommend to use docker. |
@reddalexx : Even after taking the update of 'lexpredict-contraxsuite-deploy' using git pull, I am facing the same issue. Below is the stack trace. $ /opt/ve/bin/celery multi restart worker -A apps -B -Q serial --concurrency=1 -Ofair -l DEBUG -n beat@%h -> Fatal error: run() received nonzero return code 1 while executing! Requested: /opt/ve/bin/celery multi restart worker -A apps -B -Q serial --concurrency=1 -Ofair -l DEBUG -n beat@%h Aborting. |
That means that probably local_setting.py template wasn't transfered into destination folder. |
@reddalexx: As per your suggestion, I have tried the docker setup and followed the steps mentioned here: https://github.com/LexPredict/lexpredict-contraxsuite/tree/master/docker |
@reddalexx: Any update on the above issue? |
@SandeepKumarJoshi @reddalexx |
I ran into the same issue: Application is now up with few other issues like Email verification and Super User Account but was able to fix that. |
I am using ubuntu 16.04.
I have generated a key online for django from http://www.miniwebtool.com/django-secret-key-generator/ then input in the /opt/lexpredict-contraxsuite/contraxsuite_services/settings.py as ( SECRET_KEY = "yj6o@&vrar6^l1u68!bxugj@xr4&5)zzk!h1qw&13^&@2d3wp#") and also in /opt/lexpredict-contraxsuite-deploy/local/local_settings.py files.
after following all the steps of local machine installation setup mentioned in
https://github.com/LexPredict/lexpredict-contraxsuite/blob/master/documentation/Installation%20and%20Configuration/Quick%20Start%20Installation%20Guide%20for%20Linux.pdf
I am executing the following commad:
bash setup_local.sh | tee -a log.txt
after few steps of exection, I am getting the following error:
django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty
need help to resolve this. I don't know where I am doing mistake.
The text was updated successfully, but these errors were encountered: