Hi everybody,
I am back again with some Debian install problems, sorry.
I prepare production server based on Debian11 and made clean install. Here are problems which is necessary to solve to have a working server.
After grommunio packages installation nginx not start because of doubled configuration files in /usr/share/grommunio-common/nginx/upstreams.d/ there are:
grommunio-dav.conf and grommunio-dav-upstream.conf
grommunio-sync.conf and grommunio-sync-upstream.conf.
The files are identical. when I removed -upstream.conf files nginx start to work.
Which version is correct?
Next problem is Error 502 - Bad Gateway at grommunio-web
it is problem with php-opcache, but it is easy to repare (thank's to @WalterH ): phpdismod opcache and repare permissions at:
Directory Error: /var/lib/grommunio-web/session isn't writable
session.save_path is not writable. This means PHP is practically running stateless, which is incompatible with the requirements of grommunio-web.
Directory Error: /var/lib/grommunio-web/tmp isn't readable
Please make sure this directory exists and is writable for nginx/php-fpm
Directory Error: /var/lib/grommunio-web/tmp isn't writable
Please make sure this directory exists and is writable for nginx/php-fpm
grommunio Web can't start because of incompatible configuration.
Please correct above errors, a good start is by checking your '/etc/php/7.4/fpm/php.ini' file.
You can disable this configuration check by editing the file '/usr/share/grommunio-web/config.php', but this is not recommended.
I used:
chown -R root:groweb /var/lib/grommunio-web/{session,tmp}
chmod -R 775 /var/lib/grommunio-web/{session,tmp}
Next one: I compiled nginx-module-vts and nginx-brotli but Live status not worked. I discovered there are still missing configuration files at installation debian packages:
/usr/share/grommunio-admin-common/traffic-sm.conf
/usr/share/grommunio-admin-common/traffic-dfl.conf
/usr/share/grommunio-common/nginx/traffic_status_params.conf
this problem we discussed 7month ago here:
https://community.grommunio.com/d/217-debian-nginx-build-modules-host-traffic-status-brotli/5
Rest it seems works, including traffic monitor and services management from dashboard (thank's to @weini ) I use for installation modified Debian installation script (no windows, no splash screen, no firewalld, no sasl, ...)
I do not want to rush, just show the problems, to be possible to repair them 🙂