skyvern icon indicating copy to clipboard operation
skyvern copied to clipboard

Postgres in Docker not getting connected

Open Arindam-FluxAuto opened this issue 10 months ago • 3 comments

I am trying to run the skyvern after cloning from the main branch in my local windows system. I have setup all the required recommendations, as directed in readme.md in documentation using python 3.11.

The mongodb docker got setup properly as I could see the database with tables and user are properly setup, But I couldn't see any data in the database, which are supposed to be added. To further analyze after running the command "poetry run python scripts/create_organization.py Skyvern-Open-Source" I am getting errors, I am attaching the following screenshots for the further reference in this regard so that I can get & fix the root cause run skyvern tool locally from my system,

top-part

bottom-part

Arindam-FluxAuto avatar Apr 05 '24 09:04 Arindam-FluxAuto

This is really bizarre -- it seems like we can't create organizations in your local because of an asyncio issue in windows?

suchintan avatar Apr 05 '24 14:04 suchintan

Does this issue still happen w/ the docker setup?

suchintan avatar May 05 '24 03:05 suchintan

Oh, are you trying to connect mongdb in Skyvern? I don't think postgres driver is compatible with mongodb.

LawyZheng avatar May 15 '24 06:05 LawyZheng

@Arindam-FluxAuto Are you able to use postgres instead of mongodb? Closing this for now

suchintan avatar May 21 '24 02:05 suchintan