[GH-ISSUE #1841] Error 500 after Update #1444

Closed
opened 2026-02-27 11:17:09 +03:00 by kerem · 1 comment
Owner

Originally created by @kev1904 on GitHub (Feb 17, 2020).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1841

Impacted versions

  • Modoboa: update to 1.14.0 from 1.13
  • installer used: Yes
  • Webserver: Nginx

Video/Screenshot link (optional)

Traceback (most recent call last): File "./instance/wsgi.py", line 16, in <module> application = get_wsgi_application() File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/wsgi.py", line 13, in get_wsgi_application django.setup(set_prefix=False) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/__init__.py", line 22, in setup configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/conf/__init__.py", line 56, in __getattr__ self._setup(name) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/conf/__init__.py", line 41, in _setup self._wrapped = Settings(settings_module) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/conf/__init__.py", line 110, in __init__ mod = importlib.import_module(self.SETTINGS_MODULE) File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) File "./instance/settings.py", line 355, in <module> DNSBL_PROVIDERS.remove("bad.psky.me") ValueError: list.remove(x): x not in list Mon Feb 17 15:50:16 2020 - unable to load app 0 (mountpoint='') (callable not found or import error)

Originally created by @kev1904 on GitHub (Feb 17, 2020). Original GitHub issue: https://github.com/modoboa/modoboa/issues/1841 # Impacted versions * Modoboa: update to 1.14.0 from 1.13 * installer used: Yes * Webserver: Nginx # Video/Screenshot link (optional) `Traceback (most recent call last): File "./instance/wsgi.py", line 16, in <module> application = get_wsgi_application() File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/wsgi.py", line 13, in get_wsgi_application django.setup(set_prefix=False) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/__init__.py", line 22, in setup configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/conf/__init__.py", line 56, in __getattr__ self._setup(name) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/conf/__init__.py", line 41, in _setup self._wrapped = Settings(settings_module) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/conf/__init__.py", line 110, in __init__ mod = importlib.import_module(self.SETTINGS_MODULE) File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) File "./instance/settings.py", line 355, in <module> DNSBL_PROVIDERS.remove("bad.psky.me") ValueError: list.remove(x): x not in list Mon Feb 17 15:50:16 2020 - unable to load app 0 (mountpoint='') (callable not found or import error) `
kerem closed this issue 2026-02-27 11:17:09 +03:00
Author
Owner

@kev1904 commented on GitHub (Feb 17, 2020):

Solved by my self, commented out
#DNSBL_PROVIDERS.remove("bad.psky.me")
in the settingy.py

<!-- gh-comment-id:587032192 --> @kev1904 commented on GitHub (Feb 17, 2020): Solved by my self, commented out #DNSBL_PROVIDERS.remove("bad.psky.me") in the settingy.py
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#1444
No description provided.