Re: Upgrade from PHP71 to PHP72 breaks icingaweb2

2018-11-16 Thread Xavier
On 15/11/2018 14:07, Lars Engels wrote:
> On Thu, Nov 08, 2018 at 10:06:15PM +0100, Xavier wrote:
>> On 08/11/2018 14:17, Lars Engels wrote:
>>> Do you see any php related entries in your apache logs?
>>>
>>
>> No, just the stack trace on screen
>>
> 
> I just encountered the same problem after upgrading from php71 to php72.
> I had to also upgrade mod_php71 to mod_php72 and restart Apache
> afterwards. Now Icinga Web 2 is up and running again.
> 

Il deleteted all the php72 stuff. The reinstalled it, version was bumped
from 7.2.11 to 7.2.12. And guess what ? It works again !

Thanks to all who helped
-- 
Xavier Humbert - sysadmin & network engineer
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Upgrade from PHP71 to PHP72 breaks icingaweb2

2018-11-15 Thread Lars Engels
On Thu, Nov 08, 2018 at 10:06:15PM +0100, Xavier wrote:
> On 08/11/2018 14:17, Lars Engels wrote:
> > Do you see any php related entries in your apache logs?
> > 
> 
> No, just the stack trace on screen
> 

I just encountered the same problem after upgrading from php71 to php72.
I had to also upgrade mod_php71 to mod_php72 and restart Apache
afterwards. Now Icinga Web 2 is up and running again.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Upgrade from PHP71 to PHP72 breaks icingaweb2

2018-11-08 Thread Xavier
On 08/11/2018 14:17, Lars Engels wrote:
> On Thu, Nov 08, 2018 at 01:02:43PM +0100, Xavier wrote:
>> On 08/11/2018 12:57, Xavier wrote:
>>> On 07/11/2018 13:09, Lars Engels wrote:
 On Wed, Nov 07, 2018 at 08:48:19AM +0100, Guido Falsi wrote:
> On 07/11/18 08:46, Guido Falsi wrote:
>> On 07/11/18 07:24, Xavier wrote:
>>> On 03/11/2018 18:50, Guido Falsi wrote:
 On 03/11/18 18:17, Xavier Humbert wrote:
> Context FreeBSD 11-STABLE, last pkg upgrade led to update PHP71 to 
> PHP72.
> php72-json is installed, but when I launch a navigator, IcingaWeb2
> crashes with :
>
>> Call to undefined function Icinga\Util\json_encode() in
>> /usr/local/www/icingaweb2/library/Icinga/Util/Json.php:57
>>
>
> Any idea ?

 Yess, you need to install the php72-json package which provides the
 json_encode() function.

 The port actually depends on it, so something went wrong with your 
 update.

 You should try reinstalling it and check that all dependencies install
 successfully.

>>>
>>> Thanks for your answer Guido. Unfortunately, as I wrote, php-json *is*
>>> installed, in the correct flavour. And pkg check -Bd succeeds
>>>
>>
>> Is it being loaded?
>>
>> Check for 'ext-20-json.ini' to be present in /usr/local/etc/php and have
>> correct content.
>>
>
> BTW, if you've not tried it a 'pkg install -f php72-json' is worth a try.

 Can you check if you also upgraded the mod_php[57][16] module for
 Apache?

