☁️ 雲端辦公
所有檔案
分類管理
文件工作區
📝 編輯文件
把儲存操作固定在上方,避免被頁尾或編輯器工具列遮住。
瀏覽預覽
返回列表
刪除檔案
儲存變更
內容編輯區
open-webui serve
Document
<p>wu@DESKTOP-NBM7O2E:~$ open-webui serve<br>Loading WEBUI_SECRET_KEY from file, not provided as an environment variable.<br>Generating a new secret key and saving it to /home/wu/.webui_secret_key<br>Loading WEBUI_SECRET_KEY from /home/wu/.webui_secret_key<br>INFO [alembic.runtime.migration] Context impl SQLiteImpl.<br>INFO [alembic.runtime.migration] Will assume non-transactional DDL.<br>INFO [alembic.runtime.migration] Running upgrade -> 7e5b5dc7342b, init<br>INFO [alembic.runtime.migration] Running upgrade 7e5b5dc7342b -> ca81bd47c050, Add config table<br>INFO [alembic.runtime.migration] Running upgrade ca81bd47c050 -> c0fbf31ca0db, Update file table<br>INFO [alembic.runtime.migration] Running upgrade c0fbf31ca0db -> 6a39f3d8e55c, Add knowledge table<br>Creating knowledge table<br>Migrating data from document table to knowledge table<br>INFO [alembic.runtime.migration] Running upgrade 6a39f3d8e55c -> 242a2047eae0, Update chat table<br>Converting 'chat' column to JSON<br>Renaming 'chat' column to 'old_chat'<br>Adding new 'chat' column of type JSON<br>Dropping 'old_chat' column<br>INFO [alembic.runtime.migration] Running upgrade 242a2047eae0 -> 1af9b942657b, Migrate tags<br>INFO [alembic.runtime.migration] Running upgrade 1af9b942657b -> 3ab32c4b8f59, Update tags<br>Primary Key: {'name': None, 'constrained_columns': []}<br>Unique Constraints: [{'name': 'uq_id_user_id', 'column_names': ['id', 'user_id']}]<br>Indexes: [{'name': 'tag_id', 'column_names': ['id'], 'unique': 1, 'dialect_options': {}}]<br>Creating new primary key with 'id' and 'user_id'.<br>Dropping unique constraint: uq_id_user_id<br>Dropping unique index: tag_id<br>INFO [alembic.runtime.migration] Running upgrade 3ab32c4b8f59 -> c69f45358db4, Add folder table<br>INFO [alembic.runtime.migration] Running upgrade c69f45358db4 -> c29facfe716b, Update file table path<br>INFO [alembic.runtime.migration] Running upgrade c29facfe716b -> af906e964978, Add feedback table<br>INFO [alembic.runtime.migration] Running upgrade af906e964978 -> 4ace53fd72c8, Update folder table and change DateTime to BigInteger for timestamp fields<br>INFO [alembic.runtime.migration] Running upgrade 4ace53fd72c8 -> 922e7a387820, Add group table<br>INFO [alembic.runtime.migration] Running upgrade 922e7a387820 -> 57c599a3cb57, Add channel table<br>INFO [alembic.runtime.migration] Running upgrade 57c599a3cb57 -> 7826ab40b532, Update file table<br>INFO [alembic.runtime.migration] Running upgrade 7826ab40b532 -> 3781e22d8b01, Update message & channel tables<br>INFO [alembic.runtime.migration] Running upgrade 3781e22d8b01 -> 9f0c9cd09105, Add note table<br>INFO [alembic.runtime.migration] Running upgrade 9f0c9cd09105 -> d31026856c01, Update folder table data<br>INFO [alembic.runtime.migration] Running upgrade d31026856c01 -> 018012973d35, Add indexes<br>INFO [alembic.runtime.migration] Running upgrade 018012973d35 -> 3af16a1c9fb6, update user table<br>INFO [alembic.runtime.migration] Running upgrade 3af16a1c9fb6 -> 38d63c18f30f, Add oauth_session table<br>INFO [alembic.runtime.migration] Running upgrade 38d63c18f30f -> a5c220713937, Add reply_to_id column to message<br>INFO [alembic.runtime.migration] Running upgrade a5c220713937 -> 37f288994c47, add_group_member_table<br>[]<br>INFO [alembic.runtime.migration] Running upgrade 37f288994c47 -> 2f1211949ecc, Update messages and channel member table<br>INFO [alembic.runtime.migration] Running upgrade 2f1211949ecc -> b10670c03dd5, Update user table<br>INFO [alembic.runtime.migration] Running upgrade b10670c03dd5 -> 90ef40d4714e, Update channel and channel members table<br>INFO [alembic.runtime.migration] Running upgrade 90ef40d4714e -> 3e0e00844bb0, Add knowledge_file table<br>INFO [alembic.runtime.migration] Running upgrade 3e0e00844bb0 -> 6283dc0e4d8d, Add channel file table<br>INFO [alembic.runtime.migration] Running upgrade 6283dc0e4d8d -> 81cc2ce44d79, Update channel file and knowledge table<br>INFO [alembic.runtime.migration] Running upgrade 81cc2ce44d79 -> c440947495f3, Add chat_file table<br>INFO [alembic.runtime.migration] Running upgrade c440947495f3 -> 374d2f66af06, Add prompt history table<br>INFO [alembic.runtime.migration] Running upgrade 374d2f66af06 -> 8452d01d26d7, Add chat_message table<br>INFO [alembic.runtime.migration] Running upgrade 8452d01d26d7 -> f1e2d3c4b5a6, Add access_grant table<br>INFO [alembic.runtime.migration] Running upgrade f1e2d3c4b5a6 -> a1b2c3d4e5f6, Add skill table<br>INFO [alembic.runtime.migration] Running upgrade a1b2c3d4e5f6 -> b2c3d4e5f6a7, add scim column to user table<br>WARNI [open_webui.env]</p> <p>WARNING: CORS_ALLOW_ORIGIN IS SET TO '*' - NOT RECOMMENDED FOR PRODUCTION DEPLOYMENTS.</p> <p>/home/wu/.local/share/pipx/venvs/open-webui/lib/python3.12/site-packages/pydub/utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work<br> warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)<br>WARNI [langchain_community.utils.user_agent] USER_AGENT environment variable not set, consider setting it to identify your requests.</p> <p> ██████╗ ██████╗ ███████╗███╗ ██╗ ██╗ ██╗███████╗██████╗ ██╗ ██╗██╗<br>██╔═══██╗██╔══██╗██╔════╝████╗ ██║ ██║ ██║██╔════╝██╔══██╗██║ ██║██║<br>██║ ██║██████╔╝█████╗ ██╔██╗ ██║ ██║ █╗ ██║█████╗ ██████╔╝██║ ██║██║<br>██║ ██║██╔═══╝ ██╔══╝ ██║╚██╗██║ ██║███╗██║██╔══╝ ██╔══██╗██║ ██║██║<br>╚██████╔╝██║ ███████╗██║ ╚████║ ╚███╔███╔╝███████╗██████╔╝╚██████╔╝██║<br> ╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═══╝ ╚══╝╚══╝ ╚══════╝╚═════╝ ╚═════╝ ╚═╝</p> <p><br>v0.8.12 - building the best AI user interface.</p> <p>https://github.com/open-webui/open-webui</p> <p>Downloading (incomplete total...): 1.23kB [00:00, 5.30kB/s] Warning: You are sending unauthenticated requests to the HF Hub. Please set a HF_TOKEN to enable higher rate limits and faster downloads.<br>WARNI [huggingface_hub.utils._http] Warning: You are sending unauthenticated requests to the HF Hub. Please set a HF_TOKEN to enable higher rate limits and faster downloads.<br>Fetching 30 files: 100%|██████████████████████████████████████████████████████| 30/30 [01:19<00:00, 2.64s/it]<br>Download complete: : 931MB [01:19, 11.8MB/s] ████████████▊ | 26/30 [01:19<00:07, 1.91s/it]<br>Loading weights: 100%|███████████████████████████████████████████████████| 103/103 [00:00<00:00, 22682.63it/s]<br>BertModel LOAD REPORT from: /home/wu/.cache/huggingface/hub/models--sentence-transformers--all-MiniLM-L6-v2/snapshots/c9745ed1d9f207416be6d2e6f8de32d1f16199bf<br>Key | Status | |<br>------------------------+------------+--+-<br>embeddings.position_ids | UNEXPECTED | |</p> <p>Notes:<br>- UNEXPECTED :can be ignored when loading from different task/architecture; not ok if you expect identical arch.<br>INFO: Started server process [8171]<br>INFO: Waiting for application startup.<br>2026-04-20 15:25:00.144 | INFO | open_webui.utils.logger:start_logger:192 - GLOBAL_LOG_LEVEL: INFO<br>2026-04-20 15:25:00.144 | INFO | open_webui.main:lifespan:631 - Installing external dependencies of functions and tools...<br>2026-04-20 15:25:00.169 | INFO | open_webui.utils.plugin:install_frontmatter_requirements:404 - No requirements found in frontmatter.</p> <p> </p> <p>------</p> <p>wu@DESKTOP-NBM7O2E:~$ pipx install open-webui '--force'<br>Installing to existing venv 'open-webui'<br> installed package open-webui 0.8.12, installed using Python 3.12.3<br> These apps are now globally available<br> - open-webui<br>done! ✨ 🌟 ✨<br>wu@DESKTOP-NBM7O2E:~$</p> <p>------</p> <p>wu@DESKTOP-NBM7O2E:~$ open-webui serve<br>Loading WEBUI_SECRET_KEY from file, not provided as an environment variable.<br>Loading WEBUI_SECRET_KEY from /home/wu/.webui_secret_key<br>INFO [alembic.runtime.migration] Context impl SQLiteImpl.<br>INFO [alembic.runtime.migration] Will assume non-transactional DDL.<br>WARNI [open_webui.env]</p> <p>WARNING: CORS_ALLOW_ORIGIN IS SET TO '*' - NOT RECOMMENDED FOR PRODUCTION DEPLOYMENTS.</p> <p>/home/wu/.local/share/pipx/venvs/open-webui/lib/python3.12/site-packages/pydub/utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work<br> warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)<br>WARNI [langchain_community.utils.user_agent] USER_AGENT environment variable not set, consider setting it to identify your requests.</p> <p> ██████╗ ██████╗ ███████╗███╗ ██╗ ██╗ ██╗███████╗██████╗ ██╗ ██╗██╗<br>██╔═══██╗██╔══██╗██╔════╝████╗ ██║ ██║ ██║██╔════╝██╔══██╗██║ ██║██║<br>██║ ██║██████╔╝█████╗ ██╔██╗ ██║ ██║ █╗ ██║█████╗ ██████╔╝██║ ██║██║<br>██║ ██║██╔═══╝ ██╔══╝ ██║╚██╗██║ ██║███╗██║██╔══╝ ██╔══██╗██║ ██║██║<br>╚██████╔╝██║ ███████╗██║ ╚████║ ╚███╔███╔╝███████╗██████╔╝╚██████╔╝██║<br> ╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═══╝ ╚══╝╚══╝ ╚══════╝╚═════╝ ╚═════╝ ╚═╝</p> <p><br>v0.8.12 - building the best AI user interface.</p> <p>https://github.com/open-webui/open-webui</p> <p>Fetching 30 files: 100%|████████████████████████████████████████████████████████████| 30/30 [00:00<00:00, 193285.90it/s]<br>Download complete: : 0.00B [00:00, ?B/s] | 0/30 [00:00<?, ?it/s]<br>Loading weights: 100%|█████████████████████████████████████████████████████████████| 103/103 [00:00<00:00, 15377.42it/s]<br>BertModel LOAD REPORT from: /home/wu/.cache/huggingface/hub/models--sentence-transformers--all-MiniLM-L6-v2/snapshots/c9745ed1d9f207416be6d2e6f8de32d1f16199bf<br>Key | Status | |<br>------------------------+------------+--+-<br>embeddings.position_ids | UNEXPECTED | |</p> <p>Notes:<br>- UNEXPECTED :can be ignored when loading from different task/architecture; not ok if you expect identical arch.<br>INFO: Started server process [8344]<br>INFO: Waiting for application startup.<br>2026-04-20 15:32:14.759 | INFO | open_webui.utils.logger:start_logger:192 - GLOBAL_LOG_LEVEL: INFO<br>2026-04-20 15:32:14.760 | INFO | open_webui.main:lifespan:631 - Installing external dependencies of functions and tools...<br>2026-04-20 15:32:14.770 | INFO | open_webui.utils.plugin:install_frontmatter_requirements:404 - No requirements found in frontmatter.<br>[Errno 98] error while attempting to bind on address ('0.0.0.0', 8080): address already in use<br>wu@DESKTOP-NBM7O2E:~$ pipx install open-webui '--force'<br>Installing to existing venv 'open-webui'<br> installed package open-webui 0.8.12, installed using Python 3.12.3<br> These apps are now globally available<br> - open-webui<br>done! ✨ 🌟 ✨<br>wu@DESKTOP-NBM7O2E:~$ open-webui serve<br>Loading WEBUI_SECRET_KEY from file, not provided as an environment variable.<br>Loading WEBUI_SECRET_KEY from /home/wu/.webui_secret_key<br>INFO [alembic.runtime.migration] Context impl SQLiteImpl.<br>INFO [alembic.runtime.migration] Will assume non-transactional DDL.<br>WARNI [open_webui.env]</p> <p>WARNING: CORS_ALLOW_ORIGIN IS SET TO '*' - NOT RECOMMENDED FOR PRODUCTION DEPLOYMENTS.</p> <p>/home/wu/.local/share/pipx/venvs/open-webui/lib/python3.12/site-packages/pydub/utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work<br> warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)<br>WARNI [langchain_community.utils.user_agent] USER_AGENT environment variable not set, consider setting it to identify your requests.</p> <p> ██████╗ ██████╗ ███████╗███╗ ██╗ ██╗ ██╗███████╗██████╗ ██╗ ██╗██╗<br>██╔═══██╗██╔══██╗██╔════╝████╗ ██║ ██║ ██║██╔════╝██╔══██╗██║ ██║██║<br>██║ ██║██████╔╝█████╗ ██╔██╗ ██║ ██║ █╗ ██║█████╗ ██████╔╝██║ ██║██║<br>██║ ██║██╔═══╝ ██╔══╝ ██║╚██╗██║ ██║███╗██║██╔══╝ ██╔══██╗██║ ██║██║<br>╚██████╔╝██║ ███████╗██║ ╚████║ ╚███╔███╔╝███████╗██████╔╝╚██████╔╝██║<br> ╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═══╝ ╚══╝╚══╝ ╚══════╝╚═════╝ ╚═════╝ ╚═╝</p> <p><br>v0.8.12 - building the best AI user interface.</p> <p>https://github.com/open-webui/open-webui</p> <p>Fetching 30 files: 100%|██████████████████████████████████████████████████████████████| 30/30 [00:00<00:00, 5057.03it/s]<br>Download complete: : 0.00B [00:00, ?B/s] | 0/30 [00:00<?, ?it/s]<br>Loading weights: 100%|██████████████████████████████████████████████████████████████| 103/103 [00:00<00:00, 1385.02it/s]<br>BertModel LOAD REPORT from: /home/wu/.cache/huggingface/hub/models--sentence-transformers--all-MiniLM-L6-v2/snapshots/c9745ed1d9f207416be6d2e6f8de32d1f16199bf<br>Key | Status | |<br>------------------------+------------+--+-<br>embeddings.position_ids | UNEXPECTED | |</p> <p>Notes:<br>- UNEXPECTED :can be ignored when loading from different task/architecture; not ok if you expect identical arch.<br>INFO: Started server process [8423]<br>INFO: Waiting for application startup.<br>2026-04-20 15:39:29.347 | INFO | open_webui.utils.logger:start_logger:192 - GLOBAL_LOG_LEVEL: INFO<br>2026-04-20 15:39:29.347 | INFO | open_webui.main:lifespan:631 - Installing external dependencies of functions and tools...<br>2026-04-20 15:39:29.358 | INFO | open_webui.utils.plugin:install_frontmatter_requirements:404 - No requirements found in frontmatter.<br>[Errno 98] error while attempting to bind on address ('0.0.0.0', 8080): address already in use<br>wu@DESKTOP-NBM7O2E:~$</p> <p>-----</p> <p>wu@DESKTOP-NBM7O2E:~$ open-webui serve<br>Loading WEBUI_SECRET_KEY from file, not provided as an environment variable.<br>Loading WEBUI_SECRET_KEY from /home/wu/.webui_secret_key<br>INFO [alembic.runtime.migration] Context impl SQLiteImpl.<br>INFO [alembic.runtime.migration] Will assume non-transactional DDL.<br>WARNI [open_webui.env]</p> <p>WARNING: CORS_ALLOW_ORIGIN IS SET TO '*' - NOT RECOMMENDED FOR PRODUCTION DEPLOYMENTS.</p> <p>/home/wu/.local/share/pipx/venvs/open-webui/lib/python3.12/site-packages/pydub/utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work<br> warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)<br>WARNI [langchain_community.utils.user_agent] USER_AGENT environment variable not set, consider setting it to identify your requests.</p> <p> ██████╗ ██████╗ ███████╗███╗ ██╗ ██╗ ██╗███████╗██████╗ ██╗ ██╗██╗<br>██╔═══██╗██╔══██╗██╔════╝████╗ ██║ ██║ ██║██╔════╝██╔══██╗██║ ██║██║<br>██║ ██║██████╔╝█████╗ ██╔██╗ ██║ ██║ █╗ ██║█████╗ ██████╔╝██║ ██║██║<br>██║ ██║██╔═══╝ ██╔══╝ ██║╚██╗██║ ██║███╗██║██╔══╝ ██╔══██╗██║ ██║██║<br>╚██████╔╝██║ ███████╗██║ ╚████║ ╚███╔███╔╝███████╗██████╔╝╚██████╔╝██║<br> ╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═══╝ ╚══╝╚══╝ ╚══════╝╚═════╝ ╚═════╝ ╚═╝</p> <p><br>v0.8.12 - building the best AI user interface.</p> <p>https://github.com/open-webui/open-webui</p> <p>Fetching 30 files: 100%|██████████████████████████████████████████████████████████████| 30/30 [00:00<00:00, 3303.38it/s]<br>Download complete: : 0.00B [00:00, ?B/s] | 0/30 [00:00<?, ?it/s]<br>Loading weights: 100%|██████████████████████████████████████████████████████████████| 103/103 [00:00<00:00, 1079.00it/s]<br>BertModel LOAD REPORT from: /home/wu/.cache/huggingface/hub/models--sentence-transformers--all-MiniLM-L6-v2/snapshots/c9745ed1d9f207416be6d2e6f8de32d1f16199bf<br>Key | Status | |<br>------------------------+------------+--+-<br>embeddings.position_ids | UNEXPECTED | |</p> <p>Notes:<br>- UNEXPECTED :can be ignored when loading from different task/architecture; not ok if you expect identical arch.<br>INFO: Started server process [416]<br>INFO: Waiting for application startup.<br>2026-04-20 15:53:18.878 | INFO | open_webui.utils.logger:start_logger:192 - GLOBAL_LOG_LEVEL: INFO<br>2026-04-20 15:53:18.878 | INFO | open_webui.main:lifespan:631 - Installing external dependencies of functions and tools...<br>2026-04-20 15:53:18.888 | INFO | open_webui.utils.plugin:install_frontmatter_requirements:404 - No requirements found in frontmatter.</p>