mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-27 01:45:58 +03:00
[GH-ISSUE #573] Error when trying to use mod_ssl &mod_wsgi for modoboa #544
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#544
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @piwats on GitHub (Jun 19, 2014).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/573
Hello Antoine,
I'm trying to run modoboa with mod_ssl/mod_wsgi.
This is an error I get:
Environment:
Request Method: GET
Request URL: https://server.com/
Django Version: 1.5.8
Python Version: 2.7.6
Installed Applications:
('django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
'south',
'reversion',
'modoboa',
'modoboa.core',
'modoboa.lib',
'modoboa.extensions.admin',
'modoboa.extensions.postfix_relay_domains',
'modoboa.extensions.limits',
'modoboa.extensions.postfix_autoreply',
'modoboa.extensions.webmail',
'modoboa.extensions.stats',
'modoboa.extensions.sievefilters',
'modoboa.extensions.amavis')
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.transaction.TransactionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.locale.LocaleMiddleware',
'modoboa.lib.middleware.AjaxLoginRedirect',
'modoboa.lib.middleware.CommonExceptionCatcher',
'modoboa.lib.middleware.ExtControlMiddleware',
'modoboa.lib.middleware.RequestCatcherMiddleware')
Traceback:
File "/usr/lib64/python2.7/site-packages/django/core/handlers/base.py" in get_response
Exception Type: TypeError at /
Exception Value: 'NoneType' object has no attribute 'getitem'
What went wrong?
@tonioo commented on GitHub (Jun 20, 2014):
Hi,
I don't think your issue is related to mod_ssl or mod_wsgi. It seems you have ghost entries inside the core_extension table... Can you check the content of this table and give me the result ?
@piwats commented on GitHub (Jun 20, 2014):
Hello,
id name enabled
1 amavis 1
2 limits 0
3 postfix_autoreply 0
4 postfix_relay_domains 1
5 sievefilters 1
6 stats 1
7 webmail 1
this are the results.
@piwats commented on GitHub (Jun 20, 2014):
Somehow, the error disappeared by itself. It still would be nice to know, why this happened in the first place...
@tonioo commented on GitHub (Jun 23, 2014):
Have you restarted apache ?
@piwats commented on GitHub (Jun 23, 2014):
I have "reseted" pretty much everything. the whole webserver was restarted...