docker-udata icon indicating copy to clipboard operation
docker-udata copied to clipboard

Docker installation on Windows

Open moissinac opened this issue 6 years ago • 7 comments

I'm testing udata with the goal to use it for the Data&Musée french project. I've downloaded the current docker-udata and done the docker-compose up step, with success (I think so) Then, going to http://localhost:7000 I get a web page with a bar composed of a search textbox, a menu with items Organizations, Datasets, Reuses, Map and then two links for sign in/register But the main part of the window is the message Error Internal server error The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

Can you help me to track the problem?

moissinac avatar Dec 15 '18 20:12 moissinac

Complement: last lines of the log File "/usr/local/lib/python2.7/dist-packages/udata/theme/init.py", line 122, in configure udata_1 | self.entrypoint.load() udata_1 | File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 2407, in load udata_1 | self.require(*args, **kwargs) udata_1 | File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 2430, in require udata_1 | items = working_set.resolve(reqs, env, installer, extras=self.extras) udata_1 | File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 875, in resolve udata_1 | raise VersionConflict(dist, req).with_context(dependent_req) udata_1 | VersionConflict: (requests 2.19.1 (/usr/local/lib/python2.7/dist-packages), Requirement.parse('requests==2.20.0'))

moissinac avatar Dec 15 '18 20:12 moissinac

Hi :wave:

It seems pip misresolved python dependencies in the docker image build.

Sadly, it happens sometimes. We are going to check and fix this issue.

Sorry.

noirbizarre avatar Dec 17 '18 09:12 noirbizarre

Thank's for your reply Is there an idea for a workaround?

moissinac avatar Dec 19 '18 13:12 moissinac

Hi,

You can execute docker-compose exec udata pip install udata==1.6.2 to force the installation of the correct dependencies. I successfully tested this on my machine after reproducing the problem.

Sorry again for the inconvenience.

abulte avatar Dec 21 '18 08:12 abulte

Bonjour Merci d'avoir pris en compte notre problème. Nous avons testé la commande docker-compose exec udata pip install udata==1.6.2 nous obtenons ERROR: No such service: udata Personne n'est familier avec docker dans notre environnement.

moissinac avatar Mar 22 '19 15:03 moissinac

Same, in english Hi, Thank's for your reply We have tested docker-compose exec udata pip install udata==1.6.2 in the udata directory we get ERROR: No such service: udata Noone is familiar with docker here

moissinac avatar Mar 22 '19 15:03 moissinac

Hi,

Did you test w/ the latest release / docker image? The problem might be gone.

If not please post the result of docker ps so that we known your service's name.

abulte avatar Mar 25 '19 09:03 abulte