1

Topic: Install netdata on Debian 9 following update instructions from 0.9.7

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
======== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.7 -> 0.9.8
- Linux/BSD distribution name and version: Debian 9.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi, following upgrade instructions for 0.9.7 to 0.9.8, I want to install netdata an my debian 9.5 box following https://docs.iredmail.org/integration.n … linux.html

I think this doc has some bugs relating to debian, mostly regarding the nginx tmpl-files beeing put  to /etc/nginx/templates and explicitly included in the 00-default.conf and 00-default-ssl.conf files, although they should probably reside in /etc/nginx/sites-conf.d/default and /etc/nginx/sites-conf.d/default-ssl respectively. Also, they have to be called <name>.conf instead of <name>.tmpl, so they will automatically be included.

I needed to implement a new ordering name scheme for all files to be able to basically keep to the names supplied in the guide and to order them correctly.

Here is my listing from

root@mail03:/etc/nginx/sites-conf.d/default# ls -l
insgesamt 32
-rw-r--r-- 1 root root  28 Jan 28 18:16 00-index.conf
-rw-r--r-- 1 root root 183 Jan 28 18:16 00-listen.conf
-rw-r--r-- 1 root root  20 Jan 28 18:16 00-root.conf
-rw-r--r-- 1 root root  69 Jan 30 21:53 00-server_name.conf
-rw-r--r-- 1 root root  40 Jan 28 18:16 05-include-tmpl-misc.conf
-rw-r--r-- 1 root root  53 Jan 28 18:16 10-include-tmpl-redirect-to-https.conf
-rw-r--r-- 1 root root 296 Jul 23 19:38 11_stub_status.conf
-rw-r--r-- 1 root root  48 Jan 28 18:16 99-include-tmpl-php-catchall.conf

and from

root@mail03:/etc/nginx/sites-conf.d/default-ssl# ls -l
insgesamt 48
-rw-r--r-- 1 root root  28 Jan 28 18:16 00-index.conf
-rw-r--r-- 1 root root  12 Jan 28 18:16 00-listen.conf
-rw-r--r-- 1 root root  20 Jan 28 18:16 00-root.conf
-rw-r--r-- 1 root root  69 Jan 30 21:53 00-server_name.conf
-rw-r--r-- 1 root root  39 Jan 28 18:16 10-include-tmpl-ssl.conf
-rw-r--r-- 1 root root  43 Jan 28 18:16 90-include-tmpl-awstats.conf
-rw-r--r-- 1 root root  45 Jan 28 18:16 90-include-tmpl-iredadmin.conf
-rw-r--r-- 1 root root  45 Jan 28 18:16 90-include-tmpl-roundcube.conf
-rw-r--r-- 1 root root  40 Jan 28 18:16 90-include-tmpl-sogo.conf
-rw-r--r-- 1 root root 773 Jul 23 19:51 98-include-tmpl-netdata.tmpl
-rw-r--r-- 1 root root  40 Jan 28 18:16 99-include-tmpl-misc.conf
-rw-r--r-- 1 root root  48 Jan 28 18:16 99-include-tmpl-php-catchall.conf

I guess that's about it to get netdata installed on a debian 9 iredmail 0.9.8 machine beeing updated from 0.9.7 .

I think there is a another typo in the install doc at https://docs.iredmail.org/integration.n … sql-server regarding PostgreSQL backend:

It says to work on

/etc/netdata/python.d/mysql.conf

but correct is probably

/etc/netdata/python.d/postgres.conf

Please update the docs. Regards

Jochen

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Install netdata on Debian 9 following update instructions from 0.9.7

*) For Nginx config file structure, we use:

- /etc/nginx/conf-available/: for all modular config files.
- /etc/nginx/conf-enabled/: it contains symbol link of files under /etc/nginx/conf-available/. Files linked to this directory will be loaded by Nginx.

- /etc/nginx/sites-available/: for all modular virtual web host config files.
- /etc/nginx/sites-enabled/: it contains symbol link of files under /etc/nginx/sites-available/. Files linked to this directory will be loaded by Nginx.

*) Fixed the incorrect path in netdata tutorials.

Thank you very much for the feedback.