Closed Idefix0496 closed 3 years ago
/data/cache inside your container should be mapped to where ever you have your files. In your run command that location is mapped to /cache/data on your drive. Anything inside that folder is as if it were in /data/cache inside your container, so it will see /data/cache/cache/00 etc.
If you changed the ownership of all those file then the process inside the container will not be able to access them. I believe the correct permissions are www-data:www-data.
Your containers output at start-up should include a line like Fast permissions check successful, if you have any permissions error try running with -e FORCE_PERMS_CHECK = true
. Which, if memory serves, will correct the permissions of a mapped volume. This will take some time for a large cache.
@Idefix0496 Did you manage to resolve this with forcing the perms check?
This issue has been automatically closed after being inactive for 30 days. If you require further assistance please reopen the issue with more details or talk to us on discord
Describe the issue you are having
Hi, recently I've had an issue with my Lancache running on a Docker Container in a Virtual Ubuntu 18.04 Machine. Since I've updated some Packages in Ubuntu, the cache completely stopped working. Therefore I've secured the complete /cache/data/cache folder to another Harddrive, in order to later Recover it, and build the System up from Scratch. In order to copy the Data to the new Virtual Machine I changed the Permissions of /cache/data/cache with the commands chmod and chown to my needs. The cache seems to work normally except for the fact that it's not getting any of the previously Copied Files from the old Cache. It's just downloading it straight from the Internet instead. In the Error.Log File are a lot of "Permission Denied" Listings. So I think it*s a permission Issue. Furthermore I don't understand why It states: "open() /data/cache/cache/72/b6....2. If I'm looking the file path up in the Filexplorer of Ubuntu they are located at /cache/data/cache and not /data/cache/cache. Can someone shade some light into the dark :-)
How are you running the container(s)?
DNS Configuration
Output of container(s)