Giter Club home page Giter Club logo

Comments (24)

suchintan avatar suchintan commented on June 2, 2024 1

@Denis-hamon would it be helpful if we hopped on a quick call? I'd love to rapidfire a few configurations with you. Are you free at 2:30pm EST today? Do you want to follow up over email? [email protected]

from skyvern.

suchintan avatar suchintan commented on June 2, 2024 1

We hopped on a call and got to the bottom of the issue:

When you set the LLM Provider to be Claude and don't specify OpenAI API key.. the Skyvern service fails to start correctly and blows up

from skyvern.

tedramert avatar tedramert commented on June 2, 2024

Same here, @Denis-hamon. Were you able to fix this?

from skyvern.

LawyZheng avatar LawyZheng commented on June 2, 2024

Can you describe how you set up Skyvern step by step in detail?
We can't get any useful information just from the error.

from skyvern.

suchintan avatar suchintan commented on June 2, 2024

@Denis-hamon / @tedramert Did you run it through Docker or local setup?

from skyvern.

tedramert avatar tedramert commented on June 2, 2024

@suchintan these steps resulted in error for me

Screenshot 2024-05-15 at 10 19 04 PM

I set up my env as a contributor after 30 minutes of messing with docker configs to no avail

from skyvern.

Denis-hamon avatar Denis-hamon commented on June 2, 2024

@Denis-hamon / @tedramert Did you run it through Docker or local setup?

With latest version of Docker CE.
As @tedramert, I follow documentation step with docker compose setup.

from skyvern.

suchintan avatar suchintan commented on June 2, 2024

@Denis-hamon / @tedramert This is really bizarre. The most common reason the streamlit file fails to create is when

CMD [ "/bin/bash", "/app/entrypoint-skyvern.sh" ]

Within the Dockerfile fails to execute.

from skyvern.

suchintan avatar suchintan commented on June 2, 2024

Do you have multiple instances of postgres running? What's the output of docker ps? What about psql -l?

from skyvern.

Denis-hamon avatar Denis-hamon commented on June 2, 2024

@suchintan
Docker ps gives me that :

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
752a60b71a75 public.ecr.aws/t6d4b5t4/skyvern:latest "/bin/bash entrypoin…" 5 days ago Up 5 days 0.0.0.0:8501->8501/tcp, :::8501->8501/tcp skyvern-streamlit-1
be449fcf9f05 public.ecr.aws/t6d4b5t4/skyvern:latest "/bin/bash /app/entr…" 5 days ago Up 2 seconds skyvern-skyvern-1
d500bc008a2f postgres:14-alpine "docker-entrypoint.s…" 5 days ago Up 5 days (healthy) 5432/tcp skyvern-postgres-1

Error seems to be there when I type psql -l
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: FATAL: role "ubuntu" does not exist

from skyvern.

Denis-hamon avatar Denis-hamon commented on June 2, 2024

@suchintan
I ve created a role on postgre and now got this when I type psql -l

Name Owner Encoding Collate Ctype ICU Locale Locale Provider Access privileges
postgres postgres UTF8 C.UTF-8 C.UTF-8 libc
template0 postgres UTF8 C.UTF-8 C.UTF-8 libc =c/postgres +
postgres=CTc/postgres
template1 postgres UTF8 C.UTF-8 C.UTF-8 libc =c/postgres +
postgres=CTc/postgres

Unfortunately I still got the same issue when I am on the front : xxxx:8501

from skyvern.

suchintan avatar suchintan commented on June 2, 2024

@Denis-hamon can you try killing all running instances of postgres and run Skyvern again? I suspect it's trying to connect to the Alpine one, not the docker one and complaining

from skyvern.

suchintan avatar suchintan commented on June 2, 2024

Skyverns set up script creates the role for you

from skyvern.

Denis-hamon avatar Denis-hamon commented on June 2, 2024

@suchintan , still the same issue, would you please try with this last repo version, and update installation process on a VM with Docker? I think there are something in the middle of the process that remains not automated

Many thanks

from skyvern.

suchintan avatar suchintan commented on June 2, 2024

@Denis-hamon Thanks for the pushback here -- I just dug into this and found that our Docker image hasn't updated since April 7th 😱

We've pushed out a million changes since then haha.

image

@LawyZheng is looking into the script setup again to make sure things are running OK

from skyvern.

suchintan avatar suchintan commented on June 2, 2024

@Denis-hamon I just pulled the latest and it works OK now. Can you give it another try?

from skyvern.

Denis-hamon avatar Denis-hamon commented on June 2, 2024

@suchintan I tried again and unfortunately, it' still the same error.

from skyvern.

suchintan avatar suchintan commented on June 2, 2024

Can you share your docker PS output again? @Denis-hamon

from skyvern.

LawyZheng avatar LawyZheng commented on June 2, 2024

@Denis-hamon make sure about 2 things:

  1. Deleting the old Skyvern image, make sure you're going to pull the latest one.
  2. Make sure your .streamlit/secrets.yml has been deleted before you restart the container.

from skyvern.

Denis-hamon avatar Denis-hamon commented on June 2, 2024

@suchintan

It can 't be that because :

  1. I created a new Virtual machine completely new with
  • OS Ubuntu 24 last update
  • Docker last update
  • Python last stable version
  • Postgre last update
  1. There is no .streamlit/secrets.yml in .streamlit directory

from skyvern.

suchintan avatar suchintan commented on June 2, 2024

@Denis-hamon you don't need postgres or python to run Skyvern via Docker

Two questions:

  1. Are you running Docker Desktop?
  2. Are you just docker compose up -d? Or are you also running the setup scripts

from skyvern.

Denis-hamon avatar Denis-hamon commented on June 2, 2024

@suchintan

  • I have python and postgre installed on my VM , not specifically though my Docker container
  • I am running Docker engine compatible with Ubuntu 24
  • I just made docker compose up -d , I am not executing the setup scripts mentionned like ./setup.sh or ./run_skyvern.sh

from skyvern.

Denis-hamon avatar Denis-hamon commented on June 2, 2024

Sent :)
Many thanks
Denis

from skyvern.

LawyZheng avatar LawyZheng commented on June 2, 2024

@Denis-hamon we have fixed this bug and will release the latest version this week.
Could you try it again after the new version?

from skyvern.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.