diff --git a/metadata-ingestion/src/datahub/cli/docker.py b/metadata-ingestion/src/datahub/cli/docker.py index 92f77bd4a6d0fe..d4d8fa3b4c39d1 100644 --- a/metadata-ingestion/src/datahub/cli/docker.py +++ b/metadata-ingestion/src/datahub/cli/docker.py @@ -451,7 +451,7 @@ def _restore( "--restore-file", required=False, type=str, - default="~/.datahub/quickstart/backup.sql", + default=os.path.expanduser("~/.datahub/quickstart/backup.sql"), help="Set this to provide a custom restore file", ) @click.option( @@ -528,6 +528,9 @@ def quickstart( quickstart_compose_file ) # convert to list from tuple + auth_resources_folder = Path(DATAHUB_ROOT_FOLDER) / "plugins/auth/resources" + os.makedirs(auth_resources_folder, exist_ok=True) + default_quickstart_compose_file = _get_default_quickstart_compose_file() if stop: _attempt_stop(quickstart_compose_file)