Skip to content

ERROR: "Failed to write response: Is a directory" when trying to hit repo on 8081 #244

@Routhinator

Description

@Routhinator

After getting this setup for the first time following he quickstart - the repo closes the socket without a response, and the following error is in the logs.

Logs

aurcache_1           | [2025-09-07T21:33:52Z WARN  rocket::server::_] Failed to write response: Is a directory (os error 21).

I've checked the permissions of the directories, and can see that under /app/repo/ the various arch directories are created and working - I can't firgure out why it's spitting this error for the repo port.

Compose file:

services:
  aurcache:
    image: ghcr.io/lukas-heiligenbrunner/aurcache:latest
    ports:
      - "8084:8080" # Frontend
      - "8085:8081" # Repo
    volumes:
      - /data/www/html/aurcache/repo:/app/repo
    privileged: true
    environment:
      - DB_TYPE=POSTGRESQL
      - DB_USER=aurcache
      - DB_PWD=aurcache
      - DB_HOST=dbhost
      ## HERE
      - MIRROR_RANK_SCHEDULE=0 0 2 * * 0
      ## END HERE
    networks:
      aurcache_network:
    restart: always
  aurcache_database:
    image: postgres:latest
    volumes:
      - ./aurcache/db:/var/lib/postgresql/data
    environment:
      - POSTGRES_PASSWORD=aurcache
      - POSTGRES_USER=aurcache
    restart: always
    networks:
      aurcache_network:
        aliases:
          - "dbhost"

networks:
  aurcache_network:
    driver: bridge

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions