mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-10 07:43:10 -05:00
Web-UI Container not starting on latest main #301
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Gerthum on GitHub (Feb 14, 2024).
Bug Report
Getting command not found when trying to run the docker container on windows. It was working yesterday I think it was before the latest commit.
Description
start.sh: line 2: $'\r': command not found start.sh: line 4: cd: $'/app/backend\r': No such file or directory start.sh: line 4: $'exit\r': command not found start.sh: line 5: $'\r': command not found start.sh: line 7: $'\r': command not found start.sh: line 23: syntax error: unexpected end of file start.sh: line 2: $'\r': command not found start.sh: line 4: cd: $'/app/backend\r': No such file or directory start.sh: line 4: $'exit\r': command not found start.sh: line 5: $'\r': command not found start.sh: line 7: $'\r': command not found start.sh: line 23: syntax error: unexpected end of fileBug Summary:
[Provide a brief but clear summary of the bug]
Docker container not starting.
Steps to Reproduce:
[Outline the steps to reproduce the bug. Be as detailed as possible.]
Expected Behavior:
[Describe what you expected to happen.]
Actual Behavior:
[Describe what actually happened.]
Environment
Windows 10 running Rancher Desktop
Reproduction Details
Run: docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v ollama-webui:/app/backend/data --name ollama-webui --restart always ghcr.io/ollama-webui/ollama-webui:main
Container will keep crashing
Confirmation:
Logs and Screenshots
Browser Console Logs:
[Include relevant browser console logs, if applicable]
Docker Container Logs:
[Include relevant Docker container logs, if applicable]
Screenshots (if applicable):
[Attach any relevant screenshots to help illustrate the issue]
Installation Method
[Describe the method you used to install the project, e.g., manual installation, Docker, package manager, etc.]
Additional Information
[Include any additional details that may help in understanding and reproducing the issue. This could include specific configurations, error messages, or anything else relevant to the bug.]
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
@tjbck commented on GitHub (Feb 14, 2024):
Hi, I'm unable to reproduce the issue on my machines, could provide more detailed steps to reproduce?
https://github.com/ollama-webui/ollama-webui/pull/723 might be the culprit here but I'm unable to verify.
@Gerthum commented on GitHub (Feb 14, 2024):
Thanks @tjbck - Are you testing on Windows with docker?
All I do is run: docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v ollama-webui:/app/backend/data --name ollama-webui --restart always ghcr.io/ollama-webui/ollama-webui:main
Then the container doesn't start.
Is there a way to pull an image before the last merge? Then I can test and see if it resolve the issue.
@justinh-rahb commented on GitHub (Feb 14, 2024):
@Gerthum this should be the commit just before #723:
@tjbck perhaps it's time to consider modifying the Docker workflow to created versioned tags. Even if we just used an auto-incrementing build number or the commit hash that triggered the action for now, would make pulling specific docker images easier than hunting down the sha256 hash. ETA: I've got something that will work for this #739.
@dangminhduc1101 commented on GitHub (Feb 15, 2024):
You might want to
docker rm -f ollama-webuianddocker pull ghcr.io/ollama-webui/ollama-webui:mainfirst, thendocker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v ollama-webui:/app/backend/data --name ollama-webui --restart always ghcr.io/ollama-webui/ollama-webui:main@jannikstdl commented on GitHub (Feb 15, 2024):
Yes, this issue should be fixed in #723
Repull the latest Image and try again.
@tjbck commented on GitHub (Feb 15, 2024):
Just tested with two of my windows machines, still unable to reproduce the issue on my side. Keep us updated!