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

During the docker-compose build, errors occur due to incorrect repository links #1965

Open
1 task done
Wo1fgarr opened this issue Jan 31, 2025 · 6 comments
Open
1 task done

Comments

@Wo1fgarr
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Problem description

Hi!
The pom file contains links to repositories with incorrect URLs. The docker-compose build fails when trying to connect to them.

Image

I checked the links manually:

Image

Image

Proposed solution

Could you please provide valid links to the repositories or suggest an alternative solution for installing the software on an Ubuntu server?

Additional context

No response

Forum Topic Link

No response

@koebi
Copy link
Collaborator

koebi commented Jan 31, 2025

Hey,

could you provide the error message you encounter?
When using the docker-compose setup, you could also use the provided docker image - is there a reason why you are building your own?

Best regards

@Wo1fgarr
Copy link
Author

The error looks like this:

Image

Initially, I tried to follow your instructions at the link https://giscience.github.io/openrouteservice/run-instance/running-with-docker#running-prebuilt-images, but the command
wget https://github.com/GIScience/openrouteservice/releases/download/v8.0.0/docker-compose.yml does not download the specified file. The terminal only outputs the following message:

Image

Changing the command to wget https://github.com/GIScience/openrouteservice/releases/download/v9.1.0/docker-compose.yml - the version from the latest release, results in the same issue.

Please correct me if I'm doing something wrong.
Thank you!

@koebi
Copy link
Collaborator

koebi commented Jan 31, 2025

Hey,
to me, this looks like you're running on Windows, using Powershell.

It seems that wget doesn't behave the same in Powershell as it does on UNIX systems:
https://unix.stackexchange.com/questions/359972/wget-not-saving-file-after-download

Thus,
wget https://github.com/GIScience/openrouteservice/releases/download/v9.1.0/docker-compose.yml -O docker-compose.yml should do the trick.

As for why building doesn't work, could you provide the command you are issuing, its full output, and the output of git show?
It's a bit hard to understand what is happening otherwise :)

Best regards

@Wo1fgarr
Copy link
Author

Tried the command on my Ubuntu server:
wget https://github.com/GIScience/openrouteservice/releases/download/v9.1.0/docker-compose.yml -O docker-compose.yml

Result:

Image

Image

I manually downloaded the file and run it. And received the following message.

Image

From this, I came to the conclusion to download the Dockerfile from the main branch and, apparently, to build it manually.

I apologize if I am taking up your time 😟 My experience with Docker is only 2 days 😕
And perhaps I don't understand the entire process as a whole. I mean, how to run the process step by step to make it work.

@koebi
Copy link
Collaborator

koebi commented Feb 6, 2025

Hey,

I am a bit confused by the error you show in the latest screenshot - ops-test is something that would show up when trying to set up the openpoiservice, not the openrouteservice.

Could you clear up for me why this is?

Best regards

@Wo1fgarr
Copy link
Author

Wo1fgarr commented Feb 8, 2025

Hi!)
ops-test is a folder inside the home directory that I created to check the installation.
I suspect the issues are related to my machine being inside a work domain.
Repeating the process on my personal PC.
Looking here:
Image

The error at the beginning is:
Image

Opened the file to find the error.
Image

I changed it like this:
Image

Now I'm restarting:
Image

As I said, I'm a beginner with Docker.
My logic during the initial installation attempts before creating this request was to repeat the steps described in your instructions. If I start fixing further errors, as I understand it, I’ll end up with a manual build.
You mentioned earlier that there are pre-built Docker images, but I can't find them.

Please correct me if I'm wrong.

I'm following this path:
https://giscience.github.io/openrouteservice/run-instance/running-with-docker
Image
Image

And I see this:
Image

But as I understand it, I should see something like this?
Image

I’m also confused because I really want to try OpenRouteService, but so far everything seems to be leading to a manual build or using the .war file in Tomcat with manual configuration.

Thank you for your help and attention to my problem))

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