[BUG] server: Error: ENOENT: no such file or directory, open './assets/style-dark.json' #1609

Closed
opened 2026-02-05 02:39:05 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @waclaw66 on GitHub (Nov 14, 2023).

The bug

Server assets cannot be found because they are located at /opt/immich/server/assets path.
Server is searching for them using relative path
dc4e6c4629/server/src/domain/system-config/system-config.service.ts (L88)
within default working directory /var/lib/immich.

The OS that Immich Server is running on

Fedora 38

Version of Immich Server

v1.86.0

Version of Immich Mobile App

not relevant

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

not relevant

Your .env content

default

Reproduction steps

not relevant

Additional information

No response

Originally created by @waclaw66 on GitHub (Nov 14, 2023). ### The bug Server assets cannot be found because they are located at `/opt/immich/server/assets` path. Server is searching for them using relative path https://github.com/immich-app/immich/blob/dc4e6c4629b0a334021f36ed4f150324e7546908/server/src/domain/system-config/system-config.service.ts#L88 within default working directory `/var/lib/immich`. ### The OS that Immich Server is running on Fedora 38 ### Version of Immich Server v1.86.0 ### Version of Immich Mobile App not relevant ### Platform with the issue - [X] Server - [ ] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML not relevant ``` ### Your .env content ```Shell default ``` ### Reproduction steps ```bash not relevant ``` ### Additional information _No response_
Author
Owner

@bo0tzz commented on GitHub (Nov 14, 2023):

Are you using the official docker container or some other installation method?

@bo0tzz commented on GitHub (Nov 14, 2023): Are you using the official docker container or some other installation method?
Author
Owner

@waclaw66 commented on GitHub (Nov 14, 2023):

Not using docker, just standard systemd services.

@waclaw66 commented on GitHub (Nov 14, 2023): Not using docker, just standard systemd services.
Author
Owner

@waclaw66 commented on GitHub (Nov 14, 2023):

I see, I missed this change, my bad...
dc4e6c4629/server/Dockerfile (L21)

@waclaw66 commented on GitHub (Nov 14, 2023): I see, I missed this change, my bad... https://github.com/immich-app/immich/blob/dc4e6c4629b0a334021f36ed4f150324e7546908/server/Dockerfile#L21
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#1609