Chris2pi
CCoder.com
•Created by Chris2pi on 11/24/2024 in #help
Creating a JupyterLab instance
Error message from user data -
trap waitonexit EXIT
+ mktemp -d -t coder.XXXXXX
+ BINARY_DIR=/tmp/coder.OQMQ55
+ BINARY_NAME=coder
+ BINARY_URL=https://FQDN.example
+ cd /tmp/coder.OQMQ55
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed https://FQDN.example -o coder
+ break
+ chmod +x coder
+ [ -n ]
+ export CODER_AGENT_AUTH=token
+ export CODER_AGENT_URL=https://FQDN.example
+ + head -n1
./coder --version
+ output=Coder v2.16.1+379ced6 Thu Oct 24 19:48:48 UTC 2024
+ echo Coder v2.16.1+379ced6 Thu Oct 24 19:48:48 UTC 2024
+ grep -q Coder
+ exec ./coder agent
2024-11-24 23:39:35.189 [info] agent is starting now url=https://FQDN.example auth=token version=v2.16.1+379ced6
2024-11-24 23:39:35.189 [debu] http server listening addr=127.0.0.1:6060 name=pprof
Encountered an error running "coder agent", see "coder agent --help" for more information
error: CODER_AGENT_TOKEN or CODER_AGENT_TOKEN_FILE must be set for token auth
2024-11-24 23:39:35,194 - cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts)
2024-11-24 23:39:35,194 - util.py[WARNING]: Running module scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_scripts_user.py'>) failed
trap waitonexit EXIT
+ mktemp -d -t coder.XXXXXX
+ BINARY_DIR=/tmp/coder.OQMQ55
+ BINARY_NAME=coder
+ BINARY_URL=https://FQDN.example
+ cd /tmp/coder.OQMQ55
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed https://FQDN.example -o coder
+ break
+ chmod +x coder
+ [ -n ]
+ export CODER_AGENT_AUTH=token
+ export CODER_AGENT_URL=https://FQDN.example
+ + head -n1
./coder --version
+ output=Coder v2.16.1+379ced6 Thu Oct 24 19:48:48 UTC 2024
+ echo Coder v2.16.1+379ced6 Thu Oct 24 19:48:48 UTC 2024
+ grep -q Coder
+ exec ./coder agent
2024-11-24 23:39:35.189 [info] agent is starting now url=https://FQDN.example auth=token version=v2.16.1+379ced6
2024-11-24 23:39:35.189 [debu] http server listening addr=127.0.0.1:6060 name=pprof
Encountered an error running "coder agent", see "coder agent --help" for more information
error: CODER_AGENT_TOKEN or CODER_AGENT_TOKEN_FILE must be set for token auth
2024-11-24 23:39:35,194 - cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts)
2024-11-24 23:39:35,194 - util.py[WARNING]: Running module scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_scripts_user.py'>) failed
7 replies