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

Clicking just the big drupalpod icon is unsuccessful "Your docker-compose version does not exist or is set to an invalid version" #128

Open
1 task done
rfay opened this issue Sep 30, 2023 · 2 comments

Comments

@rfay
Copy link

rfay commented Sep 30, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Output of ddev debug test

Expand `ddev debug test` diagnostic information
[COPY-PASTE HERE THE OUTPUT OF `ddev debug test`]

Expected Behavior

Clicking the big drupalod icon should do a basic install

Actual Behavior

Could not open a connection to your authentication agent.
.gitpod/drupal/drupalpod-setup.sh: line 15: export: `': not a valid identifier

 TIP OF THE DAY                                                              
 Try `ddev share` so collaborators anywhere can see your current project.    
 https://ddev.readthedocs.io/en/latest/users/topics/sharing/                 
 
Starting DrupalPod... 
Downloading https://github.com/docker/compose/releases/download/v2.21.0/docker-compose-linux-x86_64 ... 
docker-compose 0 B / 56.78 MiB [---------------------------------------]   0.00%Starting DrupalPod... 
Downloading https://github.com/docker/compose/releases/download/v2.21.0/docker-compose-linux-x86_64 ... 
docker-compose 56.78 MiB / 56.78 MiB [==============================] 100.00% 0s
Download complete. 
Your docker-compose version does not exist or is set to an invalid version.
Please use the built-in docker-compose.
Fix with 'ddev config global --required-docker-compose-version="" --use-docker-compose-from-path=false': fork/exec /home/gitpod/.ddev/bin/docker-compose: text file busy 
Download complete. 
gitpod /workspace/DrupalPod (main) $  Container ddev-ssh-agent  Recreate 
 Container ddev-ssh-agent  Recreated 
 Container ddev-ssh-agent  Started 
ssh-agent container is running: If you want to add authentication to the ssh-agent container, run 'ddev auth ssh' to enable your keys. 
 Container ddev-DrupalPod-db  Recreate 
 Container ddev-DrupalPod-chromedriver  Created 
 Container ddev-DrupalPod-web  Recreate 
 Container ddev-DrupalPod-db  Recreated 
 Container ddev-DrupalPod-web  Recreated 
 Container ddev-DrupalPod-chromedriver  Started 
 Container ddev-DrupalPod-db  Started 
 Container ddev-DrupalPod-web  Started 
Successfully started DrupalPod 
Project can be reached at https://8080-shaal-drupalpod-82ck6dkbmqk.ws-us105.gitpod.io 

There seem to be a set of errors there.

Steps To Reproduce

I clicked the big drupalpod icon using the ddltest github user (and gitpod user)

Full output: https://gist.github.com/rfay/d0a9c1e35266696bbd2dbd3136cfda1c

The full output showed that something went wrong with the docker-compose installation.

There was no composer.json in the root of the repo.

Final result was this:

image

Anything else?

No response

@rfay
Copy link
Author

rfay commented Sep 30, 2023

It looks like the first problem is that this doesn't work in that context:

export "$(grep -v '^#' "$GITPOD_REPO_ROOT"/.env | xargs -d '\n')"

@rfay rfay changed the title Clicking just the big drupalpod icon is unsuccessful Clicking just the big drupalpod icon is unsuccessful "Your docker-compose version does not exist or is set to an invalid version" Oct 1, 2023
@rfay
Copy link
Author

rfay commented Oct 1, 2023

It's still unsuccessful, but now it's because no project is created (ddev composer create) so there's no composer.json, no code. Just comes up with a 403 because there's no index.php:

image

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