Hard Link for Local Image Writing Error #275

Open
opened 2026-06-29 08:37:35 +00:00 by rob · 0 comments
Owner

Jovanie has encountered a hard link error working locally

Error:

// hard link the file

if (! link($file, $targetPath) ) {

    throw new \Exception("Failed to create file in store. link($file, $targetPath) failed.");

}

Impact: cannot upload (write) images on local.

Cause: Uknown. Both folders have been made writable.

Jaidev said he cannot check the code file as he doesn't have the files any longer but seems like that folder does not have permission to store files

He recommend to execute chmod -R 777 /estack/data as the estack/data folder is folder where files are stored. That was already tried without success.

Solution: TBD; a temporary local workaound has been implimented that we cannot push live.

Jovanie has encountered a hard link error working locally **Error:** // hard link the file if (! link($file, $targetPath) ) {     throw new \\Exception("Failed to create file in store. link($file, $targetPath) failed."); } **Impact:** cannot upload (write) images on local. **Cause:** Uknown. Both folders have been made writable. Jaidev said he cannot check the code file as he doesn't have the files any longer but seems like that folder does not have permission to store files He recommend to execute chmod -R 777 /estack/data as the estack/data folder is folder where files are stored. That was already tried without success. **Solution:** TBD; a temporary local workaound has been implimented that we cannot push live.
rob added the To-Fix label 2026-06-29 08:37:35 +00:00
Sign in to join this conversation.
No Label To-Fix
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rob/pms3#275