Skip to content
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

Quickstart fails to start using GitHub Codespaces #14

Open
Ryandaydev opened this issue Jul 31, 2024 · 0 comments
Open

Quickstart fails to start using GitHub Codespaces #14

Ryandaydev opened this issue Jul 31, 2024 · 0 comments

Comments

@Ryandaydev
Copy link

When I fork this repo and create a codespace, it starts in recovery mode due to an error. I changed the machine type to 4 cores and restarted and it has the same error.

"This codespace is currently running in recovery mode due to a container error."

Here is the startup log with container IDs removed:

2024-07-31 16:13:52.776Z: Host information
2024-07-31 16:13:52.783Z: ----------------
2024-07-31 16:13:52.784Z: OS: Ubuntu 22.04.4 LTS (stable release)
2024-07-31 16:13:52.784Z: Image details: https://github.com/github/codespaces-host-images/blob/main/README.md
2024-07-31 16:13:52.784Z: ----------------

=================================================================================
2024-07-31 16:13:52.784Z: Configuration starting...
2024-07-31 16:13:52.792Z: Cloning...
2024-07-31 16:13:52.834Z: Using image: mcr.microsoft.com/devcontainers/universal

=================================================================================
2024-07-31 16:13:52.854Z: Creating container...
2024-07-31 16:13:52.911Z: $ devcontainer up --id-label Type=codespaces --workspace-folder /var/lib/docker/codespacemount/workspace/airflow-quickstart --mount type=bind,source=/.codespaces/agent/mount/cache,target=/vscode --user-data-folder /var/lib/docker/codespacemount/.persistedshare --container-data-folder .vscode-remote/data/Machine --container-system-data-folder /var/vscode-remote --log-level trace --log-format json --update-remote-user-uid-default never --mount-workspace-git-root false --omit-config-remote-env-from-metadata --skip-non-blocking-commands --skip-post-create --expect-existing-container --config "/var/lib/docker/codespacemount/workspace/airflow-quickstart/.devcontainer/devcontainer.json" --override-config /root/.codespaces/shared/merged_devcontainer.json --default-user-env-probe loginInteractiveShell --container-session-data-folder /workspaces/.codespaces/.persistedshare/devcontainers-cli/cache --secrets-file /root/.codespaces/shared/user-secrets-envs.json
2024-07-31 16:13:53.083Z: @devcontainers/cli 0.56.1. Node.js v18.20.3. linux 6.5.0-1022-azure x64.
2024-07-31 16:13:53.231Z: $ docker start xxxxx
2024-07-31 16:13:53.481Z: xxxxxx

2024-07-31 16:13:53.483Z: Stop: Run: docker start xxx
2024-07-31 16:13:53.553Z: Shell server terminated (code: 126, signal: null)
2024-07-31 16:13:53.553Z: unable to find user codespace: no matching entries in passwd file
2024-07-31 16:13:53.554Z: {"outcome":"error","message":"An error occurred setting up the container.","description":"An error occurred setting up the container.","containerId”:”xxxx”}
2024-07-31 16:13:53.555Z: Error: An error occurred setting up the container.
2024-07-31 16:13:53.555Z: at O$ (/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:464:1253)
2024-07-31 16:13:53.555Z: at iK (/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:464:997)
2024-07-31 16:13:53.556Z: at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-07-31 16:13:53.556Z: at async gAA (/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:481:3660)
2024-07-31 16:13:53.556Z: at async BC (/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:481:4775)
2024-07-31 16:13:53.557Z: at async xeA (/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:614:11265)
2024-07-31 16:13:53.557Z: at async UeA (/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:614:11006)
2024-07-31 16:13:53.561Z: devcontainer process exited with exit code 1

====================================== ERROR ====================================
2024-07-31 16:13:53.565Z: Failed to create container.

2024-07-31 16:13:53.565Z: Error: An error occurred setting up the container.
2024-07-31 16:13:53.568Z: Error code: 1302 (UnifiedContainersErrorFatalCreatingContainer)

====================================== ERROR ====================================
2024-07-31 16:13:53.577Z: Container creation failed.

2024-07-31 16:13:53.796Z:

===================================== WARNING ===================================
2024-07-31 16:13:53.797Z: Creating recovery container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant