HI All,
After an update was completed, I got this error:
Unable to locate the FreePBX BMO Class 'Pm2’A required module might be disabled or uninstalled. Recommended steps (run from the CLI): 1) fwconsole ma install pm2 2) fwconsole ma enable pm2
I followed the instruction and I got another error:
[root@uc-1111111 ~]# fwconsole ma install pm2
locale: Cannot set LC_CTYPE to default locale: No such file or directory
ERROR: npm is known not to run on Node.js v8.16.0
You’ll need to upgrade to a newer Node.js version in order to use this
version of npm. You can find the latest version at https://nodejs.org/
Node Package Manager is not installed
Unable to install module pm2:
- Failed to run installation scripts
I tried to install node.js using command curl -sL https://rep.nodesource.com/setup_10.x | sudo -E bash - , I got another error. See below:
[root@uc-11111111 ~]# curl -sL https://rpm.nodesource.com/setup_11.x | sudo -E bash -
================================================================================
DEPRECATION WARNING
Node.js 11.x is no longer actively supported!
You will not receive security or critical stability updates for this version.
You should migrate to a supported version of Node.js as soon as possible.
Use the installation script that corresponds to the version of Node.js you
wish to install. e.g.
- https://rpm.nodesource.com/setup_12.x - Node.js v12 LTS “Erbium”
- https://rpm.nodesource.com/setup_14.x - Node.js v14 LTS “Fermium” (recommended)
- https://rpm.nodesource.com/setup_16.x - Node.js v16 “Gallium”
Please see GitHub - nodejs/Release: Node.js Release Working Group for details about which
version may be appropriate for you.
The NodeSource Node.js distributions repository contains
information both about supported versions of Node.js and supported Linux
distributions. To learn more about usage, see the repository:
GitHub - nodesource/distributions: NodeSource Node.js Binary Distributions
================================================================================
Continuing in 20 seconds …
Installing the NodeSource Node.js 11.x repo…
Inspecting system…
- rpm -q --whatprovides redhat-release || rpm -q --whatprovides centos-release || rpm -q --whatprovides cloudlinux-release || rpm -q --whatprovides sl-release || rpm -q --whatprovides fedora-release
- uname -m
You don’t appear to be running a supported version of Enterprise Linux. Please contact NodeSource at Issues · nodesource/distributions · GitHub if you think this is incorrect or would like your architecture to be considered for support. Include your ‘distribution package’ name: sangoma-release-7-8.2003.3.el7.sangoma.x86_64.
Can someone help me on how I can upgrade Node.js? Currently, this incident is impacting on Zulu and our call agents cannot resolve issues for customers.