Fwconsole reload - Error

Hum… Seem that this forum is not so active…

I never got any issue with RasPBX till now with the pm2 update… Very strange !

Reading this, It seems that node version is not clear depending on the OS version, Freepbx version…
Some got v8, other v10, other v11, other v12… No really clear !

I got this version on my FreePBX 15 system, and I just show you what the version is used here.
As this version works fine on my system, then try to install this version.
I remember one day updating nodeJS for tests, that broken something on my systems.
The fact to get back to the original version fixed this issue.

Little adjustments for How to Install FreePBX 15 on Debian 10 with Asterisk 16,

FYI, FreePBX 15 is not compatible with PHP7.x,
If you decide to use PHP 7.4, then install FreePBX 16.

@Franck.

So you suggest I can try to put the old “defective” Sdcard with the pm2 issue and try to downgrade node js, then try to install again pm2 ?
Right ?

npm install -g n
npm ERR! Linux 5.10.63-v7l+
npm ERR! argv “/usr/bin/node” “/usr/bin/npm” “install” “-g” “n”
npm ERR! node v12.22.5
npm ERR! npm v3.10.10

npm ERR! cb.apply is not a function
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:
npm ERR! /root/npm-debug.log

In fact, here are the results of my tries

I put back into my Raspberry the “corrupted SDcard” with pm2 errors. Lucky the system could start and I could get ssh on it/FreepbxGUI login.

In ssh console:
apt-get install npm

In cli:
fwconsole ma downloadinstall pm2

Checking modules states:

fwconsole ma list
No repos specified, using: [standard,extended] from last GUI settings

+------------------+------------+----------+---------+
| Module           | Version    | Status   | License |
+------------------+------------+----------+---------+
| announcement     | 15.0.3.13  | Enabled  | GPLv3+  |
| arimanager       | 15.0.3.13  | Enabled  | GPLv3+  |
| asteriskinfo     | 15.0.14    | Enabled  | GPLv3+  |
| backup           | 15.0.10.68 | Enabled  | GPLv3+  |
| blacklist        | 15.0.2.17  | Enabled  | GPLv3+  |
| builtin          |            | Enabled  |         |
| calendar         | 15.0.4.21  | Enabled  | GPLv3+  |
| callrecording    | 15.0.7.24  | Enabled  | AGPLv3+ |
| cdr              | 15.0.17.15 | Enabled  | GPLv3+  |
| cel              | 15.0.15.15 | Enabled  | GPLv3+  |
| conferences      | 15.0.7.11  | Enabled  | GPLv3+  |
| contactmanager   | 15.0.8.52  | Enabled  | GPLv3+  |
| core             | 15.0.12.98 | Enabled  | GPLv3+  |
| customappsreg    | 15.0.14    | Enabled  | GPLv3+  |
| dashboard        | 15.0.12    | Enabled  | AGPLv3+ |
| featurecodeadmin | 13.0.6.11  | Enabled  | GPLv3+  |
| filestore        | 15.0.3.27  | Enabled  | AGPLv3  |
| framework        | 15.0.21    | Enabled  | GPLv2+  |
| iaxsettings      | 15.0.8     | Enabled  | AGPLv3  |
| infoservices     | 15.0.3     | Enabled  | GPLv2+  |
| ivr              | 15.0.29    | Enabled  | GPLv3+  |
| logfiles         | 15.0.15    | Enabled  | GPLv3+  |
| manager          | 15.0.15    | Enabled  | GPLv2+  |
| music            | 15.0.22    | Enabled  | GPLv3+  |
| phonebook        | 15.0.12    | Disabled | GPLv3+  |
| pm2              | 15.0.8     | Enabled  | AGPLv3+ |
| queues           | 15.0.34    | Enabled  | GPLv2+  |
| recordings       | 15.0.3.16  | Enabled  | GPLv3+  |
| ringgroups       | 15.0.11.15 | Enabled  | GPLv3+  |
| sipsettings      | 15.0.6.39  | Enabled  | AGPLv3+ |
| soundlang        | 15.0.5.10  | Enabled  | GPLv3+  |
| timeconditions   | 15.0.15.11 | Enabled  | GPLv3+  |
| userman          | 15.0.68    | Enabled  | AGPLv3+ |
| voicemail        | 15.0.18.49 | Enabled  | GPLv3+  |
+------------------+------------+----------+---------+

Checking node version:

 node -v
v12.22.5

In FreepbxGUI, everything is good.

All is now working as previously !

Many many thanks to all of you helped me in the disaster recovery !
I greatly appreciated the time you spent.

1 Like

Your welcome. :slight_smile:
Have a good day.

Passes une bonne journée.

Merci !
Mais je me suis fais peur, une fois de plus !

ça arrive des fois. :smile:

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