Hi folks,
I recently set up a Disk to point ActiveStorage to in my rails app. I chose /mnt/activestorage and configured my production environment thus:
render:
service: Disk
root: “/mnt/activestorage”
I uploaded an image without issue, but what I’ve found unusual is when I inspect the Disk contents via shell, it appears empty. There is however an identical ‘mnt/activestorage’ folder inside the actual rails project itself, and here I can see the blob file. So it’s as if it’s not actually using the Disk, but creating the same path inside the project.
I wondered whether the mounted Disk was appearing inside the rails project folder for convenience, but that wouldn’t explain why inspecting the root ‘/mnt/activestorage’ appears empty.
Any ideas? Cheers