Skip to content

[Bug]: Factory reset using TUI fails on Windows 11 (WSL) and Podman #1203

@mpawlow

Description

@mpawlow

OpenRAG Version

0.3.2

Deployment Method

uv add (installed in project)

Operating System

Windows 11 + WSL + Ubuntu 24.04 + Podman

Python Version

Python 3.13.12

Affected Area

TUI (Terminal User Interface)

Bug Description

  • Factory reset using TUI fails on Windows 11 (WSL) and Podman

Steps to Reproduce

  1. Install OpenRAG via OpenRAG TUI
uv run openrag --tui
  1. Go to "Status"
  2. Click "Factory Reset"
    • BUG: Factory reset fails due to exception
    • See screenshot

Expected Behavior

  • Factory reset to work

Actual Behavior

  • Factory reset fails due to exception

Relevant Logs

Stopping all services...
Failed to stop services: �[4m>>>> Executing external compose provider "/usr/bin/podman-compose". Please refer to the documentation for details. <<<<

�[0mpodman-compose version: 1.0.6
usage: podman-compose [-h] [-v] [--in-pod in_pod] [--pod-args pod_args]
                      [--env-file env_file] [-f file] [-p PROJECT_NAME]
                      [--podman-path PODMAN_PATH] [--podman-args args]
                      [--podman-pull-args args] [--podman-push-args args]
                      [--podman-build-args args] [--podman-inspect-args args]
                      [--podman-run-args args] [--podman-start-args args]
                      [--podman-stop-args args] [--podman-rm-args args]
                      [--podman-volume-args args] [--no-ansi] [--no-cleanup]
                      [--dry-run]
                      {help,version,wait,systemd,pull,push,build,up,down,ps,run,exec,start,stop,restart,logs,config,port,pause,unpause,kill}
                      ...
podman-compose: error: unrecognized arguments: --rmi
Error: executing /usr/bin/podman-compose --env-file /home/mpawlow/.openrag/tui/.env -f /home/mpawlow/.openrag/tui/docker-compose.yml -f /home/mpawlow/.openrag/tui/docker-compose.gpu.yml down --volumes --remove-orphans --rmi local: exit status 2

Screenshots

Image

Additional Context

  • On Podman, the --rmi local command line option is not supported

Checklist

  • I have searched existing issues to ensure this bug hasn't been reported before.
  • I have provided all the requested information.

Metadata

Metadata

Assignees

Labels

bug🔴 Something isn't working.

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions