mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 00:46:03 +03:00
[GH-ISSUE #3236] Problems after upgrade 2.0.4 to 2.1.0 #1807
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#1807
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 @antoweb on GitHub (Apr 14, 2024).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/3236
Impacted versions
Steps to reproduce
Install modoboa==2.1.0

Followed steps here:
https://modoboa.readthedocs.io/en/latest/upgrade.html#id5
Update all modules
run
Current behavior
I cannot edit or delete an existing mailbox but i can create a new one, also this created mailbox i cannot delete or editing

i receive internal error
And when launch python manage.py generate_postfix_maps --destdir /etc/postfix error is:
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 "/usr/local/lib/python3.8/dist-packages/django/core/management/init.py", line 419, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.8/dist-packages/django/core/management/init.py", line 395, in execute
django.setup()
File "/usr/local/lib/python3.8/dist-packages/django/init.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/local/lib/python3.8/dist-packages/django/apps/registry.py", line 91, in populate
app_config = AppConfig.create(entry)
File "/usr/local/lib/python3.8/dist-packages/django/apps/config.py", line 224, in create
import_module(entry)
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 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'modoboa.dmarc'
Expected behavior
I can create and manage old and new mailbox
Video/Screenshot link (optional)
@tonioo commented on GitHub (Apr 15, 2024):
@antoweb Can you set DEBUG to True inside settings.py, reload uwsgi and try again? (look at the browser console to get more info
And about the shell command issue, did you launch it using the vitual env of Modoboa? (/srv/modoboa/env)
@antoweb commented on GitHub (Apr 15, 2024):
Hello @tonioo i had set debug to true but doesnt appear any message on browser.
The command was launched in venv
@Spitfireap commented on GitHub (Apr 15, 2024):
@antoweb can you restart uWSGI? modoboa.dmarc module should be recognized in 2.1.0...
@antoweb commented on GitHub (Apr 15, 2024):
I am already restarted the service after migrate and deploy command.
I have to retart another Time?
@Spitfireap commented on GitHub (May 2, 2024):
Can you share the MODOBOA_APPS in your settings.py ?
@antoweb commented on GitHub (May 2, 2024):
MODOBOA_APPS = (
'modoboa',
'modoboa.core',
'modoboa.lib',
'modoboa.admin',
'modoboa.transport',
'modoboa.relaydomains',
'modoboa.limits',
'modoboa.parameters',
'modoboa.dnstools',
'modoboa.policyd',
'modoboa.maillog',
# Modoboa extensions here.
'modoboa_amavis',
'modoboa_pdfcredentials',
'modoboa_postfix_autoreply',
'modoboa_sievefilters',
'modoboa_webmail',
'modoboa_contacts',
'modoboa_radicale',
)
@tonioo commented on GitHub (May 3, 2024):
@antoweb It seems you forgot to follow upgrade instructions for 2.1.0:
https://modoboa.readthedocs.io/en/latest/upgrade.html#id5
@antoweb commented on GitHub (May 13, 2024):
Hello,
No i have put the correct items in modoboa_apps. The text i have sent Is a rollback.
@antoweb commented on GitHub (May 13, 2024):
Hello,
No i have put the correct items in modoboa_apps. T'ha text i have sent Is a rollback.
@antoweb commented on GitHub (May 13, 2024):
The errore was:
No module modoboa.dmarc found
@Spitfireap commented on GitHub (May 23, 2024):
This means the update did not successfully install modoboa 2.1.0. Can you try again ?
@Spitfireap commented on GitHub (Jul 15, 2024):
Hi, Have managed to get it working ? @antoweb
@antoweb commented on GitHub (Jul 31, 2024):
already tried same error
@stale[bot] commented on GitHub (Jan 31, 2025):
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.