Git Product home page Git Product logo

Comments (3)

RyanNoelk avatar RyanNoelk commented on August 20, 2024

Hi,

Thanks for the detailed report. I will try and replicate the issue. However I'm not sure if this was caused by the DB. Regardless of if the DB/API were working or not, the UI should load (you just won't get any content).

If you were getting a blank screen when trying to load the App in a web browse, then there was something funky going on with the UI. One potential cause of this could be the extra time that the UI needs on a first time boot to load all the NPM packages. After the first boot the UI caches all the NPM packages so you don't need to install them again.

Back to the DB issues. The Postgres container will use the settings you have in the env_prod.list file to initialize itself. So if these values weren't initialize, the API uses the defaults: https://github.com/open-eats/openeats-api/blob/master/base/settings.py#L28-L32

Couple closing questions for you:

  • Is the App working as expected now: IE you can use it.
  • Are you trying to re-use another dockerized DB container (outside of the one that OpenEats will create)?

-Ryan

from openeats.

jnikolich avatar jnikolich commented on August 20, 2024

To answer your closing questions first:

  1. "Is the App working as expected now: IE you can use it". No, however I now believe this to be unrelated to this problem-report (see below).
  2. "Are you trying to re-use another dockerized DB container?". No, the only DB involved is the one created during OpenEats' installation. This also includes no external (non-dockerized) DB instances.

During my previous installation attempt, I waited approx. 30 secs before hitting the main page (I think I read about 30 secs somewhere in the doc'n). This time, to try and confirm your first-time-boot suspicion, I blew away all OpenEats containers, images, volumes and networks, and did a full reinstall from scratch, waiting 5 minutes after quick-start.py completed before hitting the main page. As you suspected, this time the main page got successfully (sort of) served up.

So it looks like, although no-password warnings are still being thrown, this does not appear to be inhibiting presentation of the homepage after initial installation. Whether or not those no-password warnings allude to future problems I cannot say, since I cannot yet fully utilize the app properly.

Unrelated Issues

The app still does not function correctly. However I suspect this to be caused by my use of an external (non-dockerized) Apache reverse-proxy (for HTTPS), combined with OpenEats apparently serving up static-content URLs. I will troubleshoot this separately, as I believe it's unrelated to this problem report. (Hopefully it's mis-configuration on my part.)

Thanks again for your quick response and sorry for the red-herring.

from openeats.

RyanNoelk avatar RyanNoelk commented on August 20, 2024

Good to know that was the issue. I'll be sure to update the docs to add that warning in there.

As for the HTTPS issues, you might wanna checkout this issue: open-eats/openeats-api#15

from openeats.

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.