Iām trying to import some Account records from Suite 7 to 8.8, but Iām getting these errors in the log as a record fails.
Tue Mar 25 2025 at 15:58:16 [794585][1][ERROR] File upload://import/dupes_1.csv cannot be touched
Tue Mar 25 2025 at 15:58:16 [794585][1][ERROR] File upload://import/dupesdisplay_1.csv cannot be touched
Tue Mar 25 2025 at 15:58:16 [794585][1][ERROR] File upload://import/errorrecords_1.csv cannot be touched
Tue Mar 25 2025 at 15:58:16 [794585][1][ERROR] File upload://import/errorrecordsonly_1.csv cannot be touched
Tue Mar 25 2025 at 15:58:29 [780195][1][FATAL] Caught error: stat(): stat failed for upload/import/error_1.csv
Tue Mar 25 2025 at 15:58:29 [780195][1][FATAL] Caught error: touch(): UploadStream::stream_metadata is not implemented!
Tue Mar 25 2025 at 15:58:29 [780195][1][ERROR] File upload://import/error_1.csv cannot be touched
Tue Mar 25 2025 at 15:58:32 [780195][1][FATAL] Caught error: Undefined array key 0
Tue Mar 25 2025 at 15:58:32 [780195][1][FATAL] Caught error: Attempt to read property ānameā on null
Tue Mar 25 2025 at 15:58:32 [780195][1][FATAL] Caught error: Array to string conversion
Tue Mar 25 2025 at 15:58:32 [780195][1][FATAL] Caught error: Array to string conversion
Tue Mar 25 2025 at 15:58:32 [780195][1][FATAL] Caught error: stat(): stat failed for upload/import/status_1.csv
Tue Mar 25 2025 at 15:58:32 [780195][1][FATAL] Caught error: touch(): UploadStream::stream_metadata is not implemented!
Tue Mar 25 2025 at 15:58:32 [780195][1][ERROR] File upload://import/status_1.csv cannot be touched
Tue Mar 25 2025 at 15:58:40 [794566][1][ERROR] File upload://IMPORT_Account_1-0 cannot be touched
This smells like a file permission/ownership issue to me, but Iāve set them thusly:
find . -type d -not -perm 2755 -exec chmod 2755 {} ;
find . -type f -not -perm 0644 -exec chmod 0644 {} ;
find . ! -user www-data -exec chown www-data:www-data {} ;
chmod +x bin/console
I even tried to āforceā all the files in the āupload/importā folder to 775, but when the import runs, the files are replaced with files at 644ā¦(but that āmightā be right?)
Are there other permissions I should be considerate of??
Any help??