Skip to content

have problem when run #43

Description

@wertrigone

i make add to openwebui but when try use this addon have error:

Sandbox runtime failed: Sandbox failed to start: Command '['/usr/bin/runsc', '--rootless=true', '--directfs=false', '--network=host', '--ignore-cgroups=true', '--root=/tmp/sandbox_jqrg1f7g/runtime', '--debug-log=/tmp/sandbox_jqrg1f7g/logs/', 'run', '--bundle=/tmp/sandbox_jqrg1f7g/bundle', 'sandbox']' returned non-zero exit status 1.

i dont undersrstand what i need to do, i will install "(venv) root@WebUI:/tmp# /usr/bin/runsc do /bin/echo "Hello from sandbox!""

my service:

### Edits below this comment will be discarded


### /etc/systemd/system/openwebui.service
# [Unit]
# Description=OpenWebUI Service
# After=network.target
# 
# [Service]
# User=root
# WorkingDirectory=/opt/openwebui
# ExecStart=/opt/openwebui/venv/bin/open-webui serve --host 0.0.0.0 --port 8080
# Restart=on-failure
# RestartSec=5s
# Environment="ENV=PROD"
# 
# [Install]
# WantedBy=multi-user.target
`(venv) root@WebUI:/tmp# sudo systemctl status openwebui.service
* openwebui.service - OpenWebUI Service
     Loaded: loaded (/etc/systemd/system/openwebui.service; enabled; preset: enabled)
     Active: active (running) since Wed 2025-08-06 22:26:37 UTC; 2min 49s ago
 Invocation: a0bb1a13af254a97ba2566bf5010dd3b
   Main PID: 26594 (open-webui)
      Tasks: 24 (limit: 38243)
     Memory: 827.7M (peak: 878.7M)
        CPU: 14.086s
     CGroup: /system.slice/openwebui.service
             `-leaf
               `-26594 /opt/openwebui/venv/bin/python3 /opt/openwebui/venv/bin/open-webui serve --host 0.0.0.0 --port 8080

Aug 06 22:27:39 WebUI open-webui[26594]: Emitting status event: {'status': 'in_progress', 'description': 'Running Python code in gVisor sandbox...', 'done':>
Aug 06 22:27:39 WebUI open-webui[26594]: Emitting status event: {'status': 'in_progress', 'description': 'Running Python code in gVisor sandbox...', 'done':>
Aug 06 22:27:39 WebUI open-webui[26594]: Emitting citation event: {'document': ['import sys\nsys.exit()'], 'metadata': ['import sys\nsys.exit()'], 'source':>
Aug 06 22:27:40 WebUI open-webui[26594]: Emitting status event: {'status': 'error', 'description': '[DEBUG MODE] Sandbox runtime failed: Sandbox failed to s>
Aug 06 22:27:40 WebUI open-webui[26594]: ebui.service/codeeval_0/supervisor/leaf/cgroup.subtree_control\']] system.slice/openwebui.service/codeeval_0/sandbo>
Aug 06 22:27:40 WebUI open-webui[26594]: \t: Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz", "stepping\\t: 1", "microcode\\t: 0xb00002e", "cpu MHz\\t\\t: 2892.1>
Aug 06 22:27:47 WebUI open-webui[26594]: 2025-08-06 22:27:47.175 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 194.87.29.70:0 - "POST /api/c>
Aug 06 22:27:47 WebUI open-webui[26594]: 2025-08-06 22:27:47.280 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 194.87.29.70:0 - "GET /api/v1>
Aug 06 22:27:53 WebUI open-webui[26594]: 2025-08-06 22:27:53.787 | WARNING  | open_webui.utils.middleware:post_response_handler:2238 - Task was cancelled! ->
Aug 06 22:27:53 WebUI open-webui[26594]: 2025-08-06 22:27:53.839 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 194.87.29.70:0 - "POST /api/t>
lines 1-22/22 (END)`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions