mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-15 21:19:39 -05:00
Install clobbers /etc/systemd/system/ollama.service file destroying any custom configurations like specifying IP or PORT being served or preventing cors errors #53
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Dougie777 on GitHub (Nov 24, 2023).
Describe the bug
A clear and concise description of what the bug is.
Upgrading to the latest version clobbers my /etc/systemd/system/ollama.service file. If the file exists it should not be overwritten. Or the distro should only include a sample file like so /etc/systemd/system/ollama.service.sample
To Reproduce
Steps to reproduce the behavior:
1 Install ollama-webui as a service
2 Customize /etc/systemd/system/ollama.service like adding:
Environment=OLLAMA_HOST=0.0.0.0
Environment=OLLAMA_ORIGINS=*
3 Upgrade to the latest ollama-webui version
Expected behavior
A clear and concise description of what you expected to happen.
/etc/systemd/system/ollama.service is overwritten, destroying any customizations to this file.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
ubuntu - but applies to all
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
@tjbck commented on GitHub (Nov 24, 2023):
Hi, Could you tell us how exactly you installed/upgraded the web ui? I'll close this issue for now, as the WebUI does not contain any code that edit any system service files. Keep us updated, Thanks!