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

[BUG] Gradlew throws an error for fullStackComposeBuild #88

Open
FeryET opened this issue Jul 13, 2022 · 1 comment
Open

[BUG] Gradlew throws an error for fullStackComposeBuild #88

FeryET opened this issue Jul 13, 2022 · 1 comment

Comments

@FeryET
Copy link

FeryET commented Jul 13, 2022

Describe the bug
Cannot run the ./gradlew fullStackComposeBuild fullStackComposeUp. It throws an error:
The command:

./gradlew -Penv=.env -Pmanifest=sample.manifest-XNAT-ML-18.json fullStackComposeBuild fullStackComposeUp --info

The error:

Starting process 'command 'docker-compose''. Working directory: /root/xnat-ml/xnat-docker-compose Command: docker-compose -f docker-compose.yml -f activemq/docker-compose.yml -f orthanc/docker-compose.yml -f smtp/docker-compose.yml -p 164971b3537b4be1a7f871566efb256b_xnat-docker-compose_fullStack version --short
Successfully started process 'command 'docker-compose''
"164971b3537b4be1a7f871566efb256b_xnat-docker-compose_fullStack" is not a valid project name
:fullStackComposeBuild (Thread[Execution worker for ':',5,main]) completed. Took 0.07 secs.

To Reproduce
Steps to reproduce the behavior:

  1. Clone repository.
  2. Check out branch dependency-mgmt.
  3. Add configuration options.
  4. See error.

Expected behavior
Not throwing an error while building using gradle.

Docker server environment (please complete the following information):

  • Host OS: 5.4.0-121-generic GNU/Linux
  • Docker version 20.10.17, build 100c701
  • Docker Compose version v2.6.1
  • Anything else?

Configuration:

  • Branch of XNAT docker-compose project: ['features/dependency-mgmt`]
  • Commit hash or tag: 13295cd
  • Environment settings: default default.env
  • Configuration: [e.g. plugins, manifest, etc.]: sample.manifest-XNAT-ML-18.json
@FeryET FeryET changed the title [BUG] Short description of issue [BUG] Gradlew throws an error for fullStackComposeBuild Jul 13, 2022
@ericmil87
Copy link

try to run with sudo.
Example:

sudo ./gradlew -Penv=.env -Pmanifest=sample.manifest-XNAT-ML-18.json fullStackComposeBuild fullStackComposeUp --info

The problem might be if you are trying to run docker-compose or docker without the needed privileges.

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

2 participants