YD
09/15/2021, 9:08 PMprefect server stop
and then
prefect server start --detach --use-volume
but it get stuck
$ prefect server start --detach --use-volume
Pulling postgres ... done
Pulling hasura ... done
Pulling graphql ... done
Pulling towel ... done
Pulling apollo ... done
Pulling ui ... done
Creating network "prefect-server" with the default driver
temp_data_processing_postgres_1 is up-to-date
Creating temp_data_processing_hasura_1 ... done
temp_data_processing_graphql_1 is up-to-date
Creating temp_data_processing_towel_1 ... done
Creating temp_data_processing_apollo_1 ... done
Creating temp_data_processing_ui_1 ... done
does not detach
on on the UI I getKevin Kho
09/15/2021, 9:10 PMYD
09/15/2021, 9:12 PMKevin Kho
09/15/2021, 9:13 PMYD
09/15/2021, 9:13 PM$ prefect server start --detach --use-volume
Pulling postgres ... done
Pulling hasura ... done
Pulling graphql ... done
Pulling towel ... done
Pulling apollo ... done
Pulling ui ... done
Creating network "prefect-server" with the default driver
Starting temp_data_processing_postgres_1 ... error
ERROR: for temp_data_processing_postgres_1 Cannot start service postgres: network <some code> not found
ERROR: for postgres Cannot start service postgres: network <some code> not found
ERROR: Encountered errors while bringing up the project.
Kevin Kho
09/15/2021, 9:14 PMYD
09/15/2021, 9:15 PM0 8 * * * docker exec -it temp_data_processing_postgres_1 sh -c "psql PGPASSWORD=<PW> -U prefect -d prefect_server -c \"DELETE FROM log WHERE timestamp < NOW() - INTERVAL '14 days';\" "
Kevin Kho
09/15/2021, 9:27 PMZanie
09/15/2021, 9:28 PM<some code>
the literal output from docker-compose?YD
09/15/2021, 9:53 PM--use-volume
is started fine
then stopped again
Cleaned some data from the computer
and started with --use-volume
now it appears to be OKdf -h
I seeLast queried
does not appear to be resettingLast queried
keep getting larger and then the flows get heartbeat errorKevin Kho
09/16/2021, 12:49 AMYD
09/16/2021, 4:18 PMKevin Kho
09/16/2021, 4:49 PMYD
09/16/2021, 6:16 PMos.system(cmd)
Zach Angell
09/16/2021, 9:27 PMoverlay
is not a Prefect process. I'm not sure how much space it should be using. There is a long thread here about cleaning up / identifying contents of /var/lib/docker/overlay
that might be helpful https://forums.docker.com/t/some-way-to-clean-up-identify-contents-of-var-lib-docker-overlay/30604.
Happy to help debug a bit, but it's hard without more detail