question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Docs : upgrade paths

See original GitHub issue

Independently from installing a bare system, it is often advised to upgrade the modular components of modoboa as suggested via the /core/#info/ route of the web interface.

module pip package
Modoboa modoboa
Amavis modoboa-amavis
PDF credentials modoboa-pdfcredentials
Postfix autoreply modoboa-postfix-autoreply
Sieve filters modoboa-sievefilters
Statistics modoboa-stats
Webmail modoboa-webmail

These packages are upgraded within the modoboa virtual environment before reissuing the installer script. If, for example, a new modoboa version has been published on PyPi and a newer, unpublished version exists already in some soure control, one could do the following:

# . /srv/modoboa/env/bin/activate
(env)# pip install --upgrade modoboa
(env)# pip install https://github.com/modoboa/modoboa-pdfcredentials/archive/master.zip --upgrade
(env)# deactivate

Then a redeployment happens with

# ./run.py email.ecobytes.net --debug

One could even use different installer.cfgs to not reconfigure amavis, clamav, dovecot, nginx, razor, postfix, spamassassin and uswgi at all times. These could be loaded by parsing the provided FQDN of an instance and mapping it to distinct FQDN.cfg while an --upgrade switch omits the reconfiguration of the additional services.

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:12 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
spinzacommented, May 13, 2016

The upgrade process is not clear. That to me is the main issue. It is not clear how to upgrade.

0reactions
almereydacommented, Apr 15, 2018

Upgrade notes now live in http://modoboa.readthedocs.io/en/latest/upgrade.html

The notes in http://modoboa.readthedocs.io/en/latest/upgrade.html#extensions also apply

> sudo -i <modoboa_user>
> source <virtuenv_path>/bin/activate
> pip install <EXTENSION>==<VERSION>
> cd <modoboa_instance_dir>
> python manage.py migrate
> python manage.py collectstatic
> python manage.py check --deploy
Read more comments on GitHub >

github_iconTop Results From Across the Web

Upgrade Path Tool Table - Fortinet Documentation Library
Fortinet Document Library | Upgrade Tools.
Read more >
Upgrading GitLab
Use the version mapping from the chart version to GitLab version to determine the upgrade path. Plan your upgrade. See the guide to...
Read more >
Upgrade paths | Edge for Private Cloud v4.19.01 - Apigee Docs
Upgrade paths. Edge for Private Cloud v4.19.01. The following table shows you the upgrade paths for version 4.19.01: ...
Read more >
Windows 10 upgrade paths - Deployment - Microsoft Learn
This article provides a summary of available upgrade paths to Windows 10. You can upgrade to Windows 10 from Windows 7 or a...
Read more >
Upgrade Paths - Vertica
Upgrade Paths. Upgrades are incremental: you must upgrade to each intermediate major and minor release. For example, you upgrade from Vertica 8.0 to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found