Skip to content

internal server error 500 when uploading pipeline files #457

@kirk86

Description

@kirk86

I've installed open-webui in a conda environment using pip install open-webui
Then in local path on my disk followed the following example of installing pipelines.

Installation and Setup
Get started with Pipelines in a few easy steps:

Ensure Python 3.11 is installed. It is the only officially supported Python version.

Clone the Pipelines repository:

git clone https://github.com/open-webui/pipelines.git
cd pipelines

Install the required dependencies:

pip install -r requirements.txt

Start the Pipelines server:

sh ./start.sh

Once the server is running, set the OpenAI URL on your client to the Pipelines URL. This unlocks the full capabilities of Pipelines, integrating any Python library and creating custom workflows tailored to your needs.

And after than when visiting Admin > Settings > Pipelines I see the follownig:

Image

  1. Now if I try to copy a python file with a Pipeline code in the directory local-path/pipelines/pipelines/test_pipe.py then it doesn't show in the Admin > Settings > Pipelines still says No Pipelines Detected
  2. If I try to upload a file with a pipeline I get the following error in the command line 500 Internal Server Error

Image

Any ideas how to solve that issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions