SOLVED Framework upgrade to framework 15.0.17.24.1 (from current: 15.0.17.17.1) Crash/Error

Prits

Active Member
Joined
May 28, 2013
Messages
165
Reaction score
30
Hello Gurus, @wardmundy

Today I woke up to one of my incrediblepbx's 2020 on CrownCloud showing a number of modules available for upgrade.

I ran the module upgrades and Framework upgrade to 15.017.24.1 failed!

I cannot rollback either since it gives me the same error message trying to rollback.

Here is the error:
**************************************************************************************************************
Whoops \ Exception \ ErrorException (E_WARNING)
touch(): Unable to create file /tmp/cron.error because No such file or directory

Stack frames (11)
10
Whoops\Exception\ErrorException
/var/www/html/admin/libraries/BMO/Cron.class.php277
9
touch
/var/www/html/admin/libraries/BMO/Cron.class.php277
8
FreePBX\Cron installCrontab
/var/www/html/admin/libraries/BMO/Cron.class.php162
7
FreePBX\Cron remove
/var/www/html/admin/libraries/Builtin/UpdateManager.php231
6
FreePBX\Builtin\UpdateManager updateCrontab
/var/www/html/admin/modules/framework/installlib/installer.class.php2197
5
FreePBX\Install\Installer freepbx_settings_init
/var/www/html/admin/modules/framework/install.php253
4
include_once
/var/www/html/admin/libraries/modulefunctions.class.php2652
3
module_functions _doinclude
/var/www/html/admin/libraries/modulefunctions.class.php2568
2
module_functions _runscripts
/var/www/html/admin/libraries/modulefunctions.class.php2034
1
module_functions install
/var/www/html/admin/page.modules.php273
0
include
/var/www/html/admin/config.php477

*********************************************************************************************************

I checked that the file /tmp/cron.error does exist, if I understand even slightly what this error is trying to say ha!

My system is:

Incredible PBX/FAX 2020.1 for CentOS 7

Asterisk: UP Apache: UP MySQL: UP
SendMail: UP IPtables: UP SSH: UP
LAN port: UP Fail2Ban: UP Webmin: UP
UCP Dmon: UP PortKnock: UP NR VPN: UP
FaxGetty: DN IAX Modem: DN HylaFax: DN

RAM:105MB CentOS Rel. 7.8.2003 Disk:8.2GB

Asterisk 16.12.0 Incredible GUI 15.0.12.46

Private IP: <Hidden>

Public Info: <Hidden>

System Time: Tue Feb 16 10:46:35 MST 2021

< OK >
 
First things I always try is httpd restart, or fwconsole reload.
 
@Prits: Did you do this from within the GUI or at the command line. If the former, reread the tutorial and do it from the command line starting with fwconsole ma upgradeall.
 
First things I always try is httpd restart, or fwconsole reload.

I tried the reload/apply config from the GUI and it would fail etc

I did it from the console and the reload took place without any errors.

However, the framework module showed disabled pending update in the GUI.

so, I restarted the PBX at the console using the reboot script ensuring proper shutdown and reboot etc.

Then back in the GUI I did a module update on framework and it installed correctly and all seems to be fine now!

Thank you @KNERD for the advice!
 
@Prits: Did you do this from within the GUI or at the command line. If the former, reread the tutorial and do it from the command line starting with fwconsole ma upgradeall.

Ah @wardmundy , sorry I did not! I used the GUI. Noted! I shall do it always from the command line.

Thank you for the kind reminder @wardmundy !
 
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top