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

fix: ujust ollama #1159

Merged
merged 2 commits into from
Apr 19, 2024
Merged

fix: ujust ollama #1159

merged 2 commits into from
Apr 19, 2024

Conversation

storopoli
Copy link
Contributor

From a fresh install with NVIDIA the systemd user service fails to start due to the $HOME/.ollama/ dir not being present. Error message below:

Apr 19 13:48:46 desktop systemd[6775]: Starting ollama.service - The Ollama container...
░░ Subject: A start job for unit UNIT has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit UNIT has begun execution.
░░ 
░░ The job identifier is 2686.
Apr 19 13:48:46 desktop ollama[57764]: Error: statfs /var/home/storopoli/.ollama: no such file or directory
Apr 19 13:48:46 desktop podman[57764]: 2024-04-19 13:48:46.644839296 -0300 -03 m=+0.017979759 image pull 6ffa7903c2d4b1a8c90be45edf1c3931>
Apr 19 13:48:46 desktop systemd[6775]: ollama.service: Main process exited, code=exited, status=125/n/a
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

From a fresh install with NVIDIA the systemd user service fails to start due to the `$HOME/.ollama/` dir not being present.
Error message below:


```bash
Apr 19 13:48:46 desktop systemd[6775]: Starting ollama.service - The Ollama container...
░░ Subject: A start job for unit UNIT has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit UNIT has begun execution.
░░ 
░░ The job identifier is 2686.
Apr 19 13:48:46 desktop ollama[57764]: Error: statfs /var/home/storopoli/.ollama: no such file or directory
Apr 19 13:48:46 desktop podman[57764]: 2024-04-19 13:48:46.644839296 -0300 -03 m=+0.017979759 image pull 6ffa7903c2d4b1a8c90be45edf1c3931>
Apr 19 13:48:46 desktop systemd[6775]: ollama.service: Main process exited, code=exited, status=125/n/a
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
```
@storopoli storopoli requested a review from castrojo as a code owner April 19, 2024 16:55
Copy link
Member

@p5 p5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one! Have added a suggestion, but if other maintainers are okay with your approach, I am too 😄

@storopoli storopoli requested a review from p5 April 19, 2024 18:21
Copy link
Member

@p5 p5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Thank you!

@p5 p5 enabled auto-merge April 19, 2024 18:26
@p5 p5 added this pull request to the merge queue Apr 19, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 19, 2024
@p5 p5 merged commit 29b447d into ublue-os:main Apr 19, 2024
70 checks passed
awesomekyle pushed a commit to awesomekyle/bluefin that referenced this pull request Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants