ubc / iPeer

Peer Evaluation System
http://ipeer.ctlt.ubc.ca
Other
17 stars 18 forks source link

iPeer worker container failed to start #642

Open kitsook opened 4 years ago

kitsook commented 4 years ago

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.

xcompass commented 3 years ago

This is fixed in 1f94e1757e2039c9123f4cfe1bbe33a3ed861acb. 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: