Error when clicking apply config

Now the update log says No Update currently running. You may close this window. I was under the impression that you could update the system with the system admin module, but not seeing that option. Does it need to be done from cli?

In addition to the UCP errors, it looks like there’s also a problem with his iSymphony installation. Deleting it from the Module Admin (and reinstalling if needed) will clear the error in the original message.

I’m not getting that error anymore when I click apply config, so I didn’t mess with symphony.

1 Like

iSymphony and symfony are completely different and unrelated things.

1 Like

I didn’t do anything with either since i’m not getting that error. Still having issue with ucp node tho.

Again. The error says node is not installed. Uninstall the node rpm and reinstall it.

I no longer get the error when I click apply config. The dashboard does show ucp daemon not running. Just to make sure we’re on the same page. So I uninstalled node and reinstalled.

[root@phonesystem ~]# yum install nodejs
Loaded plugins: fastestmirror, kmod
Setting up Install Process
Loading mirror speeds from cached hostfile
base                                                     | 2.0 kB     00:00
extras                                                   | 1.3 kB     00:00
pbx                                                      | 2.9 kB     00:00
schmooze-commercial                                      | 2.9 kB     00:00
updates                                                  | 1.3 kB     00:00
Package nodejs-0.12.18-1nodesource.el6.x86_64 already installed and latest version
Nothing to do
[root@phonesystem ~]# apt-get install nodejs
-bash: apt-get: command not found
[root@phonesystem ~]# apt-get install node
-bash: apt-get: command not found
[root@phonesystem ~]# yum upgrade nodejs
Loaded plugins: fastestmirror, kmod
Setting up Upgrade Process
Loading mirror speeds from cached hostfile
No Packages marked for Update
[root@phonesystem ~]# fwconsole chown
Taking too long? Customize the chown command, See http://wiki.freepbx.org/display/FOP/FreePBX+Chown+Conf
Setting Permissions...
Setting base permissions...Done
Setting specific permissions...
 11981 [============================]
Finished setting permissions
[root@phonesystem ~]# fwconsole ma upgrade framework && fwconsole ma upgradeall
No repos specified, using: [standard,commercial] from last GUI settings

Starting framework download..
Processing framework
Verifying local module download...Verified
Extracting...Done
Module framework successfully downloaded
installing files to /var/www/html..done
installing files to /var/lib/asterisk/bin..done
installing files to /var/lib/asterisk/agi-bin..done
Checking for upgrades..
No further upgrades necessary
framework file install done, removing packages from module
file/directory: /var/www/html/admin/modules/framework/amp_conf removed successfully
file/directory: /var/www/html/admin/modules/framework/upgrades removed successfully
file/directory: /var/www/html/admin/modules/framework/start_asterisk removed successfully
file/directory: /var/www/html/admin/modules/framework/install removed successfully
file/directory: /var/www/html/admin/modules/framework/installlib removed successfully
Building Packaged Scripts...Done
Generating CSS...Done
Module framework successfully installed
Updating Hooks...Done
Updating Hooks...Done
No repos specified, using: [standard,commercial] from last GUI settings

Up to date.
Updating Hooks...Done
[root@phonesystem ~]# yum install node
Loaded plugins: fastestmirror, kmod
Setting up Install Process
Loading mirror speeds from cached hostfile
No package node available.
Error: Nothing to do
[root@phonesystem ~]# /usr/sbin/sysadmin_update_system --unlock
[root@phonesystem ~]# fwconsole remove node


  [Symfony\Component\Console\Exception\CommandNotFoundException]
  Command "remove" is not defined.


[root@phonesystem ~]# yum remove nodejs
Loaded plugins: fastestmirror, kmod
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package nodejs.x86_64 0:0.12.18-1nodesource.el6 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package       Arch          Version                          Repository   Size
================================================================================
Removing:
 nodejs        x86_64        0.12.18-1nodesource.el6          @pbx         25 M

Transaction Summary
================================================================================
Remove        1 Package(s)

Installed size: 25 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Erasing    : nodejs-0.12.18-1nodesource.el6.x86_64                        1/1
  Verifying  : nodejs-0.12.18-1nodesource.el6.x86_64                        1/1

Removed:
  nodejs.x86_64 0:0.12.18-1nodesource.el6

Complete!
[root@phonesystem ~]# yum remove npm
Loaded plugins: fastestmirror, kmod
Setting up Remove Process
No Match for argument: npm
Loading mirror speeds from cached hostfile
No Packages marked for removal
[root@phonesystem ~]# yum install nodejs
Loaded plugins: fastestmirror, kmod
Setting up Install Process
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package nodejs.x86_64 0:0.12.18-1nodesource.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package       Arch          Version                           Repository  Size
================================================================================
Installing:
 nodejs        x86_64        0.12.18-1nodesource.el6           pbx        7.4 M

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 7.4 M
Installed size: 25 M
Is this ok [y/N]: y
Downloading Packages:
nodejs-0.12.18-1nodesource.el6.x86_64.rpm                | 7.4 MB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : nodejs-0.12.18-1nodesource.el6.x86_64                        1/1
  Verifying  : nodejs-0.12.18-1nodesource.el6.x86_64                        1/1

