Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Latest commit

 

History

History
32 lines (17 loc) · 829 Bytes

README_INSTALLATION_TROUBLESHOOTING.md

File metadata and controls

32 lines (17 loc) · 829 Bytes

README for API Installation Troubleshooting

Back to root README

Back to Install Table of Contents

Unable to set the SECRET_KEY variable

Problem: I see this error when I run this python manage.py runserver:

django.core.exceptions.ImproperlyConfigured: Unable to set the SECRET_KEY variable from os.environ or JSON file

Solution:

  1. Look in WeVoteServer/config

  2. Make sure you made a copy from environment_variables-template.json to environment_variables.json

“libGeoIP.so.1: cannot open..."

On Amazon Linux (Fedora), if you get a “libGeoIP.so.1: cannot open shared object No such file or directory” error when you run WeVoteServer:

$ sudo vi /etc/ld.so.conf

Add on a new line:

/usr/local/lib

Then run:

$ sudo ldconfig