flask-soft-ui-dashboard icon indicating copy to clipboard operation
flask-soft-ui-dashboard copied to clipboard

Error: Directory migrations already exists and is not empty

Open Trojann opened this issue 1 year ago • 1 comments

Hi, I have an error when run docker compose command: => ERROR [appseed-app 7/10] RUN flask db init 1.0s

[appseed-app 7/10] RUN flask db init:
0.908 [2025-02-21 10:22:44,954] INFO in run: DEBUG = True 0.908 [2025-02-21 10:22:44,954] INFO in run: Page Compression = FALSE 0.908 [2025-02-21 10:22:44,954] INFO in run: DBMS = sqlite:////apps/db.sqlite3 0.908 [2025-02-21 10:22:44,954] INFO in run: ASSETS_ROOT = /static/assets 0.909 Error: Directory migrations already exists and is not empty

I just clone this repo and then follow by instruction to run docker compose command, no more updated code base.

Trojann avatar Feb 21 '25 10:02 Trojann

Hello @Trojann

Check again. For the db init command, the migration folder should not exist.

For more support, feel free to register on the new AppSeed platform:

https://app-generator.dev/

TY

app-generator avatar Feb 21 '25 11:02 app-generator