[GH-ISSUE #1969] Unable to push #1135

Closed
opened 2026-04-12 10:52:35 -05:00 by GiteaMirror · 10 comments
Owner

Originally created by @julianallchin on GitHub (Jan 12, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/1969

I followed all the steps in the documentation and Ollama is telling me

unable to push <username>/example, make sure this namespace exists and you are authorized to push to it

I have created the model online and uploaded my public key, but it doesn't work.

Originally created by @julianallchin on GitHub (Jan 12, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/1969 I followed all the steps in the documentation and Ollama is telling me ``` unable to push <username>/example, make sure this namespace exists and you are authorized to push to it ``` I have created the model online and uploaded my public key, but it doesn't work.
Author
Owner

@igorschlum commented on GitHub (Jan 13, 2024):

Hi @julianallchin What model do you want to push? Actually and du to copyright issues, models must be accredited by Ollama team. It would be nice to have a public library where Ollama users could share their models and debate on them.

<!-- gh-comment-id:1890359893 --> @igorschlum commented on GitHub (Jan 13, 2024): Hi @julianallchin What model do you want to push? Actually and du to copyright issues, models must be accredited by Ollama team. It would be nice to have a public library where Ollama users could share their models and debate on them.
Author
Owner

@easp commented on GitHub (Jan 13, 2024):

du to copyright issues, models must be accredited by Ollama team

Since when has Ollama required pre-screening before allowing model uploads to people's individual profiles on ollama.ai?

<!-- gh-comment-id:1890728462 --> @easp commented on GitHub (Jan 13, 2024): > du to copyright issues, models must be accredited by Ollama team Since when has Ollama required pre-screening before allowing model uploads to people's individual profiles on ollama.ai?
Author
Owner

@igorschlum commented on GitHub (Jan 13, 2024):

It's a logical deduction that I made. If true, it's from the begining.

<!-- gh-comment-id:1890756016 --> @igorschlum commented on GitHub (Jan 13, 2024): It's a logical deduction that I made. If true, it's from the begining.
Author
Owner

@julianallchin commented on GitHub (Jan 13, 2024):

What model do you want to push?

A fine-tuned mistral instruct

<!-- gh-comment-id:1890783209 --> @julianallchin commented on GitHub (Jan 13, 2024): > What model do you want to push? A fine-tuned mistral instruct
Author
Owner

@jmorganca commented on GitHub (Jan 14, 2024):

Hi @julianallchin, sorry you hit this. What's the name of the model you're looking to push?

<!-- gh-comment-id:1890861671 --> @jmorganca commented on GitHub (Jan 14, 2024): Hi @julianallchin, sorry you hit this. What's the name of the model you're looking to push?
Author
Owner

@julianallchin commented on GitHub (Jan 14, 2024):

julianallchin/sclip

<!-- gh-comment-id:1891113415 --> @julianallchin commented on GitHub (Jan 14, 2024): `julianallchin/sclip`
Author
Owner

@igorschlum commented on GitHub (Jan 15, 2024):

https://huggingface.co/julianallchin/mistral-sclip

<!-- gh-comment-id:1891393868 --> @igorschlum commented on GitHub (Jan 15, 2024): https://huggingface.co/julianallchin/mistral-sclip
Author
Owner

@pdevine commented on GitHub (Jan 15, 2024):

There's no prescreening. You can upload anything you want (although please don't upload copyrighted stuff).

@julianallchin are you by any chance using linux? You need to upload the public key for the server and not the client right now, which the pub key by default is sitting in `/usr/share/ollama/.ollama/id_ed25519.pub'.

Sorry that this is so confusing right now.

<!-- gh-comment-id:1892844207 --> @pdevine commented on GitHub (Jan 15, 2024): There's no prescreening. You can upload anything you want (although please don't upload copyrighted stuff). @julianallchin are you by any chance using linux? You need to upload the public key for the _server_ and not the _client_ right now, which the pub key by default is sitting in `/usr/share/ollama/.ollama/id_ed25519.pub'. Sorry that this is so confusing right now.
Author
Owner

@julianallchin commented on GitHub (Jan 16, 2024):

I am indeeeed using Linux. I uploaded the key in the directory ~/.ollama/id_ed25519.pub and not the one in /usr/share. Uploading the key from /usr/share fixed it. I don't know why there are two... maybe something to look at.

<!-- gh-comment-id:1892990875 --> @julianallchin commented on GitHub (Jan 16, 2024): I am indeeeed using Linux. I uploaded the key in the directory `~/.ollama/id_ed25519.pub` and not the one in `/usr/share`. Uploading the key from `/usr/share` **fixed it**. I don't know why there are two... maybe something to look at.
Author
Owner

@pdevine commented on GitHub (Jan 16, 2024):

The reason for two being created is that the server/client share the same binary, but in the case of Linux they're run in different locations/contexts. Ideally the server would just proxy the client key though, but we're a ways off from being able to do that.

<!-- gh-comment-id:1894293536 --> @pdevine commented on GitHub (Jan 16, 2024): The reason for two being created is that the server/client share the same binary, but in the case of Linux they're run in different locations/contexts. Ideally the server would just proxy the client key though, but we're a ways off from being able to do that.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#1135