Skip to content

Commit 6b2039f

Browse files
fix(utils.py): add helpful log message, directing to use of LITELLM_MIGRATION_DIR
1 parent 5978f25 commit 6b2039f

File tree

1 file changed

+1
-1
lines changed
  • litellm-proxy-extras/litellm_proxy_extras

1 file changed

+1
-1
lines changed

litellm-proxy-extras/litellm_proxy_extras/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ def setup_database(use_migrate: bool = False) -> bool:
298298
and "database schema is not empty" in e.stderr
299299
):
300300
logger.info(
301-
"Database schema is not empty, creating baseline migration"
301+
"Database schema is not empty, creating baseline migration. In read-only file system, please set an environment variable `LITELLM_MIGRATION_DIR` to a writable directory to enable migrations. Learn more - https://docs.litellm.ai/docs/proxy/prod#read-only-file-system"
302302
)
303303
ProxyExtrasDBManager._create_baseline_migration(schema_path)
304304
logger.info(

0 commit comments

Comments
 (0)