Error on pm2, saying it wants to upgrade from 17.0.3.4 to 17.0.3.4

Greetings!

I had a message on my dashboard saying:

The following modules are disabled because they need to be upgraded:
pm2

You should go to the module admin page to fix these.

Tried to fix through the UI and with fwconsole ma upgradeall but it errors out:

npm WARN config only Use --omit=dev to omit dev dependencies from the install.
The process “runuser ‘asterisk’ -s ‘/bin/bash’ -c ‘cd /var/www/html/admin/modules/pm2/node && mkdir -p /home/asterisk/.pm2 && mkdir -p /var/www/html/admin/modules/pm2/node/logs && export HOME=/home/asterisk && export PM2_HOME=/home/asterisk/.pm2 && export ASTLOGDIR=/var/log/asterisk && export ASTVARLIBDIR=/var/lib/asterisk && export PATH=$HOME/.node/bin:$PATH && export NODE_PATH=$HOME/.node/lib/node_modules:$NODE_PATH && export MANPATH=$HOME/.node/share/man:$MANPATH && npm install --only=production’” exceeded the timeout of 600 seconds.

fwconsole ma list | grep pm2
| pm2 | 17.0.3.3 | Disabled; Pending upgrade to 17.0.3.4 | AGPLv3+ | Sangoma |

Just wondering how I can get this sorted out?

Sorted this one out myself. Problem was that it was trying to contact npm libraries URL via IPv6 and couldn’t so I just removed the IPv6 address from the instance and it worked!

1 Like

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