tildaslash / RatticWeb

Password Management for Humans
http://rattic.org/
GNU General Public License v2.0
473 stars 149 forks source link

Secretkey error #439

Open parsaeian opened 8 years ago

parsaeian commented 8 years ago

Hi what is this error!? /opt/apps/RatticWeb$ ./manage.py syncdb --noinput Traceback (most recent call last): File "./manage.py", line 10, in <module> execute_from_command_line(sys.argv) File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 399, in execute_from_command_line utility.execute() File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 392, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 261, in fetch_command commands = get_commands() File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 107, in get_commands apps = settings.INSTALLED_APPS File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 54, in __getattr__ self._setup(name) File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 49, in _setup self._wrapped = Settings(settings_module) File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 128, in __init__ mod = importlib.import_module(self.SETTINGS_MODULE) File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py", line 40, in import_module __import__(name) File "/opt/apps/RatticWeb/ratticweb/settings.py", line 262, in <module> SECRET_KEY = config.get('ratticweb', 'secretkey') File "/usr/lib/python2.7/ConfigParser.py", line 340, in get raise NoOptionError(option, section) ConfigParser.NoOptionError: No option 'secretkey' in section: 'ratticweb'

rcgelber commented 7 years ago

You need to create a secret key in conf/local.cfg