You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If at least one mailbox has a quota defined in the old postfixadmin install, the script failed with the following error:
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 364, in execute_from_command_line
utility.execute()
File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 356, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/base.py", line 283, in run_from_argv
self.execute(*args, **cmd_options)
File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/base.py", line 330, in execute
output = self.handle(*args, **options)
File "/srv/modoboa/env/local/lib/python2.7/site-packages/modoboa_pfxadmin_migrate/management/commands/migrate_from_postfixadmin.py", line 290, in handle
self._do_migration(options)
File "/srv/modoboa/env/local/lib/python2.7/site-packages/modoboa_pfxadmin_migrate/management/commands/migrate_from_postfixadmin.py", line 282, in _do_migration
self._migrate_domain(pf_domain, options, creator)
File "/srv/modoboa/env/local/lib/python2.7/site-packages/modoboa_pfxadmin_migrate/management/commands/migrate_from_postfixadmin.py", line 198, in _migrate_domain
self._migrate_mailboxes(newdom, options, creator)
File "/srv/modoboa/env/local/lib/python2.7/site-packages/modoboa_pfxadmin_migrate/management/commands/migrate_from_postfixadmin.py", line 185, in _migrate_mailboxes
new_mb.set_quota(old_mb.quota / 1024000, override_rules=True)
File "/srv/modoboa/env/local/lib/python2.7/site-packages/modoboa/admin/models/mailbox.py", line 265, in set_quota
raise lib_exceptions.BadRequest(_("Domain quota exceeded"))
modoboa.lib.exceptions.BadRequest: Domain quota exceeded
(Fresh modoboa 1.10.5.dev8+gf604aacb install, without any domain/mailbox defined)
By setting quota to 0 on all Mailboxes in postfixadmin, migration is OK.
The text was updated successfully, but these errors were encountered:
If at least one mailbox has a quota defined in the old postfixadmin install, the script failed with the following error:
(Fresh modoboa 1.10.5.dev8+gf604aacb install, without any domain/mailbox defined)
By setting quota to 0 on all Mailboxes in postfixadmin, migration is OK.
The text was updated successfully, but these errors were encountered: