Directory "/" not found after fresh install

I’m getting this after a fresh install.
image

This problem only persists in the browser and no files show up.
It works fine using the windows desktop client or the android app.

My docker-compose:

  owncloud:
    image: owncloud/server:latest
    container_name: owncloud_server
    restart: always
    ports:
      - 8010:8080
    depends_on:
      - owncloud_mariadb
      - owncloud_redis
    environment:
      - OWNCLOUD_DOMAIN=cloud.mydomain.com
      - OWNCLOUD_TRUSTED_DOMAINS=cloud.mydomain.com,192.168.0.xx:8010
      - OWNCLOUD_DB_TYPE=mysql
      - OWNCLOUD_DB_NAME=owncloud
      - OWNCLOUD_DB_USERNAME=owncloud
      - OWNCLOUD_DB_PASSWORD=
      - OWNCLOUD_DB_HOST=owncloud_mariadb
      - OWNCLOUD_ADMIN_USERNAME=admin
      - OWNCLOUD_ADMIN_PASSWORD=
      - OWNCLOUD_MYSQL_UTF8MB4=true
      - OWNCLOUD_REDIS_ENABLED=true
      - OWNCLOUD_REDIS_HOST=owncloud_redis
    healthcheck:
      test: ["CMD", "/usr/bin/healthcheck"]
      interval: 30s
      timeout: 10s
      retries: 5
    volumes:
      - /media/sata/owncloud/data:/mnt/data
    networks:
      - swag

  owncloud_mariadb:
    image: mariadb:10.6 # minimum required ownCloud version is 10.9
    container_name: owncloud_mariadb
    restart: always
    environment:
      - MYSQL_ROOT_PASSWORD=
      - MYSQL_USER=owncloud
      - MYSQL_PASSWORD=
      - MYSQL_DATABASE=owncloud
    command: ["--max-allowed-packet=128M", "--innodb-log-file-size=64M"]
    healthcheck:
      test: ["CMD", "mysqladmin", "ping", "-u", "root", "--password="]
      interval: 10s
      timeout: 5s
      retries: 5
    volumes:
      - /media/sata/owncloud/mysql:/var/lib/mysql
    networks:
      - swag

  owncloud_redis:
    image: redis:6
    container_name: owncloud_redis
    restart: always
    command: ["--databases", "1"]
    healthcheck:
      test: ["CMD", "redis-cli", "ping"]
      interval: 10s
      timeout: 5s
      retries: 5
    volumes:
      - /media/sata/owncloud/redis:/data
    networks:
      - swag

After going AFK for a while and coming back, the problem solved itself. A page refresh and the error was gone, files showed up.

Edit: Out of nowhere it happened again and seems to stay.