Engineering-Research-and-Development / true-connector

TRUE (TRUsted Engineering) Connector for the IDS (International Data Space) ecosystem
GNU Affero General Public License v3.0
24 stars 13 forks source link

Error in first step during docker-compose #40

Closed parwinderau closed 2 months ago

parwinderau commented 3 months ago

I am trying to test the true connector. I followed the steps given in the 1st video. However, after cloning the repo when I try to shoot the docker compose up command it gives the below error:

✔ Network trueconnector_provider Created 0.0s ✔ Network trueconnector_consumer Created 0.0s ✔ Volume "trueconnector_uc_provider_data" Created 0.0s external volume "trueconnector_be_dataapp_provider_data" not found

when I saw the docker-compose.yml file I can see "external" field is set to "true" by default under "trueconnector_be_dataapp_provider_data" block. If I change it "false", the installation move forward but not sure if it has any impact on further operations. Please fix this issue.

Thanks Parwinder Singh (PhD researcher) BTECH, Aarhus University, Denmark

davidjovanovic commented 3 months ago

Hello Parwinder,

Were happy that someone new is trying out our TRUE Connector! Regarding the issue, it actually works as intended, you need to setup an external volume as explained here. The videos are a bit outdated, you can still use them for a general know how if you never used Postman, Docker etc. For a more detailed and correct explanation of the setup please follow our written documentation.

Thank for your help and for using the TRUE Connector! David Jovanovic

parwinderau commented 3 months ago

Thanks David for the crucial information,

I am following the steps given in start-stop.md herehttps://github.com/Engineering-Research-and-Development/true-connector/blob/main/doc/TRUEConnector/start-stop.md and it still stucks in script execution step

I believe this step in script is getting stuck: docker run --rm -v "C:/true-connector/be-dataapp_data_provider:/source_data" -v "be_dataapp_provider_data:/target_data" alpine sh -c "cp -r /source_data/* /target_data/datalake/"

I don't know what is going wrong here. In this case there is no error. For your information I am using windows 11, powershell (as administrator) and cloned true connector repository at C:\ @.***

Any advise or inputs are welcome.

BR Parwinder From: davidjovanovic @.> Sent: Wednesday, April 10, 2024 11:35 AM To: Engineering-Research-and-Development/true-connector @.> Cc: Parwinder Singh @.>; Author @.> Subject: Re: [Engineering-Research-and-Development/true-connector] Error in first step during docker-compose (Issue #40)

Hello Parwinder,

Were happy that someone new is trying out our TRUE Connector! Regarding the issue, it actually works as intended, you need to setup an external volume as explained herehttps://github.com/Engineering-Research-and-Development/true-connector/blob/main/doc/TRUEConnector/start-stop.md. The videos are a bit outdated, you can still use them for a general know how if you never used Postman, Docker etc. For a more detailed and correct explanation of the setup please follow our written documentation.

Thank for your help and for using the TRUE Connector! David Jovanovic

- Reply to this email directly, view it on GitHubhttps://github.com/Engineering-Research-and-Development/true-connector/issues/40#issuecomment-2047030558, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APJ23MHSWPGGSPXTFZJWEXDY4UBVLAVCNFSM6AAAAABGAAY6ROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBXGAZTANJVHA. You are receiving this because you authored the thread.Message ID: @.**@.>>

parwinderau commented 2 months ago

I have figured it out what is the problem. I was giving a path in incorrect way. I was using windows docker and C:/; so the problem was with the semicolon. When I simple use "/" in place of ":" it started working. For example ; /c/my/path/to/folder/ is a valid way. But still there were some issues with docker volumes on windows environment. So I switched it to the linux ubuntu 20.04 (under Azure VM) and its installation is working fine there.