Giter Site home page Giter Site logo

Comments (5)

jirikuncar avatar jirikuncar commented on September 21, 2024

@ltalirz thank you for trying out the Renga platform. First, I would like to find out if it is a problem with Renga platform (renga) or the CLI (renga-python).

Start by removing old configuration (find the path by running):

$ renga --config-path
/Users/<NAME>/Library/Application Support/Renga/config.yml

Please upload logs to Gist or Pastebin from docker-compose logs and list of installed packages by running pip freeze and send us a link.

Then you can check if we have already fixed the platform by running make wipe && docker-compose pull && make start and also install the latest CLI by running pip install -U -e git+https://github.com/SwissDataScienceCenter/renga-python.git#egg=renga.

from renku.

ltalirz avatar ltalirz commented on September 21, 2024

@jirikuncar thanks for having a look at this
I followed all your instructions, but unfortunately to no avail (the errors both in the web frontend and the cli remain the same).

Here the two logs you asked for:
https://gist.github.com/ltalirz/0aaa28a2f8a2d18475fbf3eba0810121
https://gist.github.com/ltalirz/bcffe7b02f0b1d32eaef239f5ccbcd36

I noticed one thing (perhaps unrelated):
I used to have to run all my docker commands via sudo or they would simply hang (I now realized that I had some environment variables configured that would connect to a different, unavailable docker host). I.e. I did sudo make start.

After removing the environment variables, I did make wipe && docker-compose pull && make start again, and that didn't solve things.

from renku.

jirikuncar avatar jirikuncar commented on September 21, 2024

@ltalirz sorry for long delay. Please check if everything is running with docker-compose ps. The Java based services require quite some memory, which sometimes causes Keycloak to restart and makes the login endpoint unavailable.

--
https://gist.github.com/ltalirz/0aaa28a2f8a2d18475fbf3eba0810121#file-docker-compose-logs-txt-L1535

from renku.

rokroskar avatar rokroskar commented on September 21, 2024

@ltalirz looks like the keycloak service died -- we've found that this can happen if the docker daemon on mac os is not given enough memory. See the note under https://renga.readthedocs.io/en/latest/user/setup.html#prerequisites on how to fix this and then please try to restart the platform with make wipe and make start.

from renku.

ltalirz avatar ltalirz commented on September 21, 2024

@jirikuncar @rokroskar Thanks for your help and my bad for overlooking this bit in the documentation. After setting the docker memory to 6GB, the problem is gone :)

I wonder:

  • could there be some way of checking at the time of installation whether there is enough memory available to run the application and print a warning otherwise?
  • on the web frontend, perhaps one could provide an "unreachable" error (or similar, I'm not an expert) when keycloak is not available, which would make it easier to track down the source of the problem. When I saw "internal server error" I didn't consider the possibility that the problem was just that one of the services was not running.

Anyhow, the original issue is resolved and can be closed.

from renku.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.