Matthew Maldonado

05/14/2020, 10:02 PM
I'm on windows and prefect usually starts on restart just fine. However, I accidentally ran prefect server start again and now no flows show up on the UI. I even tired registering them again. Should i reinstall prefect? Flows look like they might be registering in the cli but they are not showing up on the ui. Prefect cloud seems to work fine though.

Laura Lorenz (she/her)

05/15/2020, 1:18 AM
Hi @Matthew Maldonado
prefect server start
runs a docker compose file that specifies a postgres container with no volumes mounted, so the storage is ephemeral, lasting as long as the container isn’t removed. If the container is removed (which happens if you ctrl-c out of
prefect server start
, for example, which you might have done when you ran the start command again and got port conflicts like I just did when I reproduced your issue), then it will be a new database when the next container starts. For longer running installations, running from the docker-compose file directly, or a modification of it with the volumes you want for your postgres database, or otherwise running the database (and any other of the services listed in the docker compose file you want to run without docker compose) gives you more control over your server installation. The specific docker compose file I am referring to is here: