Open WebUIEnvironment requirementsDocker setupOfficial Docker installationInstall Docker on Alibaba CloudOpen WebUI installationOpen WebUI operationAdministrator accountRegister and log inUser interfaceModel dialogueSwitch modelDemonstration: LLaVAFrequently Asked QuestionsClose Open WebUICommon ErrorsUnable to start Open WebUIService connection timeout
Demonstration environment
Development board: Jetson Orin NX 16GB
SSD: 128G
Tutorial scope
Motherboard model: jetson series, Raspberry Pi 5
Open WebUI is an open source project that aims to provide a simple and easy-to-use user interface (UI) for managing and monitoring open source software and services.
xxxxxxxxxx
When using Open WebUI, there is a high probability that the dialogue will be unresponsive or timeout. You can try to restart Open WebUI or use the Ollama tool to run the model!
Host and Conda installation of Open WebUI: Node.js >= 20.10, Python = 3.11:
Environment construction method | Difficulty (relatively) |
---|---|
Host | High |
Conda | Medium |
Docker | Low |
The tutorial demonstrates the installation of Open WebUI in Docker.
If Docker is not installed, you can use the script to install Docker in one click.
xxxxxxxxxx
The image we provide has Docker installed, so you don't need to install it yourself!
Domestic users may not be able to install Docker through official methods. We recommend using Alibaba Cloud to install Docker or using our image directly.
xxxxxxxxxx
sudo apt update
xxxxxxxxxx
sudo apt upgrade
Download the get-docker.sh file and save it in the current directory.
xxxxxxxxxx
sudo apt install curl
xxxxxxxxxx
curl -fsSL https://get.docker.com -o get-docker.sh
Run the get-docker.sh script file with sudo privileges.
xxxxxxxxxx
sudo sh get-docker.sh
If you cannot install it yourself, please use the image we provide.
xxxxxxxxxx
sudo apt update
xxxxxxxxxx
sudo apt install apt-transport-https ca-certificates curl gnupg2 lsb-release software-properties-common
xxxxxxxxxx
curl -fsSL https://mirrors.aliyun.com/docker-ce/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
xxxxxxxxxx
echo "deb [arch=arm64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://mirrors.aliyun.com/docker-ce/linux/debian bookworm stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
xxxxxxxxxx
sudo apt update
sudo apt install docker-ce docker-ce-cli containerd.io docker-compose-plugin
For systems with Docker installed, you can directly enter the following command in the terminal:
xxxxxxxxxx
sudo docker pull ghcr.io/open-webui/open-webui:main
Enter the following command in the terminal to start the specified Docker:
xxxxxxxxxx
sudo docker run --network=host -v open-webui:/app/backend/data -e OLLAMA_BASE_URL=http://127.0.0.1:11434 --name open-webui --restart always ghcr.io/open-webui/open-webui:main
After successful startup, use the following URL to access in the browser:
xxxxxxxxxx
http://localhost:8080/
For the first use, you need to register an account yourself. This account is an administrator account. You can fill in the information as required!
xxxxxxxxxx
Since all the contents of our mirror have been set up and tested, users can log in directly using our registered account:
Username: admin
Email: admin@qq.com
Password: admin
Since we have already registered: admin account, just log in directly!
Using Open WebUI for dialogue will run slower than using the Ollama tool directly, and may even cause a timeout service connection failure. This is related to the motherboard's memory and cannot be avoided!
xxxxxxxxxx
Users with ideas can switch to other Linux environments to build the Ollama tool and Open WebUI tool for dialogue
Click Select a model
to select a specific model for dialogue.
xxxxxxxxxx
The model pulled using ollama will be automatically added to the Open WebUI model option. Refresh the webpage and the new model will appear!
The LLaVA case demonstrated requires 8G or even more to run. Users can use other cases to test the Open WebUI dialogue function!
xxxxxxxxxx
What's in this image?
Close the self-starting Open WebUI.
xxxxxxxxxx
docker ps
xxxxxxxxxx
docker stop [CONTAINER ID] # Example docker stop 5f42ee9cf784
xxxxxxxxxx
docker ps -a
xxxxxxxxxx
docker rm [CONTAINER ID] # Example docker rm 5f42ee9cf784
Clean up all stopped containers:
xxxxxxxxxx
docker container prune
Solution: Close Open WebUI once and restart!
Close Open WebUI once and restart, then ask again or run the model with the Ollama tool to ask questions!