elementor / lokl-cli

Interactive script to launch and manage your Lokl sites
The Unlicense
66 stars 7 forks source link

"Timed out waiting for site to come online..." - not all systems support this docker image architecture #32

Open nevehallon opened 3 years ago

nevehallon commented 3 years ago

On Linux Ubuntu 20.04.2

When using commands: sh (go.sh OR running via curl) \ m \ 1 \ ### selecting project then choosing any action that requires polling until site is accessible.

Log outputs: Screenshot from 2021-05-26 20-35-38

found that this solution solved my issue: https://stackoverflow.com/a/63594116/9356733

Might be beneficial to test/check that user's system supports multi-architecture containers during script execution and alerting possible incompatibility.

Also, another solution may be to use the latest lokl docker image as I noticed that its architecture is amd64 as apposed to arm64. (suggest including in the lokl documentation)

gsxryan commented 2 years ago

I have this error as well. The root cause pops up only microseconds before clearing for the next screen. May be another item to put on the page after screen clearing, as I had to pull out the screen recorder to capture it.

image

I'm Using Proxmox QEMU kvm, Ubuntu 20.04lts with docker for this testing.

to TLDR the solution above, this is a requirement.

apt-get install qemu-user-static

although i'm still not able to get it to run. Probably just switching to another environment for now. Not enough cycles to solve this right now.

EDIT: Also effects Chromebook (suspecting probably WSL as well)

gsxryan commented 2 years ago

I found a pull request, this alone did not work. I used it in combination with forcing lokl:latest i the sh file got me working. https://github.com/leonstafford/lokl-cli/pull/27

Erudition commented 5 months ago

Looks like lokl latest was built for amd64, but the latest php image (rc2) was not (only built for arm). https://hub.docker.com/r/lokl/lokl/tags

Changing this line: https://github.com/elementor/lokl-cli/blob/2370639be5b1e4ff417ff7761234822679bd9c0b/cli.sh#L766

to "5.0.0-rc1" worked for me!