Having issues with Jellyseerr

I tried to setup jellyseerr today but i ran into some issues when starting it. It seems like that it tries to make a folder for the log files in the nix store. Anyone knows a workaround? I am using the “services.jellyseerr.enable = true;” from its documentation

[heim@nixos:~]$ jellyseerr
/nix/store/7jh552730qgpz7qkx3h1qxrh6zl07622-jellyseerr-1.9.2/libexec/jellyseerr/node_modules/file-stream-rotator/FileStreamRotator.js:672
                        throw e;
                        ^

Error: EROFS: read-only file system, mkdir '/nix/store/7jh552730qgpz7qkx3h1qxrh6zl07622-jellyseerr-1.9.2/libexec/jellyseerr/deps/jellyseerr/config/logs/'
    at Object.mkdirSync (node:fs:1371:26)
    at /nix/store/7jh552730qgpz7qkx3h1qxrh6zl07622-jellyseerr-1.9.2/libexec/jellyseerr/node_modules/file-stream-rotator/FileStreamRotator.js:669:24
    at Array.reduce (<anonymous>)
    at mkDirForFile (/nix/store/7jh552730qgpz7qkx3h1qxrh6zl07622-jellyseerr-1.9.2/libexec/jellyseerr/node_modules/file-stream-rotator/FileStreamRotator.js:656:27)
    at FileStreamRotator.getStream (/nix/store/7jh552730qgpz7qkx3h1qxrh6zl07622-jellyseerr-1.9.2/libexec/jellyseerr/node_modules/file-stream-rotator/FileStreamRotator.js:532:5)
    at new DailyRotateFile (/nix/store/7jh552730qgpz7qkx3h1qxrh6zl07622-jellyseerr-1.9.2/libexec/jellyseerr/node_modules/winston-daily-rotate-file/daily-rotate-file.js:80:57)
    at Object.<anonymous> (/nix/store/7jh552730qgpz7qkx3h1qxrh6zl07622-jellyseerr-1.9.2/libexec/jellyseerr/deps/jellyseerr/dist/logger.js:55:9)
    at Module._compile (node:internal/modules/cjs/loader:1469:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
    at Module.load (node:internal/modules/cjs/loader:1288:32) {
  errno: -30,
  code: 'EROFS',
  syscall: 'mkdir',
  path: '/nix/store/7jh552730qgpz7qkx3h1qxrh6zl07622-jellyseerr-1.9.2/libexec/jellyseerr/deps/jellyseerr/config/logs/'
}

Node.js v20.18.1

If your are running NixOS your should install it as a service, otherwise you can have a look how it is done.

Edit: oops sorry I went too fast, can you try restarting it? systemctl restart jellyseerr.service

1 Like

It fixed it, well thanks I guess, I dont know why restarting my pc didnt fix it ¯_(ツ)_/¯

1 Like

I also have to restart my jellyseerr service on every reboot but I thought it was related to my setup (with some ZFS mounts), seems to be a more global issue