Giter Club home page Giter Club logo

Comments (8)

justinh-rahb avatar justinh-rahb commented on June 6, 2024
PermissionError: [Errno 1] Operation not permitted: '/app/backend/data/cache/embedding/models/tmp9atjzopt'

This looks like a problem, but unknown why it would work for :dev and not :main right now, but that could also depend on how old your image is. A hotfix was released ~2 hours ago, 4 hours after the initial v0.1.109 release earlier today.

from open-webui.

justinh-rahb avatar justinh-rahb commented on June 6, 2024

Appears the issue is something mentioned in discussions:

from open-webui.

Eforen avatar Eforen commented on June 6, 2024

I had actually found that myself and already proved that that is not the issue.

      initContainers:
      - name: init-data
        image: ghcr.io/open-webui/open-webui:main
        command: ["/bin/bash", "-c", "if [ ! -f /data/webui.db ]; then echo 'Cloning default data folder'; cp -r /app/backend/data /data; echo 'Done'; else echo 'Data folder already exists'; fi"]
        volumeMounts:
          - name: open-webui-data
            mountPath: "/data"

This would have fixed the problem but no change

from open-webui.

Eforen avatar Eforen commented on June 6, 2024

In my init container I got the logs

Cloning default data folder                                                                                                                                                                         Done

showing that it did indeed copy the data folder into the volume prior to mounting the volume in the final container that would run the software.

from open-webui.

justinh-rahb avatar justinh-rahb commented on June 6, 2024

We have about 2 maybe 3 regular contributors that use kubernetes, so I hope one of them or you has got some ideas or further context to add :/

from open-webui.

Eforen avatar Eforen commented on June 6, 2024

I'll see if I can find anything else.

from open-webui.

Eforen avatar Eforen commented on June 6, 2024

It may actually be related to that other issue... I remove the volume mount all together and it started up find... Obviousely that does not work... long term. When I get this sorted I'll make an example k8s config for people.

from open-webui.

Eforen avatar Eforen commented on June 6, 2024

I had a typo in my cp command >.< 😊

      initContainers:
      - name: init-data
        image: ghcr.io/open-webui/open-webui:main
        command: ["/bin/bash", "-c", "if [ ! -f /data/config.json ]; then echo 'Cloning default data folder'; cp -Rv /app/backend/data/* /data/; echo 'Done'; else echo 'Data folder already exists'; fi"]
        volumeMounts:
          - name: open-webui-data
            mountPath: "/data"

This makes everything work fine. Though this should not be needed.

from open-webui.

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.