klutchell / dnscrypt-proxy-docker

dnscrypt-proxy multiarch docker image
https://dnscrypt.info
MIT License
99 stars 20 forks source link

[WARNING] Couldn't write cache file #482

Closed lordraiden closed 2 months ago

lordraiden commented 2 months ago

Are this warnings problematic? what do they mean? does it affect to DNScrypt functions?

  dnscrypt-proxy:
    container_name: DNSCrypt-Proxy
    image: klutchell/dnscrypt-proxy
    <<: *config
    networks:
      eth2:
        ipv4_address: ${DNSCryptProxy_ip}
    ports:
        - "53:5053/udp"
    volumes:
      - /mnt/services/docker/DNSCrypt-Proxy:/config
[2024-09-02 17:14:51] [NOTICE] Resolving server host [raw.githubusercontent.com] using bootstrap resolvers over udp
[2024-09-02 17:14:52] [WARNING] Couldn't write cache file [relays.md]: open sf-5mkzlfmyo6ncts3v.tmp: permission denied
[2024-09-02 17:14:52] [WARNING] Couldn't update cache file [relays.md]: chtimes relays.md: no such file or directory
[2024-09-02 17:14:52] [NOTICE] Source [relays] loaded
[2024-09-02 17:14:52] [NOTICE] Service is not usable yet
[2024-09-02 17:14:52] [NOTICE] Resolving server host [download.dnscrypt.info] using bootstrap resolvers over udp
[2024-09-02 17:14:59] [WARNING] Couldn't write cache file [odoh-servers.md]: open sf-bdyzgxbcr2ehzsbr.tmp: permission denied
[2024-09-02 17:14:59] [WARNING] Couldn't update cache file [odoh-servers.md]: chtimes odoh-servers.md: no such file or directory
[2024-09-02 17:14:59] [NOTICE] Source [odoh-servers] loaded
[2024-09-02 17:14:59] [WARNING] Couldn't write cache file [odoh-relays.md]: open sf-abl4j45bt5dc7lri.tmp: permission denied
[2024-09-02 17:14:59] [WARNING] Couldn't update cache file [odoh-relays.md]: chtimes odoh-relays.md: no such file or directory
[2024-09-02 17:14:59] [NOTICE] Source [odoh-relays] loaded
[2024-09-02 17:14:59] [WARNING] Couldn't write cache file [public-resolvers.md]: open sf-k7vmsa3i2kjetz6t.tmp: permission denied
[2024-09-02 17:14:59] [WARNING] Couldn't update cache file [public-resolvers.md]: chtimes public-resolvers.md: no such file or directory
lordraiden commented 2 months ago

I read the documentation :)

run dnscrypt proxy server with configuration mounted from a host directory note that the files in the configuration directory '/path/to/config' must be readable by world, or owned by nobody:nogroup, and the directory itself must be writeable by world, or owned by nobody:nogroup

FIXED