Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ollama Fails to Install on Linux #537

Open
1 task
brian-at-pieces opened this issue Dec 18, 2024 · 5 comments
Open
1 task

Ollama Fails to Install on Linux #537

brian-at-pieces opened this issue Dec 18, 2024 · 5 comments
Assignees
Labels
app:desktop application bug Something isn't working known_issue Issue is knwon by the Pieces team and is being worked on os:linux status:new The ticket has been created and is awaiting initial review.

Comments

@brian-at-pieces
Copy link

Software

Desktop Application

Operating System / Platform

Linux

Your Pieces OS Version

11.0.0

Early Access Program

  • Yes, this is related to an Early Access Program feature.

Kindly describe the bug and include as much detail as possible on what you were doing so we can reproduce the bug.

User reports immediate "Ollama failed to install" diaglog upon clicking install Ollama install button in Pieces desktop app

@pieces-support-bot
Copy link

Hi @brian-at-pieces - Thank you so much for creating this issue. Your issue has been automatically triaged and routed to the proper Pieces team member. Look for a follow-up within the next 24 hours.

Based on the details you provided, you might find these related issues helpful:

In the meantime, please check out these helpful resources:

We appreciate your patience and contribution to making Pieces better!

@pieces-support-bot pieces-support-bot bot added bug Something isn't working status:new The ticket has been created and is awaiting initial review. app:desktop application os:linux and removed LLM P0 labels Dec 18, 2024
@mason-at-pieces mason-at-pieces added the known_issue Issue is knwon by the Pieces team and is being worked on label Dec 18, 2024
@brian-at-pieces
Copy link
Author

@ekuznetsov139 I believe the issue is that one of our packages is trying to using the curl program which is not guaranteed to be installed. We'll be patching this, but if you apt install curl you should be able to complete the download

@ekuznetsov139
Copy link

I do have curl, it is a standard part of ubuntu.

I have downloaded and installed ollama manually, I can launch it from a terminal and it runs in the background, but that had no effect on Pieces, which still wants to install it and still immediately prints "Ollama failed to install" .

@ekuznetsov139
Copy link

Ok, I think I see the problem. It's not that I don't have curl. The problem is that pieces-os is installed as a snap, and it runs in its own sandboxed environment from which curl is missing. You should add curl to the list of dependency packages somewhere in the snap definition file.

For the same reason, installing ollama globally would have no effect, because pieces-os can't launch or even see any executables outside its sandbox.

@brian-at-pieces
Copy link
Author

brian-at-pieces commented Dec 19, 2024

Yeah you're absolutely right. A little miscommunication internally about whether our package has strict or classic confinement. We're working on a patch that allows us to use ollama from a sandbox. Sorry again for the inconvenience here. We'll have a solution out ASAP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app:desktop application bug Something isn't working known_issue Issue is knwon by the Pieces team and is being worked on os:linux status:new The ticket has been created and is awaiting initial review.
Projects
None yet
Development

No branches or pull requests

4 participants