Replies: 8 comments
-
This looks like a problem, but unknown why it would work for |
Beta Was this translation helpful? Give feedback.
-
Appears the issue is something mentioned in discussions: |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
In my init container I got the logs
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. |
Beta Was this translation helpful? Give feedback.
-
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 :/ |
Beta Was this translation helpful? Give feedback.
-
I'll see if I can find anything else. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
Bug Report
Description
Bug Summary:
Spinning up with the same vars as the example .env file in a k3s cluster using blank nfs based drive does not work with main branch
Steps to Reproduce:
Just spin it up
Expected Behavior:
to start up cleanly
Actual Behavior:
Environment
Reproduction Details
Confirmation:
Logs and Screenshots
Browser Console Logs:
[Include relevant browser console logs, if applicable]
Docker Container Logs:
See Above
Screenshots (if applicable):
[Attach any relevant screenshots to help illustrate the issue]
Installation Method
Docker
Additional Information
Note
My
ghcr.io/ollama-webui/ollama-webui:dev
deployment works fine so does not seem to be a system issue on my side.Beta Was this translation helpful? Give feedback.
All reactions