Docker Community Forums

Share and learn in the Docker community.

Lancache docker container on ubuntu 18.04 cannot get data to cache

Anyone willing to help me get lancache/monolithic working? I’m sure its just something stupid, like permissions. The logs seem to work, but nothing caches.

Tom…

I feel like you think you described your problem well enough that someone else is able to understand it…
Well, you didn’t :wink:

Share what you did (as in precise commands or your compose.yml) and describe your issue at hand and someone will actualy have the chance to get an impression of what needs to be done…

OK. But first off, I do not think this is a general docker problem, but a problem getting specific containers working. Secondly, all I did was follow directions off the lancache site, so I cannot really talk intelligently about it.

The containers seem to be working:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
4874e18e6418 lancachenet/monolithic:latest “/bin/bash -e /init/…” 2 days ago Up 2 days 0.0.0.0:80->80/tcp, 443/tcp lancache
7e27405c2a88 lancachenet/sniproxy:latest “/scripts/bootstrap.…” 3 days ago Up 3 days 0.0.0.0:443->443/tcp lancache-sniproxy
be2594c2fc4a lancachenet/lancache-dns:latest “bash /scripts/boots…” 3 days ago Up 3 days 0.0.0.0:53->53/udp lancache-dns
as far as I can tell.
I started lancache with -v /data/cache:/data/cache, so I assumed it would use my /data/cache outside the container to cache. It seems to be updating /data/logs correctly. but the error.log is filled with things like:
2019/06/23 23:03:09 [crit] 1275#1275: *2989 open() “/data/cache/cache/4e/e5/f4d9beacb32b02af823e9a3769ace54e.0000001426” failed (13: Permission denied) while reading upstream, client: 192.168.1.153, server: , request: “GET /msdownload/update/v3/static/trustedr/en/pinrulesstl.cab?5d1a5c2997ffb1cc HTTP/1.1”, upstream: “http://72.21.81.240:80/msdownload/update/v3/static/trustedr/en/pinrulesstl.cab?5d1a5c2997ffb1cc”, host: “ctldl.windowsupdate.com

It’s probably permissions, but I’m not sure what to do about it. Can anyone have mercy on me and help me?

Thanks,
Tom…