eyome
February 17, 2025, 9:23pm
1
Hi,
Please find the error I have at start of open-webui:
Below the content of “/nix/store/sx2qlci2gfmgx0fqk8jj4p27xv4pxz2x-open-webui-0.5.12/lib/python3.12/site-packages/open_webui/data/readme.txt’”
pip install dir for backend files (db, documents, etc.)
I also added:
services.open-webui.enable = true;
I don’t know what to do.
eyome
February 18, 2025, 11:24pm
2
I forget to say I use Nixos unstable
OSError: [Errno 30] Read-only file system: '/nix/store/sx2qlci2gfmgx0fqk8jj4p27xv4pxz2x-open-webui-0.5.12/lib/python3.12/site-packages/open_webui/data/readme.txt'
That sounds like an issue in the module, if the state dir isn’t configured correctly (or worse, if it’s trying to write to the readme?)
EDIT: Actually the module sets it properly, are you running it using the systemd service in the module or?
eyome
February 19, 2025, 11:17am
4
Not sure to understand your question, I try to reformulated my issue:
I added:
services.open-webui.enable = true;
I restarted the PC and I run:
open-webui serve
And I had the error already posted.
You should just be able to access <ip address>:port
after enabling open-webui and rebuilding. Services like this start a systemd service automatically when enabled. You don’t have to run open-webui serve
.
Here’s my config. I updated the port to not conflict with another service.
# Open-WebUI
{
pkgs,
...
}:{
services.open-webui = {
package = pkgs.unstable.open-webui;
enable = true;
port = 8083;
};
}
2 Likes
eyome
February 19, 2025, 5:09pm
6
Ok thank you firecat53.
I just had to remove “unstable” as I am already on unstable branch and it works
eyome
February 26, 2025, 10:42pm
7
Well, it looks it’s port = 8080 right now
For reasons…