Bug upgrading to modoboa-1.3.0
See original GitHub issueImpacted versions
- Modoboa: 1.12.2
When I try to upgrade, I got this:
(env) modoboa@mailhub:~/instance$ python manage.py migrate
Traceback (most recent call last):
File "manage.py", line 22, in <module>
execute_from_command_line(sys.argv)
File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
utility.execute()
File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 354, in execute
django.setup()
File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/__init__.py", line 21, in setup
apps.populate(settings.INSTALLED_APPS)
File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/apps/registry.py", line 85, in populate
app_config = AppConfig.create(entry)
File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/apps/config.py", line 123, in create
import_module(entry)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named admin
(env) modoboa@mailhub:~/instance$ python manage.py collectstatic
Traceback (most recent call last):
File "manage.py", line 22, in <module>
execute_from_command_line(sys.argv)
File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
utility.execute()
File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 354, in execute
django.setup()
File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/__init__.py", line 21, in setup
apps.populate(settings.INSTALLED_APPS)
File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/apps/registry.py", line 85, in populate
app_config = AppConfig.create(entry)
File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/apps/config.py", line 123, in create
import_module(entry)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named admin
(env) modoboa@mailhub:~/instance$ python manage.py check --deploy
Traceback (most recent call last):
File "manage.py", line 22, in <module>
execute_from_command_line(sys.argv)
File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
utility.execute()
File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 354, in execute
django.setup()
File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/__init__.py", line 21, in setup
apps.populate(settings.INSTALLED_APPS)
File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/apps/registry.py", line 85, in populate
app_config = AppConfig.create(entry)
File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/apps/config.py", line 123, in create
import_module(entry)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named admin
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Regex error when upgrading from version 2.8.1 to 3.0.0 #9495
Since the upgrade to 3.0.0, I receive a regex parse error which I believe should still work, the errors produced are not listed...
Read more >Solved: CSCvv83510 - ISE 3.0 Upgrade failing at step ...
The bug says that ISE 3.0 patch 1 fixes the issue, but you can't upgrade to a patch. It also says there is...
Read more >Release notes for ArcGIS Pro 3.0
Each major, minor, and patch release of ArcGIS Pro includes fixes for bugs that were reported to Esri Technical Support. The bugs that...
Read more >VMware Skyline Collector v3.1.0.0 does not auto upgrade on ...
A bug in one of the Auto-Upgrade scripts in the virtual appliance prevents Skyline Collectors version 3.1.0.0 to perform automatic upgrades, ...
Read more >3.0 - Bugzilla
Release Notes for Bugzilla 3.0. Introduction; Minimum Requirements; New Features and Improvements; Outstanding Issues; How to Upgrade From An Older Version ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@tonioo today i’ve updated modoboa and all extensions from 1.10.X to 1.13.0 and i got following errors:
(security.W001) You do not have 'django.middleware.security.SecurityMiddleware' in your MIDDLEWARE so the SECURE_HSTS_SECONDS, SECURE_CONTENT_TYPE_NOSNIFF, SECURE_BROWSER_XSS_FILTER, and SECURE_SSL_REDIRECT settings will have no effect.
If this is normal, wouldn’t it be nice to have this in the update instructions? (https://github.com/modoboa/modoboa/blob/master/doc/upgrade.rst#1130)
i fixed it by changing settings[“AMAVIS_DEFAULT_DATABASE_ENCODING”] from LATIN1 to UTF8 in modoboa_amavis/settings.py, but why isn’t it written in the update instructions? are there any extension specific upgrade instructions i’ve missed? (https://github.com/modoboa/modoboa/blob/master/doc/upgrade.rst#1130)
If you think my suggestions would be useful, let me know and i’ll prepare a merge request for the upgrade instuctions.
Got this by mail?