Skip to content

The cache folder can't be used

warning: the cache folder /home/sam/.cache/axle can't be used: Permission denied (os error 13), so this run goes on without the cache
hint: Check that the folder can be written, or choose another one with dir under [cache] in axle.toml or with AXLE_CACHE_DIR.

Axle keeps its cache in a folder of your user account: %LOCALAPPDATA%\axle\cache on Windows, ~/Library/Caches/axle on macOS and ~/.cache/axle on Linux (or axle under XDG_CACHE_HOME when that is set), or the folder dir under [cache] in axle.toml or AXLE_CACHE_DIR names. It couldn’t create that folder or write to it.

When this happens as a run starts, every task runs and nothing is stored. When it happens while a task’s result is being stored, for example because the disk filled up, the message starts with the task’s name and ends without “so this run goes on without the cache”: only that task’s result is lost, and the other tasks still use the cache. axle cache status and axle cache clean stop with the same message as an error.

If Axle can’t tell where your user’s cache folder is at all, for example because HOME isn’t set, the message says “Axle can’t tell where the user’s cache folder is” instead.

Check the folder’s permissions and that the disk isn’t full, or choose a folder you can write to with dir under [cache] in axle.toml or with AXLE_CACHE_DIR.