Open jose opened 2 weeks ago
Hi Jose!
Seems like pinning the Arch Linux version and installing the latest versions of the packages from the AUR causes issues. I think your approach with removing the specific container version should work (fingers crossed).
Regarding the other issue, this is occurs because the dataset container can't communicate with the mongodb server. Looking at the error, it seems like the connection is timing out. Have you started the mongodb server? It needs to run while conducting the experiments.
If it the mongodb server is running and it still doesn't work, it's likely an issue with the docker network. To debug this, see if you can try to ping the mongodb container from the dataset container.
The docker network commands are indeed wrong. I've fixed that in the README now. Thanks for pointing that out.
Hope that helps some.
Seems like pinning the Arch Linux version and installing the latest versions of the packages from the AUR causes issues. I think your approach with removing the specific container version should work (fingers crossed).
The archlinux:base-devel-20230312.0.133040
version was given some key errors while installing some packages.
Regarding the other issue, this is occurs because the dataset container can't communicate with the mongodb server. Looking at the error, it seems like the connection is timing out. Have you started the mongodb server? It needs to run while conducting the experiments.
I think I've. I ran
cd mongodb
docker compose run mongodb
that should be enough right?
If it the mongodb server is running and it still doesn't work, it's likely an issue with the docker network. To debug this, see if you can try to ping the mongodb container from the dataset container.
How would one do that? (Not a docker expert.)
The docker network commands are indeed wrong. I've fixed that in the README now. Thanks for pointing that out
👍
-- Best, Jose
I think I've fixed the dockerfiles now. I've removed the specific the specific arch linux versions, so now it just uses the latest version. For the issue with installing python packages, I've configured a virtual environment for each container now (prior versions of Arch Linux allowed you to installed packages globally. This is no longer allowed so a virtual env is needed).
Regarding the mongodb issue, I think that should be resolved now. The issue was that the docker compose file was missing the hostname
property so the other containers weren't able to connect to the mongodb container. Everything works on my end now.
Are you able to get it working now?
Hi @HakonHarnes,
First of all thanks for sharing this repository.
I've been trying to run the usage examples but with little to no success so far.
Setup
Your setup mentions
but docker v24.0.7 requires
Usage
Building the dataset
I'd to made a few changes to the Dockerfile to make it run.
but now, I get the following error when I run
docker compose run build-dataset
Any idea?
-- Best, Jose