>>>
>>> Ah ! I tried already too reinstall php72-json, but not mod_php
>>> And it fails :
>>>
>>> # pkg install -f mod_php72
>>> Updating FreeBSD repository catalogue...
>>> FreeBSD repository is up to date.
>>> All repositories are up to date.
>>> The following 1 package(s) will be affected (of 0 checked):
>>>
>>> New packages to be INSTALLED:
>>> mod_php72: 7.2.11
>>>
>>> Number of packages to be installed: 1
>>>
>>> The process will require 5 MiB more space.
>>> 1 MiB to be downloaded.
>>>
>>> Proceed with this action? [y/N]: y
>>> [1/1] Fetching mod_php72-7.2.11.txz: 100%1 MiB   1.2MB/s00:01
>>> pkg: cached package mod_php72-7.2.11: size mismatch, fetching from remote
>>> Fetching mod_php72-7.2.11.txz: 100%1 MiB   1.2MB/s00:01
>>> pkg: cached package mod_php72-7.2.11: size mismatch, cannot continue
>>>
>>> I'll investigate that.
>>>
>>> Thanks,
>>>
>>
>> Well, after pkg update, it installs, but the web is still failing
> 
> Do you see any php related entries in your apache logs?
> 

No, just the stack trace on screen

-- 
Xavier

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Upgrade from PHP71 to PHP72 breaks icingaweb2

2018-11-08 Thread Lars Engels
On Thu, Nov 08, 2018 at 01:02:43PM +0100, Xavier wrote:
> On 08/11/2018 12:57, Xavier wrote:
> > On 07/11/2018 13:09, Lars Engels wrote:
> >> On Wed, Nov 07, 2018 at 08:48:19AM +0100, Guido Falsi wrote:
> >>> On 07/11/18 08:46, Guido Falsi wrote:
>  On 07/11/18 07:24, Xavier wrote:
> > On 03/11/2018 18:50, Guido Falsi wrote:
> >> On 03/11/18 18:17, Xavier Humbert wrote:
> >>> Context FreeBSD 11-STABLE, last pkg upgrade led to update PHP71 to 
> >>> PHP72.
> >>> php72-json is installed, but when I launch a navigator, IcingaWeb2
> >>> crashes with :
> >>>
>  Call to undefined function Icinga\Util\json_encode() in
>  /usr/local/www/icingaweb2/library/Icinga/Util/Json.php:57
> 
> >>>
> >>> Any idea ?
> >>
> >> Yess, you need to install the php72-json package which provides the
> >> json_encode() function.
> >>
> >> The port actually depends on it, so something went wrong with your 
> >> update.
> >>
> >> You should try reinstalling it and check that all dependencies install
> >> successfully.
> >>
> >
> > Thanks for your answer Guido. Unfortunately, as I wrote, php-json *is*
> > installed, in the correct flavour. And pkg check -Bd succeeds
> >
> 
>  Is it being loaded?
> 
>  Check for 'ext-20-json.ini' to be present in /usr/local/etc/php and have
>  correct content.
> 
> >>>
> >>> BTW, if you've not tried it a 'pkg install -f php72-json' is worth a try.
> >>
> >> Can you check if you also upgraded the mod_php[57][16] module for
> >> Apache?
> >>
> > 
> > Ah ! I tried already too reinstall php72-json, but not mod_php
> > And it fails :
> > 
> > # pkg install -f mod_php72
> > Updating FreeBSD repository catalogue...
> > FreeBSD repository is up to date.
> > All repositories are up to date.
> > The following 1 package(s) will be affected (of 0 checked):
> > 
> > New packages to be INSTALLED:
> > mod_php72: 7.2.11
> > 
> > Number of packages to be installed: 1
> > 
> > The process will require 5 MiB more space.
> > 1 MiB to be downloaded.
> > 
> > Proceed with this action? [y/N]: y
> > [1/1] Fetching mod_php72-7.2.11.txz: 100%1 MiB   1.2MB/s00:01
> > pkg: cached package mod_php72-7.2.11: size mismatch, fetching from remote
> > Fetching mod_php72-7.2.11.txz: 100%1 MiB   1.2MB/s00:01
> > pkg: cached package mod_php72-7.2.11: size mismatch, cannot continue
> > 
> > I'll investigate that.
> > 
> > Thanks,
> > 
> 
> Well, after pkg update, it installs, but the web is still failing

Do you see any php related entries in your apache logs?
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Upgrade from PHP71 to PHP72 breaks icingaweb2

