Skip to content

bug: docker container unable to find certs dir #53

Description

@gregmolskow

Overview

The docker image seems to have been updated without updating the paths in the compose files (specifically the certs path). When starting the docker image, I receive the following error (last few lines only):

roborock-local-server  |   File "/usr/local/lib/python3.11/site-packages/roborock_local_server/certs.py", line 42, in ensure_certificate
roborock-local-server  |     raise FileNotFoundError(f"Provided TLS cert not found: {self.paths.cert_file}")
roborock-local-server  | FileNotFoundError: Provided TLS cert not found: /app/data/certs/fullchain.pem

This issue causes the docker container to crash and restart.

Debugging Steps

To try to sole this issue, I updated the docker compose file to point to /app/data rather than /data this seemed to solve the issues locally on my machine.

Suggested fix

Update line 13 in the compose.yml file to ./data:/app/data/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions