[GH-ISSUE #1300] Migrate #1049

Closed
opened 2026-02-27 11:14:57 +03:00 by kerem · 16 comments
Owner

Originally created by @ndecaris on GitHub (Nov 17, 2017).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1300

Impacted versions

  • Modoboa: 1.7.4
  • installer used: Yes/No ? i think yes
  • Webserver: Nginx

Steps to reproduce

upgrade process describe in the official documentation

Current behavior

error when use the command : "python manage.py migrate" => ImportError: No module named modoboa_amavis

Expected behavior

go further .....

thank a lot for your help
Nicolas

Originally created by @ndecaris on GitHub (Nov 17, 2017). Original GitHub issue: https://github.com/modoboa/modoboa/issues/1300 # Impacted versions * Modoboa: 1.7.4 * installer used: Yes/No ? i think yes * Webserver: Nginx # Steps to reproduce upgrade process describe in the official documentation # Current behavior error when use the command : "python manage.py migrate" => ImportError: No module named modoboa_amavis # Expected behavior go further ..... thank a lot for your help Nicolas
kerem closed this issue 2026-02-27 11:14:57 +03:00
Author
Owner

@tonioo commented on GitHub (Nov 17, 2017):

@ndecaris Did you install Modoboa using the installer (https://github.com/modoboa/modoboa-installer) or following the documentation? (http://modoboa.readthedocs.io/en/latest/installation.html#manual-installation)

<!-- gh-comment-id:345256932 --> @tonioo commented on GitHub (Nov 17, 2017): @ndecaris Did you install Modoboa using the installer (https://github.com/modoboa/modoboa-installer) or following the documentation? (http://modoboa.readthedocs.io/en/latest/installation.html#manual-installation)
Author
Owner

@ndecaris commented on GitHub (Nov 17, 2017):

@tonioo i used the installer ...

<!-- gh-comment-id:345261872 --> @ndecaris commented on GitHub (Nov 17, 2017): @tonioo i used the installer ...
Author
Owner

@tonioo commented on GitHub (Nov 18, 2017):

@ndecaris when did you run this install? Modoboa 1.7.4 is pretty old. Could you try with the latest version of the installer?

<!-- gh-comment-id:345439717 --> @tonioo commented on GitHub (Nov 18, 2017): @ndecaris when did you run this install? Modoboa 1.7.4 is pretty old. Could you try with the latest version of the installer?
Author
Owner

@ndecaris commented on GitHub (Nov 18, 2017):

@tonioo you mean update the installer ? how can i do it : i will see in the doc !

<!-- gh-comment-id:345468472 --> @ndecaris commented on GitHub (Nov 18, 2017): @tonioo you mean update the installer ? how can i do it : i will see in the doc !
Author
Owner

@tonioo commented on GitHub (Nov 20, 2017):

> cd modoboa-installer
> git pull origin master
<!-- gh-comment-id:345713785 --> @tonioo commented on GitHub (Nov 20, 2017): ```bash > cd modoboa-installer > git pull origin master ```
Author
Owner

@ndecaris commented on GitHub (Nov 20, 2017):

@tonioo idem :

ImportError: No module named modoboa_amavis

<!-- gh-comment-id:345759527 --> @ndecaris commented on GitHub (Nov 20, 2017): @tonioo idem : > ImportError: No module named modoboa_amavis
Author
Owner

@tonioo commented on GitHub (Nov 20, 2017):

@ndecaris Can you restart from scratch?

<!-- gh-comment-id:345767835 --> @tonioo commented on GitHub (Nov 20, 2017): @ndecaris Can you restart from scratch?
Author
Owner

@ndecaris commented on GitHub (Nov 20, 2017):

you mean reinstall everything ? heu, how does it work for postfix dovecot, ... configuration : the installation keep the configuration files ?

<!-- gh-comment-id:345821567 --> @ndecaris commented on GitHub (Nov 20, 2017): you mean reinstall everything ? heu, how does it work for postfix dovecot, ... configuration : the installation keep the configuration files ?
Author
Owner

@tonioo commented on GitHub (Nov 23, 2017):

@ndecaris did you modify the config manually?

<!-- gh-comment-id:346644414 --> @tonioo commented on GitHub (Nov 23, 2017): @ndecaris did you modify the config manually?
Author
Owner

@ndecaris commented on GitHub (Nov 23, 2017):

@tonioo yes i did. and i think many people does : listen on another port for webadmin (nginx config), disable a dns postscreen service, modify postscreen_access.cidr, use letsencrypt certificate, add POP3s for dovecot, ... !
Do you mean : i have to restart from scratch, even for services ?
how can i backup everything : even messages in mailbox ?

<!-- gh-comment-id:346648959 --> @ndecaris commented on GitHub (Nov 23, 2017): @tonioo yes i did. and i think many people does : listen on another port for webadmin (nginx config), disable a dns postscreen service, modify postscreen_access.cidr, use letsencrypt certificate, add POP3s for dovecot, ... ! Do you mean : i have to restart from scratch, even for services ? how can i backup everything : even messages in mailbox ?
Author
Owner

@ndecaris commented on GitHub (Dec 1, 2017):

@tonioo i try to backup configurations, but i can't connect to postgresql : where are the credentials ?
thanks

<!-- gh-comment-id:348469367 --> @ndecaris commented on GitHub (Dec 1, 2017): @tonioo i try to backup configurations, but i can't connect to postgresql : where are the credentials ? thanks
Author
Owner

@tonioo commented on GitHub (Dec 3, 2017):

The credentials are stored in the settings.py file.

<!-- gh-comment-id:348759005 --> @tonioo commented on GitHub (Dec 3, 2017): The credentials are stored in the settings.py file.
Author
Owner

@tonioo commented on GitHub (Dec 7, 2017):

@ndecaris any news?

<!-- gh-comment-id:349925950 --> @tonioo commented on GitHub (Dec 7, 2017): @ndecaris any news?
Author
Owner

@ndecaris commented on GitHub (Dec 7, 2017):

@tonioo backup is ok now. but i can't use a new version of the installer : i don't want to crash my production service. is there a way to check what is done by the installer : i mean just to understand how files are written or not if configuration exists ?

<!-- gh-comment-id:350115376 --> @ndecaris commented on GitHub (Dec 7, 2017): @tonioo backup is ok now. but i can't use a new version of the installer : i don't want to crash my production service. is there a way to check what is done by the installer : i mean just to understand how files are written or not if configuration exists ?
Author
Owner

@tonioo commented on GitHub (Dec 8, 2017):

@ndecaris There is easy way for that. Either look at the code or run the installer on a VM with the --debug option

<!-- gh-comment-id:350296423 --> @tonioo commented on GitHub (Dec 8, 2017): @ndecaris There is easy way for that. Either look at the code or run the installer on a VM with the --debug option
Author
Owner

@tonioo commented on GitHub (Jan 12, 2018):

@ndecaris Can I close this issue?

<!-- gh-comment-id:357194625 --> @tonioo commented on GitHub (Jan 12, 2018): @ndecaris Can I close this issue?
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#1049
No description provided.