molitann
molitann
CCoder.com
Created by molitann on 10/8/2024 in #help
Envbuilder in Coder: wrong user is used when cache is enabled
I set both and the user is now correctly set even when the whole image is cached. Should be probably mentioned somewhere in the docs
"remoteUser": "mmolisch",
"containerUser": "mmolisch"
"remoteUser": "mmolisch",
"containerUser": "mmolisch"
13 replies
CCoder.com
Created by molitann on 10/8/2024 in #help
Envbuilder in Coder: wrong user is used when cache is enabled
Oh yes that did the trick! Thank you
13 replies
CCoder.com
Created by molitann on 10/8/2024 in #help
Envbuilder in Coder: wrong user is used when cache is enabled
13 replies
CCoder.com
Created by molitann on 10/8/2024 in #help
Envbuilder in Coder: wrong user is used when cache is enabled
With cache:
Restored DOCKER_CONFIG to
#4: :arrows_counterclockwise: Updating the ownership of the workspace...
#4: :bust_in_silhouette: Updated the ownership of the workspace! [408.689µs]
=== Running init command as user "root": ["/bin/sh" "-c" "#!/usr/bin/env sh\nset -eux\n# Sleep for a good long while before exiting.\n# This is to allow folks to exec into a failed workspace and poke around to\n# troubleshoot.\nwaitonexit() {\n\techo \"=== Agent script exited with non-zero code ($?). Sleeping 24h to preserve logs...\"\n\tsleep 86400\n}\ntrap waitonexit EXIT\nBINARY_DIR=\"${BINARY_DIR:-$(mktemp -d -t coder.XXXXXX)}\"\nBINARY_NAME=coder\nBINARY_URL=https://our-coder-url/bin/coder-linux-amd64\ncd \"$BINARY_DIR\"\n# Attempt to download the coder agent.\n# This could fail for a number of reasons, many of which are likely transient.\n# So just keep trying!\nwhile :; do\n\t# Try a number of different download tools, as we don not know what we\n\t# will have available.\n\tstatus=\"\"\n\tif command -v curl >/dev/null 2>&1; then\n\t\tcurl -fsSL --compressed \"${BINARY_URL}\" -o \"${BINARY_NAME}\" && break\n\t\tstatus=$?\n\telif command -v wget >/dev/null 2>&1; then\n\t\twget -q \"${

Cloning git repo...
Cloning into 'inno-maro'...
Host key verification failed.
Restored DOCKER_CONFIG to
#4: :arrows_counterclockwise: Updating the ownership of the workspace...
#4: :bust_in_silhouette: Updated the ownership of the workspace! [408.689µs]
=== Running init command as user "root": ["/bin/sh" "-c" "#!/usr/bin/env sh\nset -eux\n# Sleep for a good long while before exiting.\n# This is to allow folks to exec into a failed workspace and poke around to\n# troubleshoot.\nwaitonexit() {\n\techo \"=== Agent script exited with non-zero code ($?). Sleeping 24h to preserve logs...\"\n\tsleep 86400\n}\ntrap waitonexit EXIT\nBINARY_DIR=\"${BINARY_DIR:-$(mktemp -d -t coder.XXXXXX)}\"\nBINARY_NAME=coder\nBINARY_URL=https://our-coder-url/bin/coder-linux-amd64\ncd \"$BINARY_DIR\"\n# Attempt to download the coder agent.\n# This could fail for a number of reasons, many of which are likely transient.\n# So just keep trying!\nwhile :; do\n\t# Try a number of different download tools, as we don not know what we\n\t# will have available.\n\tstatus=\"\"\n\tif command -v curl >/dev/null 2>&1; then\n\t\tcurl -fsSL --compressed \"${BINARY_URL}\" -o \"${BINARY_NAME}\" && break\n\t\tstatus=$?\n\telif command -v wget >/dev/null 2>&1; then\n\t\twget -q \"${

Cloning git repo...
Cloning into 'inno-maro'...
Host key verification failed.
13 replies
CCoder.com
Created by molitann on 10/8/2024 in #help
Envbuilder in Coder: wrong user is used when cache is enabled
Without cache:
#3: :bust_in_silhouette: Updated the ownership of the workspace! [421.51µs]
#4: :arrows_counterclockwise: Updating ownership of /home/mmolisch...
#4: :house_with_garden: Updated ownership of /home/mmolisch! [21.430858ms]
=== Running init command as user "mmolisch": ["/bin/sh" "-c" "#!/usr/bin/env sh\nset -eux\n# Sleep for a good long while before exiting.\n# This is to allow folks to exec into a failed workspace and poke around to\n# troubleshoot.\nwaitonexit() {\n\techo \"=== Agent script exited with non-zero code ($?). Sleeping 24h to preserve logs...\"\n\tsleep 86400\n}\ntrap waitonexit EXIT\nBINARY_DIR=\"${BINARY_DIR:-$(mktemp -d -t coder.XXXXXX)}\"\nBINARY_NAME=coder\nBINARY_URL=https://our-coder-url/bin/coder-linux-amd64\ncd \"$BINARY_DIR\"\n# Attempt to download the coder agent.\n# This could fail for a number of reasons, many of which are likely transient.\n# So just keep trying!\nwhile :; do\n\t# Try a number of different download tools, as we don not know what we\n\t# will have available.\n\tstatus=\"\"\n\tif command -v curl >/dev/null 2>&1; then\n\t\tcurl -fsSL --compressed \"${BINARY_URL}\" -o \"${BINARY_NAME}\" && break\n\t\tstatus=$?\n\telif command -v wget >/dev/null 2>&1; then\n\t\twget -q

Cloning git repo...
Cloning into 'inno-maro'...
Debian GNU/Linux 12 (bookworm)
Installing v4.93.1 of the amd64 release from GitHub.
#3: :bust_in_silhouette: Updated the ownership of the workspace! [421.51µs]
#4: :arrows_counterclockwise: Updating ownership of /home/mmolisch...
#4: :house_with_garden: Updated ownership of /home/mmolisch! [21.430858ms]
=== Running init command as user "mmolisch": ["/bin/sh" "-c" "#!/usr/bin/env sh\nset -eux\n# Sleep for a good long while before exiting.\n# This is to allow folks to exec into a failed workspace and poke around to\n# troubleshoot.\nwaitonexit() {\n\techo \"=== Agent script exited with non-zero code ($?). Sleeping 24h to preserve logs...\"\n\tsleep 86400\n}\ntrap waitonexit EXIT\nBINARY_DIR=\"${BINARY_DIR:-$(mktemp -d -t coder.XXXXXX)}\"\nBINARY_NAME=coder\nBINARY_URL=https://our-coder-url/bin/coder-linux-amd64\ncd \"$BINARY_DIR\"\n# Attempt to download the coder agent.\n# This could fail for a number of reasons, many of which are likely transient.\n# So just keep trying!\nwhile :; do\n\t# Try a number of different download tools, as we don not know what we\n\t# will have available.\n\tstatus=\"\"\n\tif command -v curl >/dev/null 2>&1; then\n\t\tcurl -fsSL --compressed \"${BINARY_URL}\" -o \"${BINARY_NAME}\" && break\n\t\tstatus=$?\n\telif command -v wget >/dev/null 2>&1; then\n\t\twget -q

Cloning git repo...
Cloning into 'inno-maro'...
Debian GNU/Linux 12 (bookworm)
Installing v4.93.1 of the amd64 release from GitHub.
13 replies
CCoder.com
Created by molitann on 10/7/2024 in #help
ENVBUILDER_CACHE_REPO is always empty
I have no clue what I changed, but it now works 😄
8 replies
CCoder.com
Created by molitann on 10/7/2024 in #help
ENVBUILDER_CACHE_REPO is always empty
Could it be because /workspaces is only an emptyDir?
8 replies
CCoder.com
Created by molitann on 10/7/2024 in #help
ENVBUILDER_CACHE_REPO is always empty
build logs
8 replies
CCoder.com
Created by molitann on 4/10/2024 in #help
API delete workspace
Yes, thanks
7 replies