elementor / lokl-cli

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

Previously created site is no longer available #6

Closed gracevillarino closed 4 years ago

gracevillarino commented 4 years ago

I created the first site to test it and decided to get back to it later. I went to manage existing site, open the URL but it's not available. I thought it needed the docker to be restarted so I did that but nothing happened. I decided to create another site just to see if I'm able to make it work. The 2nd site was created and is accessible but the first site still isn't.

leonstafford commented 4 years ago

In terminal, if you run docker ps -a do you see it in the list?

I think it's that the container was stopped at some point before you tried using again.

If it shows in your Docker Dashboard in Mac (click on whale icon in menu bar > Dashboard), you can hit the Play icon to start it again. I think that'll get it manageable by Lokl again.

I'll add support to show status of containers and auto-start them when needed in next revision

gracevillarino commented 4 years ago

It showed up on the list of the sites on lokl but didn't know much about Docker. I restarted it via Docker Dashboard and it works again. W00t w00t!

leonstafford commented 4 years ago

@gracevillarino I've pushed an update to the script available at https://lokl.dev

So, if you now run

sh <(curl -sSl https://lokl.dev/go?v=2)

It should tell you your site's status when managing and auto-relaunch it whenever it's needed and isn't already running.

gracevillarino commented 4 years ago

Beautiful. Thanks