trakt_enhanced icon indicating copy to clipboard operation
trakt_enhanced copied to clipboard

ENOENT: no such file or directory, open '/app/data/cache_imgs/svg

Open fsmeets84 opened this issue 7 months ago • 1 comments

After the installation at the first launch, I get an error message about the svg folder which can´t be found. Tried to create it manually, but it didn´t solve the issue

[img-proxy] error Error: ENOENT: no such file or directory, open '/app/data/cache_imgs/svg>'
    at async open (node:internal/fs/promises:639:25)
    at async Object.readFile (node:internal/fs/promises:1246:14)
    at async serve (file:///app/lib/sharp.js:89:14) {
        errno: -2,
        code: 'ENOENT',
        syscall: 'open',
        path: '/app/data/cache_imgs/svg>'
}

Some additional information: I'm running this in Docker on a Synology NAS, this is the docker-compose I used.

services:
  trakt:
    image: docker.io/diabolino/trakt_enhanced:latest
    container_name: trakt_enhanced
    restart: unless-stopped
    user: "1026:100"
    ports:
      - "30009:30009"
    volumes:
      - /volume1/docker/traktenhanced/data:/app/data:rw
      - /volume1/docker/traktenhanced/config:/app/config:rw
    environment:
      - TZ=Europe/Amsterdam
      - SESSION_SECRET=BvaHgOWL1UwxCvgF7K3AozfSdd6hSoYB

fsmeets84 avatar Sep 03 '25 22:09 fsmeets84

I did some more research, since I had the same issue in docker on my Synology, a VM on my Synology and locally on my Linux laptop.

Then I noticed the actual error, it tries to access this folder: /app/data/cache_imgs/svg> instead of /app/data/cache_imgs/svg/ or /app/data/cache_imgs/svg

The > causes the error

fsmeets84 avatar Sep 05 '25 06:09 fsmeets84