Bug 51019 - Ошибка авторизации в web интерфейсе при использовании postgresql
Summary: Ошибка авторизации в web интерфейсе при использовании postgresql
Status: NEW
Alias: None
Product: Branch p10
Classification: Unclassified
Component: icingaweb2 (show other bugs)
Version: не указана
Hardware: x86_64 Linux
: P5 normal
Assignee: manowar@altlinux.org
QA Contact: qa-p10@altlinux.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-01 12:18 MSK by Alexander Makeenkov
Modified: 2024-08-01 12:18 MSK (History)
0 users

See Also:


Attachments
скриншот (87.97 KB, image/png)
2024-08-01 12:18 MSK, Alexander Makeenkov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Makeenkov 2024-08-01 12:18:00 MSK
Created attachment 16528 [details]
скриншот

Версии пакетов:
icingaweb2-2.12.1-alt1
icinga2-2.14.0-alt5
php8.2-pdo_pgsql-8.2.20-alt1
postgresql15-server-15.7-alt0.p10.3

При попытке залогиниться в web интерфейс после всех настроек получаю ошибку:

"""
Call to undefined function Icinga\Authentication\User\pg_unescape_bytea()

#0 /usr/share/icingaweb2/library/Icinga/Authentication/User/DbUserBackend.php(228): Icinga\Authentication\User\DbUserBackend->getPasswordHash(String)
#1 /usr/share/icingaweb2/library/Icinga/Authentication/AuthChain.php(115): Icinga\Authentication\User\DbUserBackend->authenticate(Object(Icinga\User), String)
#2 /usr/share/icingaweb2/application/forms/Authentication/LoginForm.php(149): Icinga\Authentication\AuthChain->authenticate(Object(Icinga\User), String)
#3 /usr/share/icingaweb2/library/Icinga/Web/Form.php(1175): Icinga\Forms\Authentication\LoginForm->onSuccess()
#4 /usr/share/icingaweb2/application/controllers/AuthenticationController.php(94): Icinga\Web\Form->handleRequest()
#5 /usr/share/icinga-php/vendor/vendor/shardj/zf1-future/library/Zend/Controller/Action.php(516): Icinga\Controllers\AuthenticationController->loginAction()
#6 /usr/share/icingaweb2/library/Icinga/Web/Controller/Dispatcher.php(76): Zend_Controller_Action->dispatch(String)
#7 /usr/share/icinga-php/vendor/vendor/shardj/zf1-future/library/Zend/Controller/Front.php(954): Icinga\Web\Controller\Dispatcher->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response))
#8 /usr/share/icingaweb2/library/Icinga/Application/Web.php(294): Zend_Controller_Front->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response))
#9 /usr/share/icingaweb2/library/Icinga/Application/webrouter.php(105): Icinga\Application\Web->dispatch()
#10 /usr/share/icingaweb2/public/index.php(4): require_once(String)
#11 {main}
"""

При настройке на странице Requirements все зависимости были установлены, в том числе:

"""
Модуль PHP: PDO-PostgreSQL
Для хранения пользователей или персональных настроек в базе данных PostgreSQL требуется модуль PDO-PostgreSQL для PHP.
Модуль PHP PDO-PostgreSQL доступен.
"""

Не воспроизводится в p11 (но там используется php8.3, которого в p10 нету).