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

iPeer worker container failed to start #642

Open
kitsook opened this issue May 20, 2020 · 1 comment
Open

iPeer worker container failed to start #642

kitsook opened this issue May 20, 2020 · 1 comment
Assignees

Comments

@kitsook
Copy link
Contributor

kitsook commented May 20, 2020

When doing a fresh install with docker, the worker container won't start.

As defined in docker-compose.yml, the worker container is based on app image. It is missing the pdo_mysql extension that worker needs.

@kitsook kitsook self-assigned this May 20, 2020
@xcompass
Copy link
Member

This is fixed in 1f94e17. But now, with fresh installation, there is missing table error: Base table or view not found: 1146 Table 'ipeer.jobs' doesn't exist". Also the worker process should wait until database is up.

Suggested fix:

  • Delay worker container until database is up.
  • Create table if table doesn't exist in the worker process.

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