[ZBX-21245] DB type "POSTGRESQL" is not supported by current setup. Possible values MYSQL. Created: 2022 Jun 23  Updated: 2022 Jul 08  Resolved: 2022 Jul 08

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 6.0.4
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Igor Lytkin Assignee: Andrey Tocko (Inactive)
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu Server 22.04 LTS


Attachments: Text File php-psql.txt    

 Description   

Steps to reproduce:

  1. Server upgraded from 20.04 LTS to 22.04 LTS

Result:
**

  • DB type "POSTGRESQL" is not supported by current setup. Possible values MYSQL.

Expected:
Normal web-interface



 Comments   
Comment by Igor Lytkin [ 2022 Jun 23 ]

liv@singularity:~$ sudo zabbix_server -V
zabbix_server (Zabbix) 6.0.5
Revision 8da3e1f8419 30 May 2022, compilation time: May 30 2022 06:40:36

Copyright (C) 2022 Zabbix SIA
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it according to
the license. There is NO WARRANTY, to the extent permitted by law.

This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit (http://www.openssl.org/).

Compiled with OpenSSL 1.1.1f  31 Mar 2020
Running with OpenSSL 1.1.1l  24 Aug 2021

Comment by Alexey Pustovalov [ 2022 Jun 24 ]

did you try to install PHP PostgreSQL extension?

Comment by Igor Lytkin [ 2022 Jun 25 ]

php-psql.txtStill recieve "Configuration file error.DB type "POSTGRESQL" is not supported by current setup. Possible values MYSQL."

Comment by Igor Lytkin [ 2022 Jun 25 ]

Is Zabbix server 6.0.5 fully compatible with php 8.1?

 

Comment by Alexey Pustovalov [ 2022 Jun 25 ]

did you restart apache / php-fpm?

Is Zabbix server 6.0.5 fully compatible with php 8.1?

not fully yet.

Comment by Igor Lytkin [ 2022 Jun 26 ]

Can i install only web-interface on second VPS with Ubuntu Server 22.04 LTS + PHP (latest supported version)?

Comment by Andrey Tocko (Inactive) [ 2022 Jun 30 ]

Sure you can install multiple Frontends.

Followed manual on download page to install FE on php8.1 with new Ubuntu 22.04 server. And there were no issues dsecribed previously.

tested on 6.0.6 FE

Comment by Igor Lytkin [ 2022 Jul 02 ]

What is the cause of error? How can i get web-interface on my VPS now?

Comment by Andrey Tocko (Inactive) [ 2022 Jul 06 ]

Can not reproduce the issue, so it is not clear how you got it.
Probably misconfiguration. As error: Configuration file error.DB type "POSTGRESQL" is not supported by current setup. Possible values MYSQL.
Is possible when zabbix packages for MySQL installed and type defined as postgresql
Check zabbix related packages first:

apt list --installed | grep zabbix
Comment by Igor Lytkin [ 2022 Jul 07 ]

liv@singularity:~$ sudo apt list --installed | grep zabbix
[sudo] пароль для liv:

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

zabbix-agent/now 1:6.0.5-1+ubuntu20.04 amd64 [установлен, локальный]
zabbix-apache-conf/now 1:6.0.5-1+ubuntu20.04 all [установлен, локальный]
zabbix-frontend-php/now 1:6.0.5-1+ubuntu20.04 all [установлен, локальный]
zabbix-release/now 1:6.0-1+ubuntu20.04 all [установлен, локальный]
zabbix-server-pgsql/now 1:6.0.5-1+ubuntu20.04 amd64 [установлен, локальный]
zabbix-sql-scripts/now 1:6.0.5-1+ubuntu20.04 all [установлен, локальный]
zabbix-web-service/now 1:6.0.5-1+ubuntu20.04 amd64 [установлен, локальный]

Comment by Igor Lytkin [ 2022 Jul 07 ]

Это мой стендовый VPS. Я могу запустить вас на сервер для проверки установки zabbix. Напишите, если это нужно и полезно для решения.

Comment by Igor Lytkin [ 2022 Jul 07 ]

Только что выполнил

sudo apt update

sudo apt upgrage

перезагрузил VPS.

Веб-интерфейс заработал!

liv@singularity:~$ sudo apt list --installed | grep zabbix

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

zabbix-agent/now 1:6.0.5-1+ubuntu20.04 amd64 [установлен, локальный]
zabbix-apache-conf/now 1:6.0.5-1+ubuntu20.04 all [установлен, локальный]
zabbix-frontend-php/now 1:6.0.5-1+ubuntu20.04 all [установлен, локальный]
zabbix-release/now 1:6.0-1+ubuntu20.04 all [установлен, локальный]
zabbix-server-pgsql/now 1:6.0.5-1+ubuntu20.04 amd64 [установлен, локальный]
zabbix-sql-scripts/now 1:6.0.5-1+ubuntu20.04 all [установлен, локальный]
zabbix-web-service/now 1:6.0.5-1+ubuntu20.04 amd64 [установлен, локальный]
l

Версии файлов zabbix не изменились?

 

Comment by Andrey Tocko (Inactive) [ 2022 Jul 08 ]

Same version.
So it was a local package manager issue. Seen somewhat similar before. Maybe it is time to try rpm based distros
Closing the issue as it is not related to zabbix.

Please not that bug portal is international. Using english is mandatory so everyone looking for similar issues could understand posts.

Regards,
Andrey

Generated at Wed Apr 16 04:24:38 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.