Hello everyone,
today I updated from zabbix6 to zabbix 7 on a test machine (clone of my Zabbix server).
The base system was a Debian 11.
Basically I only had to update to Debian 12, update Nginx and TimescaleDB. Everything else matched the versions. + a few database adjustments of all hypertables and co...
So far everything has worked except for one small thing.
After restarting the server, I get a "Bad Gateway" back when I call up the web address.
The Nginx error log then says "..../var/run/php/zabbix.sock failed (13: Permission denied)..."
If I look at the file, only www-data has access to it.
With nginx >1.16 a new user "nginx" was added, which now executes everything by default.
I installed nginx via the official repro "https://nginx.org/en/linux_packages.html#Debian"
Now the question is, how do I solve this problem? Sure, I can probably put the nginx user in the www-data group.
But is that the way to go or do I somehow tell nginx, "hey take the user www-data"?
Or is there a completely different way.
Many thanks for your help.
today I updated from zabbix6 to zabbix 7 on a test machine (clone of my Zabbix server).
The base system was a Debian 11.
Basically I only had to update to Debian 12, update Nginx and TimescaleDB. Everything else matched the versions. + a few database adjustments of all hypertables and co...
So far everything has worked except for one small thing.
After restarting the server, I get a "Bad Gateway" back when I call up the web address.
The Nginx error log then says "..../var/run/php/zabbix.sock failed (13: Permission denied)..."
If I look at the file, only www-data has access to it.
With nginx >1.16 a new user "nginx" was added, which now executes everything by default.
I installed nginx via the official repro "https://nginx.org/en/linux_packages.html#Debian"
Now the question is, how do I solve this problem? Sure, I can probably put the nginx user in the www-data group.
But is that the way to go or do I somehow tell nginx, "hey take the user www-data"?
Or is there a completely different way.
Many thanks for your help.
Comment