[GH-ISSUE #15769] Ollama Version 0.21.1 (0.21.1) - Error on any cli command or chat message #72107

Open
opened 2026-05-05 03:29:22 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @matteonovelli on GitHub (Apr 23, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/15769

What is the issue?

I'm getting errors on any chat message or cli commands

I've already tried to uninstall and clean .ollama folders on my machine

matteonovelli@Matteos-MacBook-Pro ~ % ollama stop
Error: accepts 1 arg(s), received 0

matteonovelli@Matteos-MacBook-Pro ~ % ollama show
Error: accepts 1 arg(s), received 0

Image

Relevant log output

matteonovelli@Matteos-MacBook-Pro ~ % ollama stop
Error: accepts 1 arg(s), received 0

matteonovelli@Matteos-MacBook-Pro ~ % ollama show
Error: accepts 1 arg(s), received 0

OS

Macos Tahoe

GPU

Apple M5 24gb

CPU

Apple M5 24gb

Ollama version

0.21.1

Originally created by @matteonovelli on GitHub (Apr 23, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/15769 ### What is the issue? I'm getting errors on any chat message or cli commands I've already tried to uninstall and clean .ollama folders on my machine matteonovelli@Matteos-MacBook-Pro ~ % ollama stop Error: accepts 1 arg(s), received 0 matteonovelli@Matteos-MacBook-Pro ~ % ollama show Error: accepts 1 arg(s), received 0 <img width="1114" height="605" alt="Image" src="https://github.com/user-attachments/assets/be7990d7-036b-460f-93e1-0f14330d24bd" /> ### Relevant log output ```shell matteonovelli@Matteos-MacBook-Pro ~ % ollama stop Error: accepts 1 arg(s), received 0 matteonovelli@Matteos-MacBook-Pro ~ % ollama show Error: accepts 1 arg(s), received 0 ``` ### OS Macos Tahoe ### GPU Apple M5 24gb ### CPU Apple M5 24gb ### Ollama version 0.21.1
GiteaMirror added the bug label 2026-05-05 03:29:22 -05:00
Author
Owner

@anishesg commented on GitHub (Apr 25, 2026):

Fix in #15773. Changes stop and show from ExactArgs(1) to MaximumNArgs(1) and prints help when called without a model name instead of erroring.

<!-- gh-comment-id:4317150703 --> @anishesg commented on GitHub (Apr 25, 2026): Fix in #15773. Changes stop and show from ExactArgs(1) to MaximumNArgs(1) and prints help when called without a model name instead of erroring.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#72107