mvogel4949
(mvogel4949)
November 20, 2018, 9:41pm
1
I have a FreePBX 13 system that just won’t update pm2. I access the update via the CLI and it had me look in the install logs. There I found the following warning
npm ERR! fetch failed http://mirror1.freepbx.org/npm/pm2-2.10.5.tgz
The IT guy said he can see traffic going to the mirror1 site but there is no reply coming back. any ideas?
PitzKey
(Itzik)
November 20, 2018, 11:36pm
2
Try changing module admin to use wget in advanced settings.
1 Like
tm1000
(Andrew Nagy)
November 21, 2018, 7:44am
3
Don’t change that setting as it won’t matter in this case (Also that setting is removed in 15)
PitzKey
(Itzik)
November 21, 2018, 10:06am
4
Thought it had trouble getting the file, since I can download it with any browser.
Curious why? From all the PBX servers we manage, we have one PBX that wouldn’t update unless I changed it to wget. Is it harming something?
mvogel4949
(mvogel4949)
November 21, 2018, 1:12pm
5
Turns out the system was already in wget. Great idea though, I hadn’t thought about that. I set it to no and I’m still getting the error. Just for pm2 though, very odd
npm ERR! fetch failed http://mirror1.freepbx.org/npm/pm2-2.10.5.tgz
tm1000
(Andrew Nagy)
November 22, 2018, 6:39am
6
As said previously. It doesn’t matter if wget is enabled for that or not because npm is doing the downloading not freepbx.
Your system or firewall is blocking the download from the mirror server.
tm1000
(Andrew Nagy)
November 22, 2018, 6:39am
7
PitzKey:
Curious why?
Because it’s unmaintainable. So it was removed.
1 Like
system
(system)
Closed
November 29, 2018, 6:40am
8
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.