langflow-ai / langflow

Langflow is a low-code app builder for RAG and multi-agent AI applications. It’s Python-based and agnostic to any model, API, or database.
http://www.langflow.org
MIT License
34.18k stars 4.13k forks source link

Error in switching between to v1.1.0 from v1.0.19post2 #4637

Open pietro1996 opened 2 hours ago

pietro1996 commented 2 hours ago

Bug Description

Hi all, switching from v1.0.19post2 to v1.1.0 I got the following error in docker, any bugs or am I doing something wrong?image I

Reproduction

I launch langflow inside a docker compose where I changed the version manually to v1.1.0 from v1.0.19post2

The previous version worked correctly

Expected behavior

Launch the docker correctly

Who can help?

No response

Operating System

Ubuntu

Langflow Version

v1.1.0

Python Version

None

Screenshot

No response

Flow File

No response

dosubot[bot] commented 2 hours ago

Hey @pietro1996! I'm here to help you with any bugs, questions, or contributions you may have regarding langflow. Let's tackle this issue together!

I couldn't find specific information about known issues or bugs in Langflow version 1.1.0 that could affect Docker deployments. However, there are some general steps you can take to troubleshoot and resolve issues when upgrading Langflow in a Docker Compose setup:

  1. Check Docker Compose Configuration: Ensure that the Docker Compose file is correctly configured for version 1.1.0. You should update the image field under the langflow service to the correct version, such as langflowai/langflow:1.1.0.

  2. Database Migrations: If there are database schema changes between versions, you might need to run migrations. You can use the run_migrations method with the fix parameter set to True to handle any mismatches by downgrading and upgrading the database schema until successful [1].

  3. Clear Cache: Sometimes, clearing the cache can resolve issues. You can try removing the ~/.cache/langflow directory and running langflow migration --fix [2].

  4. Logs and Errors: Check the Docker logs for any specific error messages that might give more insight into what is going wrong.

If these steps do not resolve the issue, you might want to look for any additional documentation or community discussions related to upgrading Langflow in Docker environments.

To continue talking to Dosu, mention @dosu.