I have an EC2 instance running a mlflow server using the following command:
mlflow server -h 0.0.0.0 --default-artifact-root s3://xxxx
After running multiple experiments, I was trying to register the best one. However, when trying to register or accessing the tab "Models", I get the following error:
INVALID_PARAMETER_VALUE: Model registry functionality is unavailable; got unsupported URI './mlruns' for model registry data storage. Supported URI schemes are: ['postgresql', 'mysql', 'sqlite', 'mssql']. See https://www.mlflow.org/docs/latest/tracking.html#storage for how to run an MLflow server against one of the supported backend storage locations.
This SO answer suggested adding a backend-store-uri
:
mlflow server -h 0.0.0.0 --default-artifact-root --backend-store-uri sqlite:///mlflow.db
That solved the above issue, however, now all experiments are gone. The Experiments tab is blank. Is there a way to add a backend-store-uri
after running multiple experiments while keeping all of them?