Skip to content

Windows installer hangs long on starting ollama container #58

Description

@redfave

I setup rag-code-mcp on my windows machine.
I used the install command from the readme: Invoke-WebRequest -Uri "https://github.com/doITmagic/rag-code-mcp/releases/latest/download/rag-code-mcp_windows_amd64.zip" -OutFile "ragcode.zip"; Expand-Archive ragcode.zip -DestinationPath . -Force; .\ragcode-installer.exe -ollama=docker -qdrant=docker.
The installation hanged on Starting container ragcode-ollama for around half an hour.
Inspecting the state in Docker Desktop revealed, that just the ragcode-qdrant container was running and idling (nu CPU usage at all). The qdrant WebUI was reachable.

I just let it run and after around half an hour it started to pull the ollama container and continued.
I can't explain why it chocked, but the installation seemed frozen.

Proposal: Make it verbose, what is happening inside and and add a warning, that it can take some time, so the installation don't get canceled.

   ____              ______          __
   / __ \____ _____ _/ ____/___  ____/ /__
  / /_/ / __ '/ __ '/ /   / __ \/ __  / _ \
 / _, _/ /_/ / /_/ / /___/ /_/ / /_/ /  __/
/_/ |_|\__,_/\__, /\____/\____/\__,_/\___/
            /____/
   Universal Installer

==> Checking Docker availability...
✓ Docker available at C:\Program Files\Docker\Docker\resources\bin\docker.exe
==> Installing RagCode binary...
==> Found rag-code-mcp.exe in current directory, copying to C:\Users\foo_user\.local\share\ragcode\bin...
✓ Binary installed successfully
==> Adding binary to PATH...
! Please add C:\Users\foo_user\.local\share\ragcode\bin to your PATH manually.
==> Installing runtime binaries into C:\Users\foo_user\.local\share\ragcode\bin...
==>  - Found index-all.exe in current directory, copying...
✓ Installed C:\Users\foo_user\.local\share\ragcode\bin\index-all.exe
==> Configuring services...
==> Starting container ragcode-qdrant...
✓ Started ragcode-qdrant
==> Starting container ragcode-ollama...

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