Open simonmeggle opened 4 years ago
I guess you are trying to run wordup on a VM? The mysql error shows me that probably the mariadb container is not starting as expected. I had this issue also on different VMs. In the next big release i will switch to bitnami containers, i hope that this issue will be gone after that.
No, I am working on a physical machine which has even much more power than my mac :-) Yes, the error sounds that the mariadb is not reachable. But I exec'd into the wordpress container, installed a db client and could connect. I also thought that the wp container tries to connect to the db too early and edited the docker-compose file. With the help of the dadarek/wait-for-dependencies image, I was able to delay the start of the wp container until db is really reachable on port 3306:
wordpress:
depends_on:
- start_dependencies
...
...
wordpress-cli:
depends_on:
- start_dependencies
...
...
start_dependencies:
image: dadarek/wait-for-dependencies
depends_on:
- db
command: db:3306
But even in this way, it did not work.
Can you imagine a reason for the line
npm WARN lifecycle foobar@0.1.0~postinstall: cannot run in wd test@0.1.0 wordup install || true (wd=/root/foobar)
during the "install" command? This is only happening on the linux machine, not on the mac. I think that this is the root cause. But I have no experience with node/npm and cannot interpret this error. Any try with unsafe-perm = true
in rc files (found by googling) was unsuccessful.
Thanks, Simon
It could be a permission issue, have you tried to run with sudo?
Yes, the error also comes when executing as root.
I just tried wordup on a centos7 machine and failed to install the server. There is a weird WARN message I cannot interpret:
=> Something got broken/not finished during the initialisation.
Starting the instance then fails with:
The logs of the wordup-cli container contain the line
node.js version: v13.12.0 Docker version 18.06.3-ce, build d7080c1
But I can start wordup projects I have created on my mac.
Thanks for any assistance... BR Simon