2018-11-08 Thread Xavier
On 08/11/2018 12:57, Xavier wrote:
> On 07/11/2018 13:09, Lars Engels wrote:
>> On Wed, Nov 07, 2018 at 08:48:19AM +0100, Guido Falsi wrote:
>>> On 07/11/18 08:46, Guido Falsi wrote:
 On 07/11/18 07:24, Xavier wrote:
> On 03/11/2018 18:50, Guido Falsi wrote:
>> On 03/11/18 18:17, Xavier Humbert wrote:
>>> Context FreeBSD 11-STABLE, last pkg upgrade led to update PHP71 to 
>>> PHP72.
>>> php72-json is installed, but when I launch a navigator, IcingaWeb2
>>> crashes with :
>>>
 Call to undefined function Icinga\Util\json_encode() in
 /usr/local/www/icingaweb2/library/Icinga/Util/Json.php:57

>>>
>>> Any idea ?
>>
>> Yess, you need to install the php72-json package which provides the
>> json_encode() function.
>>
>> The port actually depends on it, so something went wrong with your 
>> update.
>>
>> You should try reinstalling it and check that all dependencies install
>> successfully.
>>
>
> Thanks for your answer Guido. Unfortunately, as I wrote, php-json *is*
> installed, in the correct flavour. And pkg check -Bd succeeds
>

 Is it being loaded?

 Check for 'ext-20-json.ini' to be present in /usr/local/etc/php and have
 correct content.

>>>
>>> BTW, if you've not tried it a 'pkg install -f php72-json' is worth a try.
>>
>> Can you check if you also upgraded the mod_php[57][16] module for
>> Apache?
>>
> 
> Ah ! I tried already too reinstall php72-json, but not mod_php
> And it fails :
> 
> # pkg install -f mod_php72
> Updating FreeBSD repository catalogue...
> FreeBSD repository is up to date.
> All repositories are up to date.
> The following 1 package(s) will be affected (of 0 checked):
> 
> New packages to be INSTALLED:
> mod_php72: 7.2.11
> 
> Number of packages to be installed: 1
> 
> The process will require 5 MiB more space.
> 1 MiB to be downloaded.
> 
> Proceed with this action? [y/N]: y
> [1/1] Fetching mod_php72-7.2.11.txz: 100%1 MiB   1.2MB/s00:01
> pkg: cached package mod_php72-7.2.11: size mismatch, fetching from remote
> Fetching mod_php72-7.2.11.txz: 100%1 MiB   1.2MB/s00:01
> pkg: cached package mod_php72-7.2.11: size mismatch, cannot continue
> 
> I'll investigate that.
> 
> Thanks,
> 

Well, after pkg update, it installs, but the web is still failing

-- 
Xavier

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Upgrade from PHP71 to PHP72 breaks icingaweb2

2018-11-08 Thread Xavier
On 07/11/2018 13:09, Lars Engels wrote:
> On Wed, Nov 07, 2018 at 08:48:19AM +0100, Guido Falsi wrote:
>> On 07/11/18 08:46, Guido Falsi wrote:
>>> On 07/11/18 07:24, Xavier wrote:
 On 03/11/2018 18:50, Guido Falsi wrote:
> On 03/11/18 18:17, Xavier Humbert wrote:
>> Context FreeBSD 11-STABLE, last pkg upgrade led to update PHP71 to PHP72.
>> php72-json is installed, but when I launch a navigator, IcingaWeb2
>> crashes with :
>>
>>> Call to undefined function Icinga\Util\json_encode() in
>>> /usr/local/www/icingaweb2/library/Icinga/Util/Json.php:57
>>>
>>
>> Any idea ?
>
> Yess, you need to install the php72-json package which provides the
> json_encode() function.
>
> The port actually depends on it, so something went wrong with your update.
>
> You should try reinstalling it and check that all dependencies install
> successfully.
>

 Thanks for your answer Guido. Unfortunately, as I wrote, php-json *is*
 installed, in the correct flavour. And pkg check -Bd succeeds

