mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 17:06:01 +03:00
[GH-ISSUE #1469] Upgrade help #1156
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#1156
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 @greydjin on GitHub (Apr 13, 2018).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1469
Impacted versions
Hello.
I read this http://modoboa.readthedocs.io/en/1.10.4/upgrade.html
And before i upgrade "pip install modoboa==1.10.4", i try update extension.
Why download and install modoboa-1.10.4 when i try install modoboa-sievefilters-1.4.0 ?
Ok, after that i try
How i can upgrade extension before modoboa?
@tonioo commented on GitHub (Apr 16, 2018):
@greydjin You must follow 1.10.0 upgrade instructions (http://modoboa.readthedocs.io/en/latest/upgrade.html#id2). 1.10.4 is just a minor release.
@greydjin commented on GitHub (Apr 17, 2018):
Ok, i try this instruction http://modoboa.readthedocs.io/en/latest/upgrade.html#id2
First step: Upgrade installed extensions BEFORE running check or migrate commands.
Before upgrade extension: "If you use the amavis plugin, make sure to include its configuration as follows into settings.py: " - ok, i got this.
nano /srv/modoboa/instance/instance/settings.py
in end of file i see
Next step: Edit the settings.py file and apply the following modifications. Add 'modoboa.transport' to MODOBOA_APPS
Before
After
Next step: Replace the following line: MIDDLEWARE_CLASSES = ( to MIDDLEWARE = (
Done.
Next step: Update postfix map files as follows
I cant create new postfix map after change settings.py, how resolve it?
@ghost commented on GitHub (Apr 17, 2018):
There's a step missing in the upgrade instructions, you need to upgrade modoboa before updating the postfix maps.
Run
pip install modoboa==1.10.4
On April 17, 2018 12:55:00 PM UTC, greydjin notifications@github.com wrote:
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
@greydjin commented on GitHub (Apr 18, 2018):
Ok, i rollback snapshot on test vm and start new update.
Before upgrade - it's work!
After upgrade it's not work.
Maybe, after upgrade modoboa to 1.10.4 i need check settings.py ?
Edit settings.py - add 'modoboa.transport', and edit "MIDDLEWARE = ("
Nothing change.
If i do
Nothing change. Cant create new postfix map
@ghost commented on GitHub (Apr 18, 2018):
You've missed the step to upgrade the extensions,
pip install -U modoboa-amavis@greydjin commented on GitHub (Apr 18, 2018):
But i wrote in my first message: if i upgrade any extension (i wrote modoboa-sievefilters==1.4.0), than
they upgrade core of modoboa.
Next step - pip install modoboa=1.10.4 ? It is alrady install in previos step.