Unable to enable open-webui

Hi everyone!

I’m trying to enabling open-webui as described here: Ollama - Official NixOS Wiki with
services.open-webui.enable = true; in my configuration.nix

but upon rebuilding sudo nixos-rebuild switch I keep getting this error

error: Cannot build ‘/nix/store/sb3d4b16sk2if7hmhpngzwg6fq87y52x-open-webui-frontend-0.7.2-npm-deps.drv’.
Reason: builder failed with exit code 1.
Output paths:
/nix/store/7n6awjhf0v6d19dk06xz002ps01c5wmf-open-webui-frontend-0.7.2-npm-deps
Last 12 log lines:

Running phase: unpackPhase
unpacking source archive /nix/store/9cyp2fjinwnni5fb2d5ma795739jxdx8-source
source root is source
Running phase: patchPhase
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
no configure script, doing nothing
Running phase: buildPhase
Error: couldn’t fetch node_modules/@esbuild/linux-ia32 at https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.1.tgz: the server made an unrecoverable HTTP protocol violation

Caused by:
[92] Stream error in the HTTP/2 framing layer
For full logs, run:
nix log /nix/store/sb3d4b16sk2if7hmhpngzwg6fq87y52x-open-webui-frontend-0.7.2-npm-deps.drv
error: Cannot build ‘/nix/store/0bn3ywcqrfjjb1pascw6jbnqavnxnmsk-open-webui-frontend-0.7.2.drv’.
Reason: 1 dependency failed.
Output paths:
/nix/store/nrfk4ljj20m3q7wd71s0z7pij97fm5z9-open-webui-frontend-0.7.2
error: Cannot build ‘/nix/store/p3a8yvmwj9kwfp9k2b6zzds5b7jmirh9-open-webui-0.7.2.drv’.
Reason: 1 dependency failed.
Output paths:
/nix/store/5mmllcpla8skx45shbwpwsg481kdf4m4-open-webui-0.7.2-dist
/nix/store/w586a1b9n8mcij6q7rqrpw2sv2l04gv7-open-webui-0.7.2
error: Cannot build ‘/nix/store/4ccha6gpbkbqwwciz23vykbk1hv928qv-unit-open-webui.service.drv’.
Reason: 1 dependency failed.
Output paths:
/nix/store/fsc799g2piy3gsz6kz99cv9kh5xdflcr-unit-open-webui.service
error: Cannot build ‘/nix/store/566w89xqwyg964y0mghk5fcc88sndg30-system-units.drv’.
Reason: 1 dependency failed.
Output paths:
/nix/store/dha5xy6by2p3d7zhc8z95sb3zqwf1bd5-system-units
error: Cannot build ‘/nix/store/h6kffwn175ijrgzd4dawz097yd8yylf8-etc.drv’.
Reason: 1 dependency failed.
Output paths:
/nix/store/35j4vddxpharisl10a0i49d19p4xp1v6-etc
error: Cannot build ‘/nix/store/5gdw8s321ck50klaqsssi3z5xcqigkfs-nixos-system-nixos-26.05.20260120.80e4adb.drv’.
Reason: 1 dependency failed.
Output paths:
/nix/store/jscikw627gfidnbf4q6h5xacbajjjs62-nixos-system-nixos-26.05.20260120.80e4adb
Command ‘nix --extra-experimental-features ‘nix-command flakes’ build --print-out-paths ‘/etc/nixos#nixosConfigurations.“nixos”.config.system.build.toplevel’ --no-link’ returned non-zero exit status 1.

I’ve tried searching on the forum and online but couldn’t find anything useful. I’m a novice with NixOs, and Linux, do you have any pointers to resolve this issue?

Thanks!

Hello,

I just tried on my side and I was not able to reproduce the issue on nixos-unstable.

Thanks.

Thanks for the reply.

I don’t know what happened yesterday but retried today and worked as well.

1 Like