Comments (3)
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.
To answer your closing questions first:
- "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).
- "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.
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)
- Error on RPi4: Cannot start openeats web, api and nginx HOT 20
- When using remote DB openeats manage.py fails with pretty much everything due to not using Password... HOT 1
- Web container keeps stopping with error code 0 (portainer) HOT 2
- Access Denied - I think to DB HOT 2
- Support wake lock on recipe page to prevent device from sleeping
- Website blank on fresh install HOT 2
- Recipes with content cannot be created
- New Install - Database not populated and API not communicating? HOT 11
- Images of pictures not showing, due to the port not being put in the image url HOT 2
- Create sections of ingredients for multi-part recipes HOT 5
- Setup with external db not working (Composer errors) HOT 18
- Use name rather than username if it exists
- Images Broken When Accessing Via Internet HOT 2
- Open-eats.github.io site blank. HOT 6
- Found a possible security concern HOT 6
- no matching manifest for linux/arm64/v8 in the manifest list entries HOT 3
- API doesn't seem to work HOT 2
- pls update quick-start.py HOT 2
- pls update quick-start.py HOT 1
- Editing Recipe with 0 minutes Cooking time empty's field
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openeats.