new: upgrade.netdata.html.

Sync iRedMail upgrade tutorial.
This commit is contained in:
Zhang Huangbin 2018-12-21 22:30:03 +08:00
parent 7cc672e976
commit dbd7163062
5 changed files with 120 additions and 0 deletions

View File

@ -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)

View File

@ -10,6 +10,8 @@
## ChangeLog ## 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 20, 2018, fix hard-coded mailbox folder name in `dovecot-mysql.conf`.
* Dec 19, 2018, add section for upgrading mlmmjadmin. * Dec 19, 2018, add section for upgrading mlmmjadmin.
* Dec 17, 2018, initial release. * Dec 17, 2018, initial release.
@ -71,6 +73,10 @@ latest stable release immediately:
* [How to upgrade Roundcube](https://github.com/roundcube/roundcubemail/wiki/Upgrade). * [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 ### Fix improper Nginx config files for Roundcube
Accurate Nginx url match helps avoid namespace conflicts, we need some fixes Accurate Nginx url match helps avoid namespace conflicts, we need some fixes
@ -207,6 +213,26 @@ content filter.
* Restart both postfix and amavisd services. * 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 ## OpenLDAP special
### Update iRedMail LDAP schema file ### Update iRedMail LDAP schema file

View File

@ -144,6 +144,7 @@
<li><a href="sql.create.mail.user.html">SQL: Create new mail user</a></li> <li><a href="sql.create.mail.user.html">SQL: Create new mail user</a></li>
<li><a href="sql.user.mail.forwarding.html">SQL: User mail forwarding</a></li> <li><a href="sql.user.mail.forwarding.html">SQL: User mail forwarding</a></li>
<li><a href="store.spamassassin.bayes.in.sql.html">Store SpamAssassin bayes in SQL</a></li> <li><a href="store.spamassassin.bayes.in.sql.html">Store SpamAssassin bayes in SQL</a></li>
<li><a href="upgrade.netdata.html">How to upgrade netdata</a></li>
<li><a href="use.a.bought.ssl.certificate.html">Use a bought SSL certificate</a></li> <li><a href="use.a.bought.ssl.certificate.html">Use a bought SSL certificate</a></li>
<li><a href="use.openldap.as.address.book.in.outlook.html">Use OpenLDAP as address book in Microsoft Outlook</a></li> <li><a href="use.openldap.as.address.book.in.outlook.html">Use OpenLDAP as address book in Microsoft Outlook</a></li>
<li><a href="user.alias.address.html">Per-user alias address</a></li> <li><a href="user.alias.address.html">Per-user alias address</a></li>

View File

@ -26,9 +26,11 @@
<li><a href="#upgrade-iredadmin-open-source-edition-to-the-latest-stable-release-093">Upgrade iRedAdmin (open source edition) to the latest stable release (0.9.3)</a></li> <li><a href="#upgrade-iredadmin-open-source-edition-to-the-latest-stable-release-093">Upgrade iRedAdmin (open source edition) to the latest stable release (0.9.3)</a></li>
<li><a href="#upgrade-mlmmjadmin-to-the-latest-stable-release-19">Upgrade mlmmjadmin to the latest stable release (1.9)</a></li> <li><a href="#upgrade-mlmmjadmin-to-the-latest-stable-release-19">Upgrade mlmmjadmin to the latest stable release (1.9)</a></li>
<li><a href="#upgrade-roundcube-webmail-to-the-latest-stable-release-138">Upgrade Roundcube webmail to the latest stable release (1.3.8)</a></li> <li><a href="#upgrade-roundcube-webmail-to-the-latest-stable-release-138">Upgrade Roundcube webmail to the latest stable release (1.3.8)</a></li>
<li><a href="#upgrade-netdata-to-the-latest-stable-release-1111">Upgrade netdata to the latest stable release (1.11.1)</a></li>
<li><a href="#fix-improper-nginx-config-files-for-roundcube">Fix improper Nginx config files for Roundcube</a></li> <li><a href="#fix-improper-nginx-config-files-for-roundcube">Fix improper Nginx config files for Roundcube</a></li>
<li><a href="#improve-mlmmj-script-used-for-appending-footer-text">Improve mlmmj script used for appending footer text</a></li> <li><a href="#improve-mlmmj-script-used-for-appending-footer-text">Improve mlmmj script used for appending footer text</a></li>
<li><a href="#fix-address-mapping-issue-for-mlmmj-mailing-list">Fix address mapping issue for mlmmj mailing list</a></li> <li><a href="#fix-address-mapping-issue-for-mlmmj-mailing-list">Fix address mapping issue for mlmmj mailing list</a></li>
<li><a href="#fixed-sogo-backup-script-doesnt-set-correct-permission-on-backup-files">Fixed: SOGo backup script doesn't set correct permission on backup files</a></li>
</ul> </ul>
</li> </li>
<li><a href="#openldap-special">OpenLDAP special</a><ul> <li><a href="#openldap-special">OpenLDAP special</a><ul>
@ -63,6 +65,8 @@ check <a href="https://www.iredmail.org/support.html">the details</a> and
</div> </div>
<h2 id="changelog">ChangeLog</h2> <h2 id="changelog">ChangeLog</h2>
<ul> <ul>
<li>Dec 21, 2018, Fixed: SOGo backup script doesn't set correct permission on backup files.</li>
<li>Dec 21, 2018, mention how to upgrade netdata.</li>
<li>Dec 20, 2018, fix hard-coded mailbox folder name in <code>dovecot-mysql.conf</code>.</li> <li>Dec 20, 2018, fix hard-coded mailbox folder name in <code>dovecot-mysql.conf</code>.</li>
<li>Dec 19, 2018, add section for upgrading mlmmjadmin.</li> <li>Dec 19, 2018, add section for upgrading mlmmjadmin.</li>
<li>Dec 17, 2018, initial release.</li> <li>Dec 17, 2018, initial release.</li>
@ -114,6 +118,8 @@ latest stable release immediately:</p>
<ul> <ul>
<li><a href="https://github.com/roundcube/roundcubemail/wiki/Upgrade">How to upgrade Roundcube</a>.</li> <li><a href="https://github.com/roundcube/roundcubemail/wiki/Upgrade">How to upgrade Roundcube</a>.</li>
</ul> </ul>
<h3 id="upgrade-netdata-to-the-latest-stable-release-1111">Upgrade netdata to the latest stable release (1.11.1)</h3>
<p>If you have netdata installed, you can upgrade it by following this tutorial: <a href="./upgrade.netdata.html">Upgrade netdata</a>.</p>
<h3 id="fix-improper-nginx-config-files-for-roundcube">Fix improper Nginx config files for Roundcube</h3> <h3 id="fix-improper-nginx-config-files-for-roundcube">Fix improper Nginx config files for Roundcube</h3>
<p>Accurate Nginx url match helps avoid namespace conflicts, we need some fixes <p>Accurate Nginx url match helps avoid namespace conflicts, we need some fixes
for Roundcube to get accurate url match.</p> for Roundcube to get accurate url match.</p>
@ -230,6 +236,23 @@ content filter.</p>
<ul> <ul>
<li>Restart both postfix and amavisd services.</li> <li>Restart both postfix and amavisd services.</li>
</ul> </ul>
<h3 id="fixed-sogo-backup-script-doesnt-set-correct-permission-on-backup-files">Fixed: SOGo backup script doesn't set correct permission on backup files</h3>
<p>SOGo backup script <code>/var/vmail/backup/backup_sogo.sh</code> 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:</p>
<div class="admonition attention">
<p class="admonition-title">Attention</p>
<p>Script <code>backup_sogo.sh</code> uses <code>/var/vmail/backup</code> to store backup files by
default, if you use a different directory, please edit this file and modify
parameter <code>BACKUP_ROOTDIR=</code> to use the correct one.</p>
</div>
<pre><code>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
</code></pre>
<h2 id="openldap-special">OpenLDAP special</h2> <h2 id="openldap-special">OpenLDAP special</h2>
<h3 id="update-iredmail-ldap-schema-file">Update iRedMail LDAP schema file</h3> <h3 id="update-iredmail-ldap-schema-file">Update iRedMail LDAP schema file</h3>
<p>iRedMail-0.9.9 introduces 2 new LDAP attributes for mail user account:</p> <p>iRedMail-0.9.9 introduces 2 new LDAP attributes for mail user account:</p>

46
html/upgrade.netdata.html Normal file
View File

@ -0,0 +1,46 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>How to upgrade netdata</title>
<link rel="stylesheet" type="text/css" href="./css/markdown.css" />
</head>
<body>
<div id="navigation">
<a href="https://www.iredmail.org" target="_blank">
<img alt="iRedMail web site"
src="./images/logo-iredmail.png"
style="vertical-align: middle; height: 30px;"
/>&nbsp;
<span>iRedMail</span>
</a>
&nbsp;&nbsp;//&nbsp;&nbsp;<a href="./index.html">Document Index</a></div><h1 id="how-to-upgrade-netdata">How to upgrade netdata</h1>
<p>iRedMail installs netdata with the official binary package.</p>
<h2 id="upgrade-netdata-on-linux">Upgrade netdata on Linux</h2>
<p>To update netdata on Linux, just download new version of the prebuilt package
from its <a href="https://github.com/netdata/netdata/releases">github page</a>, then run
it:</p>
<pre><code>chmod +x netdata-latest.gz.run
./netdata-latest.gz.run --accept
</code></pre>
<p>That's it.</p>
<h2 id="upgrade-netdata-on-freebsd">Upgrade netdata on FreeBSD</h2>
<p>Please upgrade netdata with FreeBSD ports tree.</p>
<h2 id="see-also">See Also</h2>
<ul>
<li><a href="./integration.netdata.freebsd.html">Integrate netdata monitor (on FreeBSD server)</a></li>
</ul><div class="footer">
<p style="text-align: center; color: grey;">All documents are available in <a href="https://bitbucket.org/zhb/iredmail-docs/src">BitBucket repository</a>, and published under <a href="http://creativecommons.org/licenses/by-nd/3.0/us/" target="_blank">Creative Commons</a> license. You can <a href="https://bitbucket.org/zhb/iredmail-docs/get/tip.tar.bz2">download the latest version</a> for offline reading. If you found something wrong, please do <a href="https://www.iredmail.org/contact.html">contact us</a> to fix it.</p>
</div>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-3293801-21"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-3293801-21');
</script>
</body></html>