Replies: 4 comments 2 replies
-
You need to update your plugins too |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hellom can you help me please i am completely newbie :-) |
Beta Was this translation helpful? Give feedback.
1 reply
-
Yes i have upgradated all my extensions |
Beta Was this translation helpful? Give feedback.
1 reply
-
Yes thanks problem solved after upgrading all extensions . Many thanks at all |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Impacted versions
OS Type: 20.04.4 LTS (Focal Fossa)
OS Version: 20.0.4
Database Type: PostgreSQL
Database version: postgres (PostgreSQL) 12.12
Modoboa: 2.0.2
installer used: Yes but upgradated from pip
Webserver: Nginx
Steps to reproduce
Current behavior
After install modoboa 2.0.3 and launch /srv/modoboa/instance# python manage.py migrate error is:
(env) root@mail:/srv/modoboa/instance# python manage.py migrate
Traceback (most recent call last):
File "manage.py", line 21, in
main()
File "manage.py", line 17, in main
execute_from_command_line(sys.argv)
File "/srv/modoboa/env/lib/python3.8/site-packages/django/core/management/init.py", line 419, in execute_from_command_line
utility.execute()
File "/srv/modoboa/env/lib/python3.8/site-packages/django/core/management/init.py", line 395, in execute
django.setup()
File "/srv/modoboa/env/lib/python3.8/site-packages/django/init.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/srv/modoboa/env/lib/python3.8/site-packages/django/apps/registry.py", line 114, in populate
app_config.import_models()
File "/srv/modoboa/env/lib/python3.8/site-packages/django/apps/config.py", line 301, in import_models
self.models_module = import_module(models_module_name)
File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 848, in exec_module
File "", line 219, in _call_with_frames_removed
File "/srv/modoboa/env/lib/python3.8/site-packages/modoboa_postfix_autoreply/models.py", line 7, in
from django.utils.encoding import python_2_unicode_compatible, smart_text
ImportError: cannot import name 'python_2_unicode_compatible' from 'django.utils.encoding' (/srv/modoboa/env/lib/python3.8/site-packages/django/utils/encoding.py)
Expected behavior
Video/Screenshot link (optional)
Beta Was this translation helpful? Give feedback.
All reactions