>>>
>>> Is it being loaded?
>>>
>>> Check for 'ext-20-json.ini' to be present in /usr/local/etc/php and have
>>> correct content.
>>>
>>
>> BTW, if you've not tried it a 'pkg install -f php72-json' is worth a try.
> 
> Can you check if you also upgraded the mod_php[57][16] module for
> Apache?
> 

Ah ! I tried already too reinstall php72-json, but not mod_php
And it fails :

# pkg install -f mod_php72
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
mod_php72: 7.2.11

Number of packages to be installed: 1

The process will require 5 MiB more space.
1 MiB to be downloaded.

Proceed with this action? [y/N]: y
[1/1] Fetching mod_php72-7.2.11.txz: 100%1 MiB   1.2MB/s00:01
pkg: cached package mod_php72-7.2.11: size mismatch, fetching from remote
Fetching mod_php72-7.2.11.txz: 100%1 MiB   1.2MB/s00:01
pkg: cached package mod_php72-7.2.11: size mismatch, cannot continue

I'll investigate that.

Thanks,

-- 
Xavier
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Upgrade from PHP71 to PHP72 breaks icingaweb2

2018-11-07 Thread Lars Engels
On Wed, Nov 07, 2018 at 08:48:19AM +0100, Guido Falsi wrote:
> On 07/11/18 08:46, Guido Falsi wrote:
> > On 07/11/18 07:24, Xavier wrote:
> >> On 03/11/2018 18:50, Guido Falsi wrote:
> >>> On 03/11/18 18:17, Xavier Humbert wrote:
>  Context FreeBSD 11-STABLE, last pkg upgrade led to update PHP71 to PHP72.
>  php72-json is installed, but when I launch a navigator, IcingaWeb2
>  crashes with :
> 
> > Call to undefined function Icinga\Util\json_encode() in
> > /usr/local/www/icingaweb2/library/Icinga/Util/Json.php:57
> >
> 
>  Any idea ?
> >>>
> >>> Yess, you need to install the php72-json package which provides the
> >>> json_encode() function.
> >>>
> >>> The port actually depends on it, so something went wrong with your update.
> >>>
> >>> You should try reinstalling it and check that all dependencies install
> >>> successfully.
> >>>
> >>
> >> Thanks for your answer Guido. Unfortunately, as I wrote, php-json *is*
> >> installed, in the correct flavour. And pkg check -Bd succeeds
> >>
> > 
> > Is it being loaded?
> > 
> > Check for 'ext-20-json.ini' to be present in /usr/local/etc/php and have
> > correct content.
> > 
> 
> BTW, if you've not tried it a 'pkg install -f php72-json' is worth a try.

Can you check if you also upgraded the mod_php[57][16] module for
Apache?
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Upgrade from PHP71 to PHP72 breaks icingaweb2

2018-11-06 Thread Guido Falsi
On 07/11/18 08:46, Guido Falsi wrote:
> On 07/11/18 07:24, Xavier wrote:
>> On 03/11/2018 18:50, Guido Falsi wrote:
>>> On 03/11/18 18:17, Xavier Humbert wrote:
 Context FreeBSD 11-STABLE, last pkg upgrade led to update PHP71 to PHP72.
 php72-json is installed, but when I launch a navigator, IcingaWeb2
 crashes with :

> Call to undefined function Icinga\Util\json_encode() in
> /usr/local/www/icingaweb2/library/Icinga/Util/Json.php:57
>

 Any idea ?
>>>
>>> Yess, you need to install the php72-json package which provides the
>>> json_encode() function.
>>>
>>> The port actually depends on it, so something went wrong with your update.
>>>
>>> You should try reinstalling it and check that all dependencies install
>>> successfully.
>>>
>>
>> Thanks for your answer Guido. Unfortunately, as I wrote, php-json *is*
>> installed, in the correct flavour. And pkg check -Bd succeeds
>>
> 
> Is it being loaded?
> 
> Check for 'ext-20-json.ini' to be present in /usr/local/etc/php and have
> correct content.
> 

