Open WebUIEnvironment requirementsDocker constructionOfficial installation of DockerInstall Docker on Alibaba CloudOpen WebUI installationOpen WebUI operationAdministrator accountRegister and log inUser interfaceModel dialogueSwitch modelDemo: LLaVAFrequently Asked QuestionsClose Open WebUICommon ErrorsUnable to start Open WebUIService connection timeout
Demo Environment
Development board: Jetson Orin series motherboard
SSD: 128G
Tutorial Applicability
Motherboard model | Support |
---|---|
Jetson Orin NX 16GB | √ |
Jetson Orin NX 8GB | √ |
Jetson Orin Nano 8GB | √ |
Jetson Orin Nano 4GB | √ |
Open WebUI is an open source project that aims to provide an 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 switch to 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 |
Tutorial demonstrates Docker installation of Open WebUI.
If Docker is not installed, you can use the script to install Docker in one click.
xxxxxxxxxx
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
Use sudo privileges to run the get-docker.sh script file.
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/ubuntu/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/ubuntu bionic 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: The image is the result of the pull
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 time, 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 be slower than using the Ollama tool directly, and may even cause timeout service connection failure. This is related to the memory of Jetson Nano and cannot be avoided!
xxxxxxxxxx
Users with ideas can switch to other Linux environments to build Ollama tools and Open WebUI tools 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 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!