Open WebUI having performance issues in offline (air-gapped) environment. When visiting the site, the API ( /api/version/updates ) will check the version (current & latest) information through the Internet. If its air-gapped environment then It takes around more than 2 mins to load the website (basically after the connection timeout, it uses current version as latest version)
Added
Introduced offline mode variable for Air-gapped environment and disabled version check from external source.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/open-webui/open-webui/pull/6003
**Author:** [@saravanan30erd](https://github.com/saravanan30erd)
**Created:** 10/8/2024
**Status:** ✅ Merged
**Merged:** 10/8/2024
**Merged by:** [@tjbck](https://github.com/tjbck)
**Base:** `dev` ← **Head:** `dev`
---
### 📝 Commits (1)
- [`16dd352`](https://github.com/open-webui/open-webui/commit/16dd352524a75be3da163386e37fbe939bf1fb80) add offline_mode and disable version check
### 📊 Changes
**2 files changed** (+17 additions, -5 deletions)
<details>
<summary>View changed files</summary>
📝 `backend/open_webui/env.py` (+6 -0)
📝 `backend/open_webui/main.py` (+11 -5)
</details>
### 📄 Description
Fix: https://github.com/open-webui/open-webui/discussions/5759 https://github.com/open-webui/open-webui/pull/5977
### Description
Open WebUI having performance issues in offline (air-gapped) environment. When visiting the site, the API ( /api/version/updates ) will check the version (current & latest) information through the Internet. If its air-gapped environment then It takes around more than 2 mins to load the website (basically after the connection timeout, it uses current version as latest version)
### Added
Introduced offline mode variable for Air-gapped environment and disabled version check from external source.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/6003
Author: @saravanan30erd
Created: 10/8/2024
Status: ✅ Merged
Merged: 10/8/2024
Merged by: @tjbck
Base:
dev← Head:dev📝 Commits (1)
16dd352add offline_mode and disable version check📊 Changes
2 files changed (+17 additions, -5 deletions)
View changed files
📝
backend/open_webui/env.py(+6 -0)📝
backend/open_webui/main.py(+11 -5)📄 Description
Fix: https://github.com/open-webui/open-webui/discussions/5759 https://github.com/open-webui/open-webui/pull/5977
Description
Open WebUI having performance issues in offline (air-gapped) environment. When visiting the site, the API ( /api/version/updates ) will check the version (current & latest) information through the Internet. If its air-gapped environment then It takes around more than 2 mins to load the website (basically after the connection timeout, it uses current version as latest version)
Added
Introduced offline mode variable for Air-gapped environment and disabled version check from external source.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.