Installed:
  nodejs.x86_64 0:0.12.18-1nodesource.el6

Complete!
[root@phonesystem ~]# amportal a ma uninstall ucpnode

Please wait...

!!!!amportal is depreciated. Please use fwconsole!!!!
forwarding all commands to 'fwconsole'
Stopping old running processes...Done
Module ucpnode successfully uninstalled
Updating Hooks...Done
[root@phonesystem ~]# amportal a ma remove ucpnode

Please wait...

!!!!amportal is depreciated. Please use fwconsole!!!!
forwarding all commands to 'fwconsole'
Module ucpnode successfully deleted
Updating Hooks...Done
[root@phonesystem ~]# amportal a ma download ucpnode

Please wait...

!!!!amportal is depreciated. Please use fwconsole!!!!
forwarding all commands to 'fwconsole'
No repos specified, using: [standard,commercial] from last GUI settings

Starting ucpnode download..
Processing ucpnode
Verifying local module download...Verified
Extracting...Done
Module ucpnode successfully downloaded
[root@phonesystem ~]# amportal a ma install ucpnode

Please wait...

!!!!amportal is depreciated. Please use fwconsole!!!!
forwarding all commands to 'fwconsole'
Installing/Updating Required Libraries. This may take a while...The following messages are ONLY FOR DEBUGGING. Ignore anything that says 'WARN' or is just a warning
Running installation..
npm WARN deprecated [email protected]: Use uuid module instead
npm WARN deprecated [email protected]: use @xmpp/jid package <https://www.npmjs.com/package/@xmpp/jid>

> [email protected] install /var/www/html/admin/modules/ucpnode/node/node_modules/bufferutil
> node-gyp rebuild

make: Entering directory `/var/www/html/admin/modules/ucpnode/node/node_modules/bufferutil/build'
  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
cc1plus: error: unrecognized command line option "-std=gnu++1y"
make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Error 1
make: Leaving directory `/var/www/html/admin/modules/ucpnode/node/node_modules/bufferutil/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:197:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)
gyp ERR! System Linux 2.6.32-642.6.2.el6.x86_64
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /var/www/html/admin/modules/ucpnode/node/node_modules/bufferutil
gyp ERR! node -v v11.8.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok

> [email protected] install /var/www/html/admin/modules/ucpnode/node/node_modules/utf-8-validate
> node-gyp rebuild

make: Entering directory `/var/www/html/admin/modules/ucpnode/node/node_modules/utf-8-validate/build'
  CXX(target) Release/obj.target/validation/src/validation.o
cc1plus: error: unrecognized command line option "-std=gnu++1y"
make: *** [Release/obj.target/validation/src/validation.o] Error 1
make: Leaving directory `/var/www/html/admin/modules/ucpnode/node/node_modules/utf-8-validate/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:197:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)
gyp ERR! System Linux 2.6.32-642.6.2.el6.x86_64
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /var/www/html/admin/modules/ucpnode/node/node_modules/utf-8-validate
gyp ERR! node -v v11.8.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok

> [email protected] install /var/www/html/admin/modules/ucpnode/node/node_modules/mariasql
> node-gyp rebuild

make: Entering directory `/var/www/html/admin/modules/ucpnode/node/node_modules/mariasql/build'
  CXX(target) Release/obj.target/taocrypt/deps/libmariadbclient/extra/yassl/taocrypt/src/aes.o
cc1plus: error: unrecognized command line option "-std=gnu++1y"
make: *** [Release/obj.target/taocrypt/deps/libmariadbclient/extra/yassl/taocrypt/src/aes.o] Error 1
make: Leaving directory `/var/www/html/admin/modules/ucpnode/node/node_modules/mariasql/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:197:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)
gyp ERR! System Linux 2.6.32-642.6.2.el6.x86_64
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /var/www/html/admin/modules/ucpnode/node/node_modules/mariasql
gyp ERR! node -v v11.8.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/bufferutil):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/utf-8-validate):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/asterisk/.npm/_logs/2019-01-29T16_22_33_919Z-debug.log

Failed updating libraries!
Stopping old running processes...Done
Generating CSS...Done
Module ucpnode successfully installed
Updating Hooks...Done
[root@phonesystem ~]#

Now you have a new error that I don’t know how to fix. I just ran what you did on a similar system and did not have any issues with bufferutil like you are (same version of bufferutil as well).

What further logs or troubleshooting do I need to do to figure this out? I’m still fairly green at this but i’ve learned a lot in the last year.

So I just disabled ucp node. Now I don’t Have the ucp error, but when I try to change settings and save, In the gray bar at the top it says You are currently working in offline mode. So I guess I fixed one problem and created another…What next?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.