License for this product is not valid: The license has expired

Hi guys,

I’m installing FreePBX Version:15.0.17.34 on an autonomous system disconnected from internet.
By security, the IPBX can only be connected to internet during the installation and 2 licences are installed on the IPBX :

  • FreePBX Default License available until “16-Jan-2030”
  • FreePBX CM Extension Routing 25 Year License

I’m facing an issue with this first Licence available until 16-Jan-2030,
By default, this license will automatically re-activate before this date,
Nevertheless the IPBX can’t do that without internet.

I tested to simulate the expiration of the licence by increasing the system date in 2031.
the conclusion was :

  • Before 16 January 2030 ==> All works
  • After 16 January 2030 ==> The licence has expired and the webpanel is no longer available.

I checked the HTTP log in the IPBX and I saw those licence error in “/var/log/httpd/error-log”

Error opening Certificate /etc/pki/tls/certs/localhost.crt
140143647168400:error:0200100D:system library:fopen:Permission denied:bss_file.c:402:fopen('/etc/pki/tls/certs/localhost.crt','r')
140143647168400:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:404:
unable to load certificate
[Thu Oct 02 18:00:04.681715 2031] [:error] [pid 13728] [client 192.168.0.7:1181] PHP Warning:  License for this product is not valid: The license has expired in /var/www/html/admin/modules/areminder/functions.inc/functions.inc.php on line 0, referer: http://192.168.0.2/admin/config.php?display=advancedsettings
[Thu Oct 02 18:00:04.681797 2031] [:error] [pid 13728] [client 192.168.0.7:1181] PHP Warning:  License check failed! in /var/www/html/admin/modules/areminder/functions.inc/functions.inc.php on line 0, referer: http://192.168.0.2/admin/config.php?display=advancedsettings
[Thu Oct 02 18:00:04.685968 2031] [:error] [pid 13728] [client 192.168.0.7:1181] PHP Warning:  License for this product is not valid: The license has expired in /var/www/html/admin/modules/broadcast/includes/broadcast.extend.class.php on line 0, referer: http://192.168.0.2/admin/config.php?display=advancedsettings
[Thu Oct 02 18:00:04.686068 2031] [:error] [pid 13728] [client 192.168.0.7:1181] PHP Warning:  License check failed! in /var/www/html/admin/modules/broadcast/includes/broadcast.extend.class.php on line 0, referer: http://192.168.0.2/admin/config.php?display=advancedsettings
[Thu Oct 02 18:00:04.689934 2031] [:error] [pid 13728] [client 192.168.0.7:1181] PHP Warning:  License for this product is not valid: The license has expired in /var/www/html/admin/modules/callerid/includes/callerid.extend.class.php on line 0, referer: http://192.168.0.2/admin/config.php?display=advancedsettings
[Thu Oct 02 18:00:04.689997 2031] [:error] [pid 13728] [client 192.168.0.7:1181] PHP Warning:  License check failed! in /var/www/html/admin/modules/callerid/includes/callerid.extend.class.php on line 0, referer: http://192.168.0.2/admin/config.php?display=advancedsettings
[Thu Oct 02 18:00:04.698773 2031] [:error] [pid 13728] [client 192.168.0.7:1181] PHP Fatal error:  Class 'Monolog\\Handler\\StreamHandler' not found in /var/www/html/admin/modules/callerid/includes/callerid.extend.class.php on line 0, referer: http://192.168.0.2/admin/config.php?display=advancedsettings
[Thu Oct 02 18:00:09.665077 2031] [:error] [pid 13743] [client 192.168.0.7:1184] PHP Warning:  License for this product is not valid: The license has expired in /var/www/html/admin/modules/areminder/functions.inc/functions.inc.php on line 0
[Thu Oct 02 18:00:09.665142 2031] [:error] [pid 13743] [client 192.168.0.7:1184] PHP Warning:  License check failed! in /var/www/html/admin/modules/areminder/functions.inc/functions.inc.php on line 0
[Thu Oct 02 18:00:09.667506 2031] [:error] [pid 13743] [client 192.168.0.7:1184] PHP Fatal error:  Class 'xml2Array' not found in /var/www/html/admin/modules/areminder/functions.inc/functions.inc.php on line 0
[Thu Oct 02 18:00:04.244566 2031] [:error] [pid 13743] [client 192.168.0.7:7542] PHP Warning:  License for this product is not valid: The license has expired in /var/www/html/admin/modules/areminder/functions.inc/functions.inc.php on line 0, referer: http://192.168.0.2/admin/config.php
[Thu Oct 02 18:00:04.244640 2031] [:error] [pid 13743] [client 192.168.0.7:7542] PHP Warning:  License check failed! in /var/www/html/admin/modules/areminder/functions.inc/functions.inc.php on line 0, referer: http://192.168.0.2/admin/config.php
[Thu Oct 02 18:00:04.246960 2031] [:error] [pid 13743] [client 192.168.0.7:7542] PHP Fatal error:  Class 'xml2Array' not found in /var/www/html/admin/modules/areminder/functions.inc/functions.inc.php on line 0, referer: http://192.168.0.2/admin/config.php


As I understood, the issue seems to be located on several php files, but i don’t know how i can increase this license date to be automonous during 25years like the other licence.
Do you have an idea to solve my issue ? Maybe it’s possible to manage the license without internet, thank you ! :hedgehog:

Licenses can’t be managed without internet access. I would expect all Free OSS modules to continue working after the System Admin registration expires tho, so assuming the xm2Array issue is caused by the registration expiry, that is a bug.

Hello Igaetz,

thank you for your quickly answer.
So, as I understood all the Free OSS modules should be working after the license expiration,
nevertheless it seems to have an impact in the webpanel ? do you have an idea to solve this bug?

I do. The first step involves opening a ticket to see if it can be reproduced.