Dmitry Verkhoturov
cc028ed792
Fix web frontend crash on socket setups without DB_SERVER_PORT
...
env_string('DB_SERVER_PORT') returns '' when the variable is unset, and that
empty string is passed to mysqli::real_connect()'s ?int $port argument in
MysqlDbBackend::connect(), throwing a fatal TypeError under PHP 8 that breaks
every frontend page (HTTP 500) on socket / no-port setups. Regressed in the
web config redesign, which replaced getenv() (returns false -> int 0) with
env_string() (returns '').
Add an env_int() helper that maps both unset and empty to the default and
returns an int, and use it for the DB port.
2026-07-01 17:56:31 +00:00
Alexey Pustovalov
e308b79a78
Prepare SQLite3 DB file before proxy start
2026-06-11 16:04:35 +09:00
Alexey Pustovalov
e477491ffe
Moved increment to proper place
2026-06-11 15:57:22 +09:00
Alexey Pustovalov
4812a8f22e
Allow to use empty db schema
2026-06-09 15:42:24 +09:00
Alexey Pustovalov
7babf33296
Redesign web config file
2026-06-04 20:04:58 +09:00
Alexey Pustovalov
616a100621
Merge pull request #1911 from zabbix/fix/vault_prefix
...
Fix/vault prefix
2026-06-03 16:55:33 +09:00
Alexey Pustovalov
a2355d82ae
Fixed SNMP traps handler
2026-05-15 19:07:16 +09:00
Alexey Pustovalov
522389441d
Fixed DB SSL mode on web images
2026-05-05 11:33:10 +09:00
Alexey Pustovalov
439b15bfed
Fixed PHP config env variable
2026-05-04 20:05:56 +09:00
Alexey Pustovalov
b2e6d3fac0
Fix web-server user
2026-04-30 18:24:12 +09:00
Alexey Pustovalov
20d84d2249
Removed uneccessary configuration parameters from agent2
2026-04-19 22:49:23 +09:00
Alexey Pustovalov
8efb06636e
Fixed log records for PostgreSQL web images
2026-04-18 22:52:23 +09:00
Alexey Pustovalov
d8b4c6074b
Cleaning code
2026-04-18 15:40:31 +09:00
Alexey Pustovalov
4c4082f050
Fixed adding new params at the end of config
2026-04-15 01:25:15 +09:00
Alexey Pustovalov
f90d815c0e
Fixed SSL on Nginx images
2026-04-14 17:26:05 +09:00
Alexey Pustovalov
b8fed86d78
Prepare to remove supervisord
2026-04-13 21:28:21 +09:00
Alexey Pustovalov
7d9a907e6d
Fixed node connect in web images
2026-04-12 21:19:23 +09:00
Alexey Pustovalov
2c84d7af91
Fixed psql arguments array
2026-04-10 01:36:45 +09:00
Alexey Pustovalov
aa3b0a363c
Fixed multiple issues with variables check
2026-04-08 13:24:28 +09:00
Alexey Pustovalov
e26bab0bee
Fixed default variables for mysql related images
2026-04-08 11:13:11 +09:00
Alexey Pustovalov
10a77cd525
Fixed default variables for Web images
2026-04-08 01:59:23 +09:00
Alexey Pustovalov
128fb7b3a9
Updated docker entrypoint structure. Using libraries for common functions
2026-04-04 22:00:46 +09:00
Alexey Pustovalov
932f81a92a
Updated docker entrypoint structure. Using libraries for common functions
2026-04-03 21:16:40 +09:00