Juniper install fail

Install Juniper and meet problem as below.
Does anyone know how to fix it?

====================================================
TASK [insights : install node dependencies] ************************************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: “/edx/app/insights/nodeenvs/insights/bin/npm install”, “delta”: “0:13:00.023870”, “end”: “2020-09-04 18:32:10.919817”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2020-09-04 18:19:10.895947”, “stderr”: “npm WARN edx-analytics-dashboard@ No license field.\n\nnpm ERR! Error while executing:\nnpm ERR! /usr/bin/git ls-remote -h -t git://github.com/edx/edx-ui-toolkit.git\nnpm ERR! \nnpm ERR! fatal: unable to connect to github.com:\nnpm ERR! github.com[0: 140.82.114.3]: errno=Connection timed out\nnpm ERR! \nnpm ERR! \nnpm ERR! exited with error code: 128\n\nnpm ERR! A complete log of this run can be found in:\nnpm ERR! /edx/app/insights/.npm/_logs/2020-09-04T10_25_44_233Z-debug.log”, “stderr_lines”: [“npm WARN edx-analytics-dashboard@ No license field.”, “”, “npm ERR! Error while executing:”, “npm ERR! /usr/bin/git ls-remote -h -t git://github.com/edx/edx-ui-toolkit.git”, "npm ERR! ", “npm ERR! fatal: unable to connect to github.com:”, “npm ERR! github.com[0: 140.82.114.3]: errno=Connection timed out”, "npm ERR! ", "npm ERR! ", “npm ERR! exited with error code: 128”, “”, “npm ERR! A complete log of this run can be found in:”, “npm ERR! /edx/app/insights/.npm/_logs/2020-09-04T10_25_44_233Z-debug.log”], “stdout”: “”, “stdout_lines”: }

RUNNING HANDLER [nginx : reload nginx] *****************************************
to retry, use: --limit @/var/tmp/configuration/playbooks/openedx_native.retry

PLAY RECAP *********************************************************************
localhost : ok=464 changed=175 unreachable=0 failed=1

============================================================
Ansible failed!

Decoded error:
== cmd ===========================
/edx/app/insights/nodeenvs/insights/bin/npm install
== msg ===========================
non-zero return code
== stderr ===========================
npm WARN edx-analytics-dashboard@ No license field.

npm ERR! Error while executing:
npm ERR! /usr/bin/git ls-remote -h -t git://github.com/edx/edx-ui-toolkit.git
npm ERR!
npm ERR! fatal: unable to connect to github.com:
npm ERR! github.com[0: 140.82.114.3]: errno=Connection timed out
npm ERR!
npm ERR!
npm ERR! exited with error code: 128

npm ERR! A complete log of this run can be found in:
npm ERR! /edx/app/insights/.npm/_logs/2020-09-04T10_25_44_233Z-debug.log

============================================================
Installation failed!

If you need help, see https://open.edx.org/getting-help .
When asking for help, please provide as much information as you can.
These might be helpful:
Your log file is at /home/guangyaw/logs/install-20200904-175714.log
Your environment:
OPENEDX_RELEASE=open-release/juniper.master

It seems to be a temporary error. Did you tried to reinstall it 30 min or 1 hour later ?

Yes . I have tried four times in two day. I remove the two folders :/tmp and /edx and reinstall again . The problem is the same.

I just finish installing juniper.master, and it works, i means, no error during installation, all services running.

I’m on Ubuntu Server 16.04

Might the cause of this problem be due to firewall settings? ( I try to install on a VPS which default setting is ‘all deny’). If so, do you know which communication port should open?

You can start opening those one and try again:
443 (HTTPS), 80 (LMS), 18010 (studio CMS), 18381 (Discovery), 18110 (Insights), 18130 (Ecommerce OSCAR), 18040 (Xqueue)

I fix the problem . port 9418 should be open.

2 Likes

i have the same problem. Is this port your firewall port?

My firewall default value is ’ deny all '. To open the port 9418 for “git://” connections.

1 Like

Hello @guangyaw This does not solve the error for me, Is there any other solution?

Sorry . Only the solution for my case.