[Pkg-nagios-devel] Bug#921723: Bug#921723: Bug#921723: icingaweb2: upgrading package break the database connection
Maggioni Massimo
massimo.maggioni at rovagnati.it
Mon Feb 11 09:51:44 GMT 2019
Hi Sebastiaan,
I upgraded successfully with this steps:
Before upgrade I hold the mariadb-server e client 10.1 packages
Upgrade all packages
a2enmod php7.3
service apache2 restart
the upgrade add an extra backslash that cause a fail with ldap bind
[cid:image001.png at 01D4C1F6.D1936380]
I edited manually the resource.ini to remove the backslash, but if I save the changes from the GUI the extra backslash is readded.
Temporarily I don’t save the configuration from GUI.
Thank you for support!
Max
-----Original Message-----
From: Sebastiaan Couwenberg <sebastic at xs4all.nl>
Sent: domenica 10 febbraio 2019 10:23
To: Maggioni Massimo <massimo.maggioni at rovagnati.it>; 921723-done at bugs.debian.org
Subject: Re: [Pkg-nagios-devel] Bug#921723: Bug#921723: icingaweb2: upgrading package break the database connection
notfound 921723 icingaweb2/2.6.2-2
thanks
Hi Max,
On 2/8/19 4:09 PM, Sebastiaan Couwenberg wrote:
> On 2/8/19 1:25 PM, Max wrote:
>> after upgrade the login page show this error:
>>
>> Fatal error: Uncaught error: Undefined class constant
>> 'MYSQL_ATTR_INIT_COMMAND' in
>> /usr/share/php/Icinga/Data/Db/DbConnection.php:196
>> stack trace: bla bla bla ...
>>
>> the package php7.2-mysql is marked as unused and removed automatically from the system.
>> I suppose is needed
>
> No, php7.3 is now the default, make sure that you're using that
> instead instead of 7.2.
This seems to be the issue, make sure that you have enabled the pdo_mysql module for php7.3.
After reconfiguring my icinga2 test setup to use MySQL instead of PostgreSQL, and enabling the pdo_mysql module for php7.3 it works just fine.
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-nagios-devel/attachments/20190211/0845f625/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 55179 bytes
Desc: image001.png
URL: <http://alioth-lists.debian.net/pipermail/pkg-nagios-devel/attachments/20190211/0845f625/attachment.png>
More information about the Pkg-nagios-devel
mailing list