Skip to content

BUG: Ollama does not report correct version properly, so ollama-webui errors when loading the interface #263

@sjclayton

Description

@sjclayton

Describe the bug

When I open the web UI, I am greeted with this error message Connection Issue or Update Needed followed by Oops! It seems like your Ollama needs a little attention. We've detected either a connection hiccup or observed that you're using an older version. Ensure you're on the latest Ollama version (version 0.1.16 or higher) or check your connection. If I close this pop-up, everything works normally.

Running a test connection to http://127.0.0.1:11434/api/version reports 0.0.0

It would appear that Ollama does not actually report the current version as of this time through the API, also I get the same result from running ollama --version on the command line.

To Reproduce
Steps to reproduce the behavior:

 1. Open the Web UI in browser.

Environment

 * OS: Arch Linux
 * Browser: Firefox 121
 * Ollama Version 0.1.17

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions