From dbd7163062dcbd2dbaca0cf973c504d06e855961 Mon Sep 17 00:00:00 2001
From: Zhang Huangbin
Date: Fri, 21 Dec 2018 22:30:03 +0800
Subject: [PATCH] new: upgrade.netdata.html. Sync iRedMail upgrade tutorial.
---
en_US/howto/upgrade.netdata.md | 24 ++++++++++
.../upgrade/0-upgrade.iredmail.0.9.8-0.9.9.md | 26 +++++++++++
html/index.html | 1 +
html/upgrade.iredmail.0.9.8-0.9.9.html | 23 ++++++++++
html/upgrade.netdata.html | 46 +++++++++++++++++++
5 files changed, 120 insertions(+)
create mode 100644 en_US/howto/upgrade.netdata.md
create mode 100644 html/upgrade.netdata.html
diff --git a/en_US/howto/upgrade.netdata.md b/en_US/howto/upgrade.netdata.md
new file mode 100644
index 00000000..47ccb326
--- /dev/null
+++ b/en_US/howto/upgrade.netdata.md
@@ -0,0 +1,24 @@
+# How to upgrade netdata
+
+iRedMail installs netdata with the official binary package.
+
+## Upgrade netdata on Linux
+
+To update netdata on Linux, just download new version of the prebuilt package
+from its [github page](https://github.com/netdata/netdata/releases), then run
+it:
+
+```
+chmod +x netdata-latest.gz.run
+./netdata-latest.gz.run --accept
+```
+
+That's it.
+
+## Upgrade netdata on FreeBSD
+
+Please upgrade netdata with FreeBSD ports tree.
+
+## See Also
+
+* [Integrate netdata monitor (on FreeBSD server)](./integration.netdata.freebsd.html)
diff --git a/en_US/upgrade/0-upgrade.iredmail.0.9.8-0.9.9.md b/en_US/upgrade/0-upgrade.iredmail.0.9.8-0.9.9.md
index 053fbde9..65c5b27f 100644
--- a/en_US/upgrade/0-upgrade.iredmail.0.9.8-0.9.9.md
+++ b/en_US/upgrade/0-upgrade.iredmail.0.9.8-0.9.9.md
@@ -10,6 +10,8 @@
## ChangeLog
+* Dec 21, 2018, Fixed: SOGo backup script doesn't set correct permission on backup files.
+* Dec 21, 2018, mention how to upgrade netdata.
* Dec 20, 2018, fix hard-coded mailbox folder name in `dovecot-mysql.conf`.
* Dec 19, 2018, add section for upgrading mlmmjadmin.
* Dec 17, 2018, initial release.
@@ -71,6 +73,10 @@ latest stable release immediately:
* [How to upgrade Roundcube](https://github.com/roundcube/roundcubemail/wiki/Upgrade).
+### Upgrade netdata to the latest stable release (1.11.1)
+
+If you have netdata installed, you can upgrade it by following this tutorial: [Upgrade netdata](./upgrade.netdata.html).
+
### Fix improper Nginx config files for Roundcube
Accurate Nginx url match helps avoid namespace conflicts, we need some fixes
@@ -207,6 +213,26 @@ content filter.
* Restart both postfix and amavisd services.
+### Fixed: SOGo backup script doesn't set correct permission on backup files
+
+SOGo backup script `/var/vmail/backup/backup_sogo.sh` shipped in iRedMail-0.9.8
+and earlier releases doesn't set correct permission on backup files, please
+download the latest version and override the one on your system:
+
+!!! attention
+
+ Script `backup_sogo.sh` uses `/var/vmail/backup` to store backup files by
+ default, if you use a different directory, please edit this file and modify
+ parameter `BACKUP_ROOTDIR=` to use the correct one.
+
+```
+cd /var/vmail/backup/
+rm -f backup_sogo.sh
+wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/tools/backup_sogo.sh
+chown root backup_sogo.sh
+chmod 0400 backup_sogo.sh
+```
+
## OpenLDAP special
### Update iRedMail LDAP schema file
diff --git a/html/index.html b/html/index.html
index d7357980..885944d4 100644
--- a/html/index.html
+++ b/html/index.html
@@ -144,6 +144,7 @@
Upgrade netdata to the latest stable release (1.11.1)
+
If you have netdata installed, you can upgrade it by following this tutorial: Upgrade netdata.
Fix improper Nginx config files for Roundcube
Accurate Nginx url match helps avoid namespace conflicts, we need some fixes
for Roundcube to get accurate url match.
@@ -230,6 +236,23 @@ content filter.
Restart both postfix and amavisd services.
+
Fixed: SOGo backup script doesn't set correct permission on backup files
+
SOGo backup script /var/vmail/backup/backup_sogo.sh shipped in iRedMail-0.9.8
+and earlier releases doesn't set correct permission on backup files, please
+download the latest version and override the one on your system:
+
+
Attention
+
Script backup_sogo.sh uses /var/vmail/backup to store backup files by
+default, if you use a different directory, please edit this file and modify
+parameter BACKUP_ROOTDIR= to use the correct one.