Hi, I did a grommunio Debian 11 installation from scratch (without script). Now I have an issue with php-fpm. Grommunio wants to place the php-fpm sockets in /run/php-fpm
unfortunately /run
is a temporary file system and systemd on Debian 11 did not create /run/php-fpm
. Question in which /run
folder, your installation places the grommunio-sync
and grommunio-web
sockets?
Debian 11 clean install script
Hi Walter,
mine looks like this:
`root@mail:~# ll /run/php*
/run/php:
insgesamt 4
-rw-r--r-- 1 root root 6 29. Sep 14:23 php7.4-fpm.pid
srw-rw---- 1 www-data www-data 0 29. Sep 14:23 php7.4-fpm.sock=
lrwxrwxrwx 1 root root 30 27. Sep 16:15 php-fpm.sock -> /etc/alternatives/php-fpm.sock=
/run/php-fpm:
insgesamt 0
srw-rw-rw- 1 grodav grodav 0 29. Sep 14:23 grommunio-dav=
srw-rw-rw- 1 grosync grosync 0 29. Sep 14:23 grommunio-sync=
srw-rw-rw- 1 groweb groweb 0 29. Sep 14:23 grommunio-web=
root@mail:~#
`
Hey Walter, I installed via the script and I thaugt, you just want to have a compare to your manual installation.
segro thank you, I found it, this lines solves the issue:
# fix run directory for php-fpm
echo "d /run/php-fpm 0755 www-data gromox - -" >/etc/tmpfiles.d/run-php-fpm.conf
systemd-tmpfiles --create
Unfortunately this rises the next error in an grommunio package:
/usr/lib/tmpfiles.d/grommunio-admin-api.conf:1: Failed to resolve group 'nginx'.
I replaced 'nginx' with 'www-data' in this .config file.
Hey @WalterH ,
This was fixed at the end.. :-).
https://github.com/eryx12o45/grommunio-setup/blob/main/grommunio-setup#L768-L770
Also see https://community.grommunio.com/d/447-debian-11-clean-install-script/109
- Edited
So after an apt-get dist-upgrade
this problem may occur again.
Fix
cp /usr/lib/tmpfiles.d/grommunio-admin-api.conf /etc/tmpfiles.d/
sed -i 's/nginx/www-data/g' /etc/tmpfiles.d/grommunio-admin-api.conf
Which we also should do with the install-script :P
Next question, the appliance contains the package grommunio-index. Unfortunately I did not find this package for Debian 11. This package is the indexer for grommunio-web. How to get the search index working in grommunio web?
- Edited
For now I created a Script which takes care of grommunio-index and also the missing NGINX-Modules.
https://github.com/crpb/grommunio/blob/main/debian/alien8.sh
I also created a new thread but still waiting on a reply from the Grommunio-Team.
I even opened a ticket which refers to that thread if someone could make an official statement but haven't heard anything ... "Ticket#81508 - created Sunday 25. Sep 22:06"
FYI: You will need to updated the package yourself for now.
crpb I've started work on this here --> https://github.com/eryx12o45/grommunio-setup/pull/18
So at least the rspamd web gui shows exactly no config ^I guess the settings need to be set somewhere else. and as said the gui doesn't recognize the service as running