The files are not actually saved on NFS share #2012
Unanswered
lasselehtinen
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Did you manage to solve it? If not, are you sure the user http (or any other process owner) is allowed to write to the NFS share? Do you see the NFS mount in I don't write to a NFS share, but I'm writing to another disk which seems to go fine. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I swapped an existing working configuration to use a shared NFS directory from storage_path('media'). This because I have multiple Horizon workers that need access to the files Everything seemed fine first, the media is indeed saved to the collection and it appears in the database. However when trying to access the file, it is not there. For some reason the file disappears in thin air and I cannot find the file anywhere in the file system. Any ideas how to debug this? I assume there are checks in place if saving the file fails for some reason. Any ideas what might be causing this?
The media is added:
$product->addMediaFromUrl($url)->withCustomProperties(['md5' => md5($contents)])->toMediaCollection('cover');
I have tried:
Beta Was this translation helpful? Give feedback.
All reactions