autopilotpattern / wordpress

A robust and highly-scalable implementation of WordPress in Docker using the Autopilot Pattern
GNU General Public License v2.0
158 stars 41 forks source link

autopilotpattern/mysql:latest didn't work for me. #42

Open khangngu opened 7 years ago

khangngu commented 7 years ago

To get the wordpress autopilot to work successfully, I had to modify the docker-compose.yml file to use "autopilotpattern/mysql:5.6r3.1.0".

misterbisson commented 7 years ago

@khangngu: can you say what errors you encountered before you changed the MySQL image tag?

khangngu commented 7 years ago

Sorry I wasn't able to detect the exact error or find any useful clue in the log files. But I noticed that the wordpress autopilot only worked for me on one of the datacenters where I already had the image "autopilotpattern/mysql:5.6r3.1.0". On the other datacenters where the newer image "autopilotpattern/mysql:latest" was pulled, the wordpress deployment didn't work. The mysql instance was created successfully, but it looked like mysql database was not set up correctly. After I modified the docker-compose.yml file, the deployment for wordpress autopilot worked on the datacenters where it didn't work before.

doct15 commented 7 years ago

I had the same issue. Watching the logs (stdout of mysql) there was a stream of errors. 2016/12/29 00:31:56 ERROR manage Replica is not replicating. 2016/12/29 00:32:00 ERROR manage Replica is not replicating.

Changing to the version, indicated above, solved the issue.

tgross commented 7 years ago

We probably should pin the version. The latest is probably showing the problem that I'm looking into in https://github.com/autopilotpattern/mysql/issues/71