Elliot Oram09/16/2021, 5:02 PM
to start the server (have another postgres instance on my machine hence the port diff) then I get the following error. However despite this and the logs spitting out endless errors the I can still connect agents and register flows and they still work. Any ideas how I can fix this?
prefect server start --postgres-port 5433
Zach Angell09/16/2021, 5:05 PM
prefect server database upgrade
Elliot Oram09/16/2021, 5:13 PM
$ prefect server database upgrade Usage: prefect server [OPTIONS] COMMAND [ARGS]... Try "prefect server -h" for help. Error: No such command "database".
Kevin Kho09/16/2021, 5:14 PM
Elliot Oram09/16/2021, 5:15 PM
Zach Angell09/16/2021, 5:56 PM
prefect-server database upgrade
Elliot Oram09/17/2021, 7:05 AM
$ prefect-server database upgrade zsh: command not found: prefect-server
Zach Angell09/17/2021, 1:53 PM
was added over a year ago. It seems like something is trying to write logs for a flow run that no longer exists. • Do you know what is trying to write these logs? The most likely candidate is a Prefect agent • Did you persist data when restarting Server? If not, it's possible any running flow runs would try to write remaining logs and generate these errors