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

[Bug] Docker Compose setup doesn't work #61

Closed
jeffmaher opened this issue May 24, 2020 · 3 comments · Fixed by #73
Closed

[Bug] Docker Compose setup doesn't work #61

jeffmaher opened this issue May 24, 2020 · 3 comments · Fixed by #73
Assignees

Comments

@jeffmaher
Copy link
Contributor

jeffmaher commented May 24, 2020

Hey friends! Saw this and tried to get this running via Docker Compose, but it was not able to get it started.

Steps

  1. Clone repo and go to base directory
  2. Edit docker-compose.yml's KEY_CLAIM_HOST and KEY_CLAIM_TOKEN to reflect my key-submission setup.
  3. Run docker-compose up

Expected Result

Get login screen at http://localhost:3000.

Actual Result

portal_1 is not able to stay up. Log file: docker-compose-log.txt

Also, if you leave it up running long enough, mysql_1 errors out with this line (amid portal_1 going up and down constantly):

mysql_1   | 2020-05-24T18:36:12.033263Z 2 [Note] Access denied for user ' $MYSQL_USER'@'localhost' (using password: YES)`. 

Maybe or maybe not related?

@jeffmaher
Copy link
Contributor Author

A colleague of mine spotted the code comment in docker-compose.yml that says to run sh ./bootstrap.sh to start up the app. Unfortunately, that also encountered errors. Here's the log:

bootstrap_script_log.txt

@honkfestival honkfestival self-assigned this May 28, 2020
@honkfestival
Copy link
Member

@jeffmaher we can finally reproduce this and are working on a fix. cc @Ginja

@shinebayar-g
Copy link

shinebayar-g commented Nov 19, 2020

@jeffmaher How did you solve it? I'm getting exact same error when running bundle exec rake portal:bootstrap

Edit: Issue is solved by removing default credentials.yml.enc file.

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

Successfully merging a pull request may close this issue.

3 participants