I host OSQA in AWS EC2 and encounter 500 Server Error
while accessing the homepage.
500 Server Error
sorry, system error
system error log is recorded, error will be fixed as soon as possible
The error log file /var/log/apache2/osqa.error.log
is empty. Accessing the login page mysite.com/account/signin/
is normal.
Part of settings_local.py
is:
#ADMINS and MANAGERS
ADMINS = ()
MANAGERS = ADMINS
DEBUG = False
DEBUG_TOOLBAR_CONFIG = {
'INTERCEPT_REDIRECTS': True
}
TEMPLATE_DEBUG = DEBUG
INTERNAL_IPS = ('127.0.0.1',)
ALLOWED_HOSTS = ('example.com',)
Is it a problem with permission?
-rw-rw-r-- 1 ubuntu www-pub 0 May 25 18:21 __init__.py
-rw-rw-r-- 1 ubuntu www-pub 242 May 25 18:21 manage.py
-rw-rw-r-- 1 ubuntu www-pub 4556 May 25 18:21 settings.py
-rw-rw-r-- 1 ubuntu www-pub 2257 Jun 25 08:01 settings_local.py
-rw-rw-r-- 1 ubuntu www-pub 429 May 25 18:21 urls.py
The problem results from the higher markdown version (
Found existing installation: Markdown 2.6.2
), which is reported here.Install the lower version to solve it: