Newander
01/14/2020, 11:06 AMalembic.util.exc.CommandError: Path doesn't exist: '/home/newander/PycharmProjects/etl-backend/venv/lib/python3.8/site-packages/dagster/core/storage/runs/sqlite/alembic/'. Please use the 'init' command to create a new scripts folder.
As I may see, this error was occurred by the next causes:
I want to use postgresql as storage and add it to `repository.yaml`:
storage:
run_storage:
module: dagster_postgres.run_storage
class: PostgresRunStorage
config:
postgres_url: "<postgresql://postgres:123>@localhost:5432/etl_backend"
event_log_storage:
module: dagster_postgres.event_log
class: PostgresEventLogStorage
config:
postgres_url: "<postgresql://postgres:123>@localhost:5432/etl_backend"
But when I tried to start with dagster schedule up -y repository.yaml
I received the error above. I think this error is about the dagster/cli/schedule.py:157
code line where don't specified config.yaml
and using default where specified SQL database.
So, can you help me with it? (I can write pull request to fix CLI schedule up command but it will be too long)
Aaand the next question: what settings I need to add into yaml to specify script/version directory for Alembic?Cam Peterson
01/14/2020, 3:45 PMmax
01/14/2020, 7:24 PMCam Peterson
01/14/2020, 7:25 PMmax
01/14/2020, 7:32 PMpip install -U
you should be good to go