BTW, if you've not tried it a 'pkg install -f php72-json' is worth a try.

-- 
Guido Falsi 
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Upgrade from PHP71 to PHP72 breaks icingaweb2

2018-11-06 Thread Guido Falsi
On 07/11/18 07:24, Xavier wrote:
> On 03/11/2018 18:50, Guido Falsi wrote:
>> On 03/11/18 18:17, Xavier Humbert wrote:
>>> Context FreeBSD 11-STABLE, last pkg upgrade led to update PHP71 to PHP72.
>>> php72-json is installed, but when I launch a navigator, IcingaWeb2
>>> crashes with :
>>>
 Call to undefined function Icinga\Util\json_encode() in
 /usr/local/www/icingaweb2/library/Icinga/Util/Json.php:57

>>>
>>> Any idea ?
>>
>> Yess, you need to install the php72-json package which provides the
>> json_encode() function.
>>
>> The port actually depends on it, so something went wrong with your update.
>>
>> You should try reinstalling it and check that all dependencies install
>> successfully.
>>
> 
> Thanks for your answer Guido. Unfortunately, as I wrote, php-json *is*
> installed, in the correct flavour. And pkg check -Bd succeeds
> 

Is it being loaded?

Check for 'ext-20-json.ini' to be present in /usr/local/etc/php and have
correct content.

-- 
Guido Falsi 
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Upgrade from PHP71 to PHP72 breaks icingaweb2

2018-11-06 Thread Xavier
On 03/11/2018 18:50, Guido Falsi wrote:
> On 03/11/18 18:17, Xavier Humbert wrote:
>> Context FreeBSD 11-STABLE, last pkg upgrade led to update PHP71 to PHP72.
>> php72-json is installed, but when I launch a navigator, IcingaWeb2
>> crashes with :
>>
>>> Call to undefined function Icinga\Util\json_encode() in
>>> /usr/local/www/icingaweb2/library/Icinga/Util/Json.php:57
>>>
>>
>> Any idea ?
> 
> Yess, you need to install the php72-json package which provides the
> json_encode() function.
> 
> The port actually depends on it, so something went wrong with your update.
> 
> You should try reinstalling it and check that all dependencies install
> successfully.
> 

Thanks for your answer Guido. Unfortunately, as I wrote, php-json *is*
installed, in the correct flavour. And pkg check -Bd succeeds

Regards

-- 
Xavier
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Upgrade from PHP71 to PHP72 breaks icingaweb2

2018-11-03 Thread Guido Falsi
On 03/11/18 18:17, Xavier Humbert wrote:
> Context FreeBSD 11-STABLE, last pkg upgrade led to update PHP71 to PHP72.
> php72-json is installed, but when I launch a navigator, IcingaWeb2
> crashes with :
> 
>> Call to undefined function Icinga\Util\json_encode() in
>> /usr/local/www/icingaweb2/library/Icinga/Util/Json.php:57
>>
> 
> Any idea ?

Yess, you need to install the php72-json package which provides the
json_encode() function.

The port actually depends on it, so something went wrong with your update.

You should try reinstalling it and check that all dependencies install
successfully.

-- 
Guido Falsi 
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Upgrade from PHP71 to PHP72 breaks icingaweb2

2018-11-03 Thread Xavier Humbert
Context FreeBSD 11-STABLE, last pkg upgrade led to update PHP71 to 
PHP72.

php72-json is installed, but when I launch a navigator, IcingaWeb2
crashes with :


Call to undefined function Icinga\Util\json_encode() in
/usr/local/www/icingaweb2/library/Icinga/Util/Json.php:57



Any idea ?

Thanks

--
Xavier
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"