-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I got a problem when I build [matrix-riot-web ] on Riot Web repository on self-build setting in Pi4 #510
Comments
The error seems to indicate that you have some trouble with your internet connection. Perhaps npm is down or something. Perhaps trying again would solve it. |
I try more than 6 times in a day , I also get this issue , I'm afraid the source of npm is down ,but could u let me how to find the original URL of the source of npm ? |
Here is the problem I get and it was said , the https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v64-linux-glibc-arm.tar.gz is not found . Could u let me know how to fix this ? TASK [matrix-riot-web : Ensure Matrix riot-web path exists] *********************************************************************** TASK [matrix-riot-web : Ensure riot-web Docker image is pulled] ******************************************************************* TASK [matrix-riot-web : Ensure Riot Web repository is present on self-build] ****************************************************** TASK [matrix-riot-web : Ensure Riot Web Docker image is built] ******************************************************************** |
Here is the problem I get and it was said , the https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v64-linux-glibc-arm.tar.gz is not found . Could u let me know how to fix this ? TASK [matrix-riot-web : Ensure Matrix riot-web path exists] *********************************************************************** TASK [matrix-riot-web : Ensure riot-web Docker image is pulled] ******************************************************************* TASK [matrix-riot-web : Ensure Riot Web repository is present on self-build] ****************************************************** TASK [matrix-riot-web : Ensure Riot Web Docker image is built] ******************************************************************** |
I found above of issue was related to this post Automattic/node-canvas#1447 |
- provide credentials BiP-org/bip-infrastructure#510
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days. To exempt the issue from being marked as stale again due to inactivity, add "confirmed" label. |
This issue was closed because it has been stalled for 7 days with no activity. If this issue is still reproduced, feel free to provide the issue with up-to-date information. |
HI , I gotta a problem again , when I setup the environment on Pi4 , OS is from original as Pi . I already enable
matrix_riot_web_container_image_self_build: true in the var.yml and main.yml at /roles/matrix-riot-web/defaults . I get a few day to digging in google , I find a same issue on another users when build the docker image from original source on arm64 device.
element-hq/element-web#6153 . Any clue and suggestion to helping me to solve this issue.
TASK [matrix-riot-web : Ensure Riot Web repository is present on self-build] ********************************
task path: /home/pi/matrix-docker-ansible-deploy/roles/matrix-riot-web/tasks/setup_riot_web.yml:27
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/source_control/git.py
Pipelining is enabled.
<61.93.42.156> ESTABLISH SSH CONNECTION FOR USER: pi
<61.93.42.156> SSH: EXEC sshpass -d10 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="pi"' -o ConnectTimeout=10 -o ControlPath=/home/pi/.ansible/cp/b0754756bb 61.93.42.156 '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=sdebnrqlpqfpnhqanjfinnsglnvhghbh] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-sdebnrqlpqfpnhqanjfinnsglnvhghbh ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<61.93.42.156> (0, '\n{"after": "beda6c3b25ce12ea5c45f8f037abd3c79a394c4a", "warnings": [], "changed": false, "remote_url_changed": false, "invocation": {"module_args": {"force": true, "track_submodules": false, "reference": null, "verify_commit": false, "ssh_opts": null, "bare": false, "archive": null, "executable": null, "recursive": true, "umask": null, "version": "v1.6.0", "dest": "/matrix/riot-web/docker-src", "clone": true, "gpg_whitelist": [], "update": true, "repo": "https://github.com/vector-im/riot-web.git", "remote": "origin", "refspec": null, "separate_git_dir": null, "accept_hostkey": false, "depth": null, "key_file": null}}, "before": "beda6c3b25ce12ea5c45f8f037abd3c79a394c4a"}\n', '')
ok: [matrix.xxxx.com] => {
"after": "beda6c3b25ce12ea5c45f8f037abd3c79a394c4a",
"before": "beda6c3b25ce12ea5c45f8f037abd3c79a394c4a",
"changed": false,
"invocation": {
"module_args": {
"accept_hostkey": false,
"archive": null,
"bare": false,
"clone": true,
"depth": null,
"dest": "/matrix/riot-web/docker-src",
"executable": null,
"force": true,
"gpg_whitelist": [],
"key_file": null,
"recursive": true,
"reference": null,
"refspec": null,
"remote": "origin",
"repo": "https://github.com/vector-im/riot-web.git",
"separate_git_dir": null,
"ssh_opts": null,
"track_submodules": false,
"umask": null,
"update": true,
"verify_commit": false,
"version": "v1.6.0"
}
},
"remote_url_changed": false
}
TASK [matrix-riot-web : Ensure Riot Web Docker image is built] **********************************************
task path: /home/pi/matrix-docker-ansible-deploy/roles/matrix-riot-web/tasks/setup_riot_web.yml:35
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/cloud/docker/docker_image.py
Pipelining is enabled.
<61.93.42.156> ESTABLISH SSH CONNECTION FOR USER: pi
<61.93.42.156> SSH: EXEC sshpass -d10 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="pi"' -o ConnectTimeout=10 -o ControlPath=/home/pi/.ansible/cp/b0754756bb 61.93.42.156 '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=dgdeadjsgbeurevcrdoveepwzjuslexe] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-dgdeadjsgbeurevcrdoveepwzjuslexe ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<61.93.42.156> (1, '\n{"msg": "Error building vectorim/riot-web - code: 1, message: The command '/bin/sh -c yarn --network-timeout=100000 install' returned a non-zero code: 1, logs: [u'Step 1/18 : FROM node:10 as builder', u'\\n', u' ---> 5e7bbf318a1f\\n', u'Step 2/18 : ARG USE_CUSTOM_SDKS=false', u'\\n', u' ---> Using cache\\n', u' ---> 7967277d62ec\\n', u'Step 3/18 : ARG REACT_SDK_REPO=\"https://github.com/matrix-org/matrix-react-sdk.git\"', u'\\n', u' ---> Using cache\\n', u' ---> af39442984c8\\n', u'Step 4/18 : ARG REACT_SDK_BRANCH=\"master\"', u'\\n', u' ---> Using cache\\n', u' ---> 293f0a46a885\\n', u'Step 5/18 : ARG JS_SDK_REPO=\"https://github.com/matrix-org/matrix-js-sdk.git\"', u'\\n', u' ---> Using cache\\n', u' ---> 41de0a30c004\\n', u'Step 6/18 : ARG JS_SDK_BRANCH=\"master\"', u'\\n', u' ---> Using cache\\n', u' ---> 493f7e1d75b1\\n', u'Step 7/18 : RUN apt-get update && apt-get install -y git dos2unix', u'\\n', u' ---> Using cache\\n', u' ---> e88c1c9dcb4a\\n', u'Step 8/18 : WORKDIR /src', u'\\n', u' ---> Using cache\\n', u' ---> dac501846ed6\\n', u'Step 9/18 : COPY . /src', u'\\n', u' ---> Using cache\\n', u' ---> 987ff46a2f2f\\n', u'Step 10/18 : RUN dos2unix /src/scripts/docker-link-repos.sh && bash /src/scripts/docker-link-repos.sh', u'\\n', u' ---> Using cache\\n', u' ---> ad47656f7faa\\n', u'Step 11/18 : RUN yarn --network-timeout=100000 install', u'\\n', u' ---> Running in 1f67fb579ce6\\n', u'yarn install v1.22.4\\n', u'[1/4] Resolving packages...\\n', u'[2/4] Fetching packages...\\n', u'info There appears to be trouble with your network connection. Retrying...\\n', u'info There appears to be trouble with your network connection. Retrying...\\n', u'info There appears to be trouble with your network connection. Retrying...\\n', u'info There appears to be trouble with your network connection. Retrying...\\n', u'info There appears to be trouble with your network connection. Retrying...\\n', u'info There appears to be trouble with your network connection. Retrying...\\n', u'info There appears to be trouble with your network connection. Retrying...\\n', u'info There appears to be trouble with your network connection. Retrying...\\n', u'\\x1b[91merror An unexpected error occurred: \"https://registry.yarnpkg.com/rxjs/-/rxjs-6.5.5.tgz: ESOCKETTIMEDOUT\".\\n\\x1b[0m', u'info If you think this is a bug, please open a bug report with the information provided in \"/src/yarn-error.log\".\\n', u'info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.\\n', u'info There appears to be trouble with your network connection. Retrying...\\n', u'info There appears to be trouble with your network connection. Retrying...\\n', u'Removing intermediate container 1f67fb579ce6\\n']", "failed": true, "invocation": {"module_args": {"force": null, "force_absent": false, "docker_host": "unix://var/run/docker.sock", "tag": "latest", "client_key": null, "repository": null, "nocache": false, "force_tag": false, "load_path": null, "use_tls": null, "source": "build", "state": "present", "build": {"pull": true, "args": null, "target": null, "nocache": false, "container_limits": null, "dockerfile": "Dockerfile", "cache_from": null, "etc_hosts": null, "path": "/matrix/riot-web/docker-src", "rm": true, "use_config_proxy": null, "http_timeout": null, "network": null}, "rm": true, "dockerfile": null, "client_cert": null, "api_version": "auto", "archive_path": null, "timeout": 60, "ca_cert": null, "tls_hostname": "localhost", "push": false, "force_source": false, "path": null, "tls": false, "pull": null, "name": "vectorim/riot-web:v1.6.0", "container_limits": null, "http_timeout": null, "ssl_version": null, "buildargs": null, "debug": false, "validate_certs": false}}}\n', '')
<61.93.42.156> Failed to connect to the host via ssh:
fatal: [matrix.xxxx.com]: FAILED! => {
"changed": false,
"invocation": {
"module_args": {
"api_version": "auto",
"archive_path": null,
"build": {
"args": null,
"cache_from": null,
"container_limits": null,
"dockerfile": "Dockerfile",
"etc_hosts": null,
"http_timeout": null,
"network": null,
"nocache": false,
"path": "/matrix/riot-web/docker-src",
"pull": true,
"rm": true,
"target": null,
"use_config_proxy": null
},
"buildargs": null,
"ca_cert": null,
"client_cert": null,
"client_key": null,
"container_limits": null,
"debug": false,
"docker_host": "unix://var/run/docker.sock",
"dockerfile": null,
"force": null,
"force_absent": false,
"force_source": false,
"force_tag": false,
"http_timeout": null,
"load_path": null,
"name": "vectorim/riot-web:v1.6.0",
"nocache": false,
"path": null,
"pull": null,
"push": false,
"repository": null,
"rm": true,
"source": "build",
"ssl_version": null,
"state": "present",
"tag": "latest",
"timeout": 60,
"tls": false,
"tls_hostname": "localhost",
"use_tls": null,
"validate_certs": false
}
},
"msg": "Error building vectorim/riot-web - code: 1, message: The command '/bin/sh -c yarn --network-timeout=100000 install' returned a non-zero code: 1, logs: [u'Step 1/18 : FROM node:10 as builder', u'\n', u' ---> 5e7bbf318a1f\n', u'Step 2/18 : ARG USE_CUSTOM_SDKS=false', u'\n', u' ---> Using cache\n', u' ---> 7967277d62ec\n', u'Step 3/18 : ARG REACT_SDK_REPO="https://github.com/matrix-org/matrix-react-sdk.git"', u'\n', u' ---> Using cache\n', u' ---> af39442984c8\n', u'Step 4/18 : ARG REACT_SDK_BRANCH="master"', u'\n', u' ---> Using cache\n', u' ---> 293f0a46a885\n', u'Step 5/18 : ARG JS_SDK_REPO="https://github.com/matrix-org/matrix-js-sdk.git"', u'\n', u' ---> Using cache\n', u' ---> 41de0a30c004\n', u'Step 6/18 : ARG JS_SDK_BRANCH="master"', u'\n', u' ---> Using cache\n', u' ---> 493f7e1d75b1\n', u'Step 7/18 : RUN apt-get update && apt-get install -y git dos2unix', u'\n', u' ---> Using cache\n', u' ---> e88c1c9dcb4a\n', u'Step 8/18 : WORKDIR /src', u'\n', u' ---> Using cache\n', u' ---> dac501846ed6\n', u'Step 9/18 : COPY . /src', u'\n', u' ---> Using cache\n', u' ---> 987ff46a2f2f\n', u'Step 10/18 : RUN dos2unix /src/scripts/docker-link-repos.sh && bash /src/scripts/docker-link-repos.sh', u'\n', u' ---> Using cache\n', u' ---> ad47656f7faa\n', u'Step 11/18 : RUN yarn --network-timeout=100000 install', u'\n', u' ---> Running in 1f67fb579ce6\n', u'yarn install v1.22.4\n', u'[1/4] Resolving packages...\n', u'[2/4] Fetching packages...\n', u'info There appears to be trouble with your network connection. Retrying...\n', u'info There appears to be trouble with your network connection. Retrying...\n', u'info There appears to be trouble with your network connection. Retrying...\n', u'info There appears to be trouble with your network connection. Retrying...\n', u'info There appears to be trouble with your network connection. Retrying...\n', u'info There appears to be trouble with your network connection. Retrying...\n', u'info There appears to be trouble with your network connection. Retrying...\n', u'info There appears to be trouble with your network connection. Retrying...\n', u'\x1b[91merror An unexpected error occurred: "https://registry.yarnpkg.com/rxjs/-/rxjs-6.5.5.tgz: ESOCKETTIMEDOUT".\n\x1b[0m', u'info If you think this is a bug, please open a bug report with the information provided in "/src/yarn-error.log".\n', u'info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.\n', u'info There appears to be trouble with your network connection. Retrying...\n', u'info There appears to be trouble with your network connection. Retrying...\n', u'Removing intermediate container 1f67fb579ce6\n']"
}
PLAY RECAP **************************************************************************************************
matrix.xxxx.com : ok=74 changed=0 unreachable=0 failed=1 skipped=306 rescued=0 ignored=0
The text was updated successfully, but these errors were encountered: