Comments (7)
Hello,
I presume that the code you are running is from the master branch. I am not experiencing the same issue, could you try deleting the containers and their volumes and re-creating them ?
Are there any log messages you can share from the db container ?
Thanks
from cogstack-nifi.
Hi,
I have deleted and created the containers and volumes many times with the same result.
( I am on Windows 10)
Can you let me know where to find the logs in the db container ?
I see that the two files are copied/accessible from the containers;
- ../services/pgsamples/db_dump/db_samples-pdf-text-small.sql.gz:/data/db_samples.sql.gz:ro
- ../services/pgsamples/init_db.sh:/docker-entrypoint-initdb.d/init_db.sh:ro
-
So I tried to run them from the container (/docker-entrypoint-initdb.d # ./init_db.sh) and got the below error;
Creating database: db_samples and user: test
psql: FATAL: role "root" does not exist
Thanks,
from cogstack-nifi.
Hi,
Below is the only log on the container;
2021-11-23 19:22:47.743 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2021-11-23 19:22:47.743 UTC [1] LOG: listening on IPv6 address "::", port 5432
2021-11-23 19:22:47.764 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2021-11-23 19:22:47.828 UTC [48] LOG: database system was shut down at 2021-11-23 19:22:47 UTC
2021-11-23 19:22:47.846 UTC [1] LOG: database system is ready to accept connections
Thanks,
from cogstack-nifi.
Hello,
Make sure you are using the latest version of the repository.
The last thing I can suggest is making sure you have read/write/execute permissions on those files.
If you delete the volumes using docker volume rm deploy_samples-vol
and recreate the container, could you post the log again using docker logs cogstack-samples-db
?
from cogstack-nifi.
Hi,
I think the below was missing in the master branch services.yml
environment:
# PG env vars
- POSTGRES_USER=test
- POSTGRES_PASSWORD=test
With it the DB was created.
(The tool HeidiSQL has issues showing data from Postgres.)
So will check and come back.
Thanks for the support.
from cogstack-nifi.
Hello,
If there no further updates I will close the ticket.
from cogstack-nifi.
from cogstack-nifi.
Related Issues (8)
- Support for Different File Data Sources
- nlp response groovy script error HOT 3
- Any plans to move from OpenDistro to OpenSearch? HOT 2
- Upgrade opendistro/opensearch for log4j vulnerability HOT 1
- Suggestions for simplifying Docker Compose HOT 3
- Integration tests for supported workflows
- ElasticSearch reader component
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 cogstack-nifi.