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

winery fails to install when using the docker-compose.override.yml #60

Open
alphaOmegaOnGithub opened this issue May 18, 2023 · 0 comments

Comments

@alphaOmegaOnGithub
Copy link

I get the following error when running docker compose up with a docker-compose.override.yml with the following settings:
winery:
environment:
WINERY_REPOSITORY_PATH: /var/opentosca/repository
# WINERY_REPOSITORY_URL: https://github.com/OpenTOSCA/tosca-definitions-example-applications
WINERY_REPOSITORY_URL: https://github.com/UST-QuAntiL/tosca-definitions-qc-applications
# # use a modeling repository that is stored on the host system
# volumes:
# - :/var/opentosca/repository
# # e.g., - C:\tosca-definitions\tosca-definitions-qc-applications:/var/openstosca/repository

Just following the 1. tutorial in the opentosca-docker project.

file: /opt/winery/.winery/winery.yml
opentosca-dind-1 | time="2023-05-18T19:10:30.060778324Z" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address"
opentosca-winery-1 | 19:10:30.247 [main] ERROR o.e.w.r.b.filebased.GitBasedRepository :172 - Error initializing Git.
opentosca-winery-1 | java.io.IOException: Creating directories for /var/opentosca/repository/.git failed
opentosca-winery-1 | at org.eclipse.jgit.util.FileUtils.mkdirs(FileUtils.java:396)
opentosca-winery-1 | at org.eclipse.jgit.internal.storage.file.FileRepository.create(FileRepository.java:234)
opentosca-winery-1 | at org.eclipse.jgit.lib.Repository.create(Repository.java:178)

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

No branches or pull requests

1 participant