Issue with docker
aadwaitkale opened this issue · 4 comments
aadwaitkale commented
Following containers fails to start:
- cronmon_app
- cronmon_migrations
- cronmon_queue
- cronmon_scheduler
Logs from container:
DNS fwd/rev mismatch: mysql != cronmon_mysql_1.cronmon_default
mysql [172.25.0.2] 3306 (?) open
Could not open input file: /var/www/html/artisan
ohnotnow commented
Ah - sorry about that. Pull down the latest code and try the docker-compose up
again and it'll hopefully work.
devlim commented
I tried to docker-compose up
and getting the same issue
...
mysql_1 | 2020-11-30T13:32:36.868459Z 0 [Warning] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
mysql_1 | 2020-11-30T13:32:36.888225Z 0 [Note] Event Scheduler: Loaded 0 events
mysql_1 | 2020-11-30T13:32:36.888683Z 0 [Note] mysqld: ready for connections.
mysql_1 | Version: '5.7.31' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server (GPL)
migrations_1 | DNS fwd/rev mismatch: mysql != cronmon_mysql_1.cronmon_default
queue_1 | DNS fwd/rev mismatch: mysql != cronmon_mysql_1.cronmon_default
queue_1 | mysql [172.22.0.4] 3306 (?) open
migrations_1 | mysql [172.22.0.4] 3306 (?) open
app_1 | DNS fwd/rev mismatch: mysql != cronmon_mysql_1.cronmon_default
app_1 | mysql [172.22.0.4] 3306 (?) open
mysql_1 | 2020-11-30T13:32:37.150242Z 3 [Note] Got an error reading communication packets
mysql_1 | 2020-11-30T13:32:37.150337Z 2 [Note] Got an error reading communication packets
mysql_1 | 2020-11-30T13:32:37.161732Z 4 [Note] Got an error reading communication packets
scheduler_1 | DNS fwd/rev mismatch: mysql != cronmon_mysql_1.cronmon_default
scheduler_1 | mysql [172.22.0.4] 3306 (?) open
mysql_1 | 2020-11-30T13:32:37.177738Z 5 [Note] Got an error reading communication packets
migrations_1 | Could not open input file: /var/www/html/artisan
scheduler_1 | Could not open input file: /var/www/html/artisan
queue_1 | Could not open input file: /var/www/html/artisan
app_1 | Could not open input file: /var/www/html/artisan
ohnotnow commented
Ah - can you try pulling down the latest version of the repo and make sure the image for the container is removed (docker image rm ohffs/cronmon:2.0.1
) then run the docker-compose up
. Hopefully that should work now.
devlim commented
Thanks! it's working 😄