TIPS Need some help with updated IncrediblePBX 2021.

eNetKC

New Member
Joined
Sep 9, 2021
Messages
1
Reaction score
0
I had an IncrediblePBX 2021 setup and running for several months. I tried to add a new SIP phone to it and could not get it to register. So I installed updates to all of the modules that had updates available and then clicked on the Apply button at the top and it started hanging when I would click on it to apply config changes. Unable to figure out why, I deleted the VM and started a fresh install. So here's where I'm at and what I need a hand with.

I'm using the IncrediblePBX 2021 VMware image. I deployed the OVF and created the virtual machine on ESXi 6.7. Everything looked like it went properly. I set the passwords and IP info and added the IP address exclusions for ipchanges. I then logged in to the admin page and updated all of the modules to the most recent version. Then I went to the SIP settings and started to add my Skyetel sip trunk info and I noticed that when I clicked on the Apply button at the top again, the Apply button process has started hanging again. So I ssh'd into the virtual machine and did an "fwconsole restart - verbose" and I get the following:


- - - - - - - - - - - - -

WARNING: Always run Incredible PBX behind a secure firewall.
root@IncrediblePBX:~ $ fwconsole reload -verbose

In ArgvInput.php line 125:

[Symfony\Component\Console\Exception\RuntimeException]
The "-e" option does not exist.


Exception trace:
() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Input/ArgvInput.php:125
Symfony\Component\Console\Input\ArgvInput->parseShortOptionSet() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Input/ArgvInput.php:105
Symfony\Component\Console\Input\ArgvInput->parseShortOption() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Input/ArgvInput.php:84
Symfony\Component\Console\Input\ArgvInput->parse() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Input/Input.php:55
Symfony\Component\Console\Input\Input->bind() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Command/Command.php:214
Symfony\Component\Console\Command\Command->run() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:960
Symfony\Component\Console\Application->doRunCommand() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:255
Symfony\Component\Console\Application->doRun() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:148
Symfony\Component\Console\Application->run() at /var/lib/asterisk/bin/fwconsole:163

reload [--json] [--dry-run] [--skip-registry-checks] [--dont-reload-asterisk]

WARNING: Always run Incredible PBX behind a secure firewall.
root@IncrediblePBX:~ $

- - - - - - - - - - - - -

When I go to Applications->Extensions and use the "Quick Create Extension", I enter all of the information on screen one, then Next and enter all of the information for Screen two, and then click Finish, I also get the following error:

Undefined index: clients
File: /var/www/html/admin/modules/clearlysp/Clearlysp.class..php:7

But it does seem to save the extension info anyway. So I'm assuming this one is something changed with an update to the ClearlyIP module.

- - - - - - - - - - - - -

There seems to be something in one of the updates that breaks "fwconsole reload", but I'm not familiar enough with it to find it. Any ideas on what to look for would be greatly appreciated!

Thanks!
 
funny you posted this. I have been trying to bulk import 100 extensions and I get a Forbidden
File: /var/www/html/admin/modules/clearlysp/Clearlysp.class..php:7

I was going to reinstall until I saw your post. I'll hang on until for some repiles.
Thank you
 
If you are not using ClearlyIP modules for Clearly Anywhere or Clearly Trunking, remove them from your system. I don't even have the clearlysp directory in my modules directory. See if that helps. If not, either @wardmundy or someone at ClearlyIP will need to comment.

The only thing I found referencing the clearlysp module is here on the ClearlyIP site: https://kb.clearlyip.com/FreePBX/Configuring-Clearly-Anywhere-Module.html
 
@eNetKC: Go through the recommended upgrade process from the command line and see if that fixes things:
Code:
fwconsole ma upgradeall
rm -rf /tmp/*
fwconsole reload
/root/sig-fix
/root/sig-fix
 
Last edited:
fwconsole ma upgradeall rm -f /tmp/* fwconsole reload /root/sig-fix /root/sig-fix
Its about time we got this script into /root/ directory
Just ssh into your server login as root, and then paste this code into the root directory Linux CLI
Bash:
echo -e '#!/bin/bash
fwconsole ma upgradeall
rm -rf /tmp/*
fwconsole reload
/root/sig-fix
/root/sig-fix' > /root/upgrade-fpbx-modules

chmod +x /root/upgrade-fpbx-modules
#/root/upgrade-fpbx-modules
 
Last edited:
Good idea but the script doesn't quite work. In addition, the rm -f needs to be rm -rf to take out some other junk in the /tmp file. Script errors out and never creates the upgrade-fpbx-modules file.
 
wasn't that discussed just a couple months ago? I remember that @wardmundy went thru and changed the instruction tutorials on Nerdvittles to correct them with the correct commands. He must have forgotten about that when he wrote his post above. Must have overworked his memory posting all the updates LOL
 

Members online

Forum statistics

Threads
26,688
Messages
174,412
Members
20,259
Latest member
Fadeek86
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