Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have an issue using the docker-compose distribution of Stampede #181

Closed
rychkog opened this issue May 15, 2017 · 1 comment
Closed

Have an issue using the docker-compose distribution of Stampede #181

rychkog opened this issue May 15, 2017 · 1 comment

Comments

@rychkog
Copy link

rychkog commented May 15, 2017

Hello!

Trying to run your docker-compose distribution, but have following in the terminal

mongodb_1          | 2017-05-15T05:44:21.280+0000 I REPL     [rsSync] transition to primary complete; database writes are now permitted
postgres_1         | FATAL:  role "torodb" does not exist
torodb-stampede_1  | 
torodb-stampede_1  | Connection to PostgreSQL Fatal error while ToroDB was starting: Was passed main parameter 'root' but no main parameter was defined:Fatal error while ToroDB was starting: Was passed main parameter 'root' but no main parameter was defined database Fatal error while ToroDB was starting: Was passed main parameter 'root' but no main parameter was defined with user postgres has failed!
torodb-stampede_1  | 
torodb-stampede_1  | Please, check PostgreSQL is running and, if connecting with TCP, the password for user postgres is correctly configured in /root/.pgpass
torodb-stampede_1  | Remember to set file permission correctly to 0600:
torodb-stampede_1  | chmod 0600 /root/.pgpass
torodb-stampede_1  | 
torodb-stampede_1  | To specify a user different than postgres to setup ToroDB Stampede specify it with environment variable ADMIN_USER:
torodb-stampede_1  | export ADMIN_USER=<PostgreSQL's administrator user name>
wiki_torodb-stampede_1 exited with code 1

As a consequence - cannot connect to the postgres using torodb user and torod database.
All what I did is:

  1. downloaded docker-compose.yml (as described in https://www.torodb.com/stampede/docs/1.0.0-beta2/installation/docker/)
  2. executed docker-compose up
@teoincontatto
Copy link
Contributor

Hi @rychkog !

Thanks for spotting this bug. We found a typo in the docker entry point script that was added accidentally somewhere in docker package deploy process.

We created an hotfix #182 to solve the issue and re-deployed the working package. Now it should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants