From 0f0e8b62d9e0337fedda113b33177ca8cb56f4de Mon Sep 17 00:00:00 2001
From: Zhang Huangbin
Date: Mon, 3 Jul 2017 21:24:02 +0800
Subject: [PATCH] Mention how to upgrade uwsgi (OpenBSD only) and iRedAdmin.
---
convert.sh | 12 ++++----
.../upgrade/0-upgrade.iredmail.0.9.6-0.9.7.md | 30 ++++++++++++++++++-
html/upgrade.iredmail.0.9.6-0.9.7.html | 24 ++++++++++++++-
3 files changed, 59 insertions(+), 7 deletions(-)
diff --git a/convert.sh b/convert.sh
index e823afc3..6226e7d6 100755
--- a/convert.sh
+++ b/convert.sh
@@ -62,11 +62,13 @@ for lang in ${all_languages}; do
break
fi
- if ${CMD_CHECK_CHANGE} | grep "${lang}/" &>/dev/null; then
- echo "* Change found for language: ${lang}."
- else
- echo "* [SKIP] No change found for language: ${lang}."
- continue
+ if [ X"${compile_all}" != X'YES' ]; then
+ if ${CMD_CHECK_CHANGE} | grep "${lang}/" &>/dev/null; then
+ echo "* Change found for language: ${lang}."
+ else
+ echo "* [SKIP] No change found for language: ${lang}."
+ continue
+ fi
fi
# Generate a Markdown file used to store index of chapters/articles.
diff --git a/en_US/upgrade/0-upgrade.iredmail.0.9.6-0.9.7.md b/en_US/upgrade/0-upgrade.iredmail.0.9.6-0.9.7.md
index 19268110..1a1201a1 100644
--- a/en_US/upgrade/0-upgrade.iredmail.0.9.6-0.9.7.md
+++ b/en_US/upgrade/0-upgrade.iredmail.0.9.6-0.9.7.md
@@ -9,7 +9,8 @@
## ChangeLog
-* Jul 2, 2017: Mentions Roundcube 1.3.0 requires PHP 5.4.
+* Jul 3, 2017: Mention how to upgrade uwsgi (OpenBSD only) and iRedAdmin.
+* Jul 2, 2017: Mention Roundcube 1.3.0 requires PHP 5.4.
* Jul 1, 2017: Initial publish.
## General (All backends should apply these steps)
@@ -24,6 +25,12 @@ so that you can know which version of iRedMail you're running. For example:
0.9.7
```
+### Upgrade iRedAdmin (open source edition) to the latest stable release (0.8)
+
+Please follow this tutorial to upgrade iRedAdmin open source edition to the
+latest stable release:
+[Upgrade iRedAdmin to the latest stable release](./migrate.or.upgrade.iredadmin.html)
+
### Upgrade Roundcube webmail to the latest stable release (1.3.0)
!!! warning "Roundcube 1.3"
@@ -210,6 +217,27 @@ If you want to use another directory to store backup files, please open file
5 3 * * * bash /var/vmail/backup/backup_sogo.sh
```
+### OpenBSD: Upgrade uwsgi to the latest 2.0.15
+
+uwsgi is the interface between Nginx and iRedAdmin, so if you're running
+iRedAdmin, it's recommended to upgrade uwsgi to the latest version, 2.0.15.
+
+Steps: Download the latest uwsgi, compile it, then restart uwsgi service.
+
+```
+cd /root/
+ftp https://projects.unbit.it/downloads/uwsgi-2.0.15.tar.gz
+tar zxf uwsgi-2.0.15.tar.gz
+cd uwsgi-2.0.15
+python setup.py install
+```
+
+uwsgi should be succesfully installed, then restart uwsgi service:
+
+```
+rcctl restart uwsgi
+```
+
## OpenLDAP backend special
### Fixed: Avoid possible backdooring mysqldump backups
diff --git a/html/upgrade.iredmail.0.9.6-0.9.7.html b/html/upgrade.iredmail.0.9.6-0.9.7.html
index 272bbe69..bef2efed 100644
--- a/html/upgrade.iredmail.0.9.6-0.9.7.html
+++ b/html/upgrade.iredmail.0.9.6-0.9.7.html
@@ -22,6 +22,7 @@
ChangeLog
General (All backends should apply these steps)
OpenLDAP backend special
0.9.7
+Upgrade iRedAdmin (open source edition) to the latest stable release (0.8)
+Please follow this tutorial to upgrade iRedAdmin open source edition to the
+latest stable release:
+Upgrade iRedAdmin to the latest stable release
Upgrade Roundcube webmail to the latest stable release (1.3.0)
Roundcube 1.3
@@ -247,6 +254,21 @@ wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/tools/backup_sogo.s
5 3 * * * bash /var/vmail/backup/backup_sogo.sh
+
OpenBSD: Upgrade uwsgi to the latest 2.0.15
+
uwsgi is the interface between Nginx and iRedAdmin, so if you're running
+iRedAdmin, it's recommended to upgrade uwsgi to the latest version, 2.0.15.
+
Steps: Download the latest uwsgi, compile it, then restart uwsgi service.
+
cd /root/
+ftp https://projects.unbit.it/downloads/uwsgi-2.0.15.tar.gz
+tar zxf uwsgi-2.0.15.tar.gz
+cd uwsgi-2.0.15
+python setup.py install
+
+
+
uwsgi should be succesfully installed, then restart uwsgi service:
+
rcctl restart uwsgi
+
+
OpenLDAP backend special
Fixed: Avoid possible backdooring mysqldump backups
For more details about this backdooring mysqldump backup issue, please read