本地部署出错按照教程来的,啥也没改Python-dotenv could not parse statement starting at line 25 #185

Closed
opened 2026-02-21 17:26:17 -05:00 by yindo · 1 comment
Owner

Originally created by @luolin-ai on GitHub (Jun 19, 2023).

image
root@C20230408009359:/www/wwwroot/dify/api# flask db upgrade
Python-dotenv could not parse statement starting at line 25
WARNING:dotenv.main:Python-dotenv could not parse statement starting at line 25
INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
INFO [alembic.runtime.migration] Will assume transactional DDL.

Originally created by @luolin-ai on GitHub (Jun 19, 2023). ![image](https://github.com/langgenius/dify/assets/135555634/a350c9fa-134b-4a0d-8365-5599e495556b) root@C20230408009359:/www/wwwroot/dify/api# flask db upgrade Python-dotenv could not parse statement starting at line 25 WARNING:dotenv.main:Python-dotenv could not parse statement starting at line 25 INFO [alembic.runtime.migration] Context impl PostgresqlImpl. INFO [alembic.runtime.migration] Will assume transactional DDL.
yindo closed this issue 2026-02-21 17:26:17 -05:00
Author
Owner

@crazywoola commented on GitHub (Jun 19, 2023):

Did you copy .env.example to .env in /api?
If not, this will happen.

@crazywoola commented on GitHub (Jun 19, 2023): Did you copy `.env.example` to `.env` in /api? If not, this will happen.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#185