Skip to content

Permission denied upon start #502

Description

@mzhang28

I launched it wiht this docker compose config:

services:
  server:
    image: ghcr.io/orhun/rustypaste/rustypaste:0.16.1
    container_name: rustypaste
    restart: always
    environment:
      - RUST_LOG=debug
    env_file:
      - ./.env
    ports:
      - "10028:8000"
    volumes:
      - ./docker-data/upload/:/app/upload
      - ./config.toml:/app/config.toml

and got these errors

❯ docker compose logs
rustypaste  | Error: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }
rustypaste  | Error: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }
rustypaste  | Error: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }

no idea where this one is coming from. even with trace, there's only the correctly-parsed config file and this error and that's it. The app is crashing on start

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions