Suite 8.8 - Import Errors - File Permissions?

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??

Maybe useful:

Hmmm…interesting…

Seems to be what’s happening to me too…once I cleaned up the values in the Dropdowns, and raised the import limit in config.php, I STILL got the errors, but the records did, in fact, import.

Not sure if there are any follow on effects…but seems ok for now.

Thanks!

That’s interesting. I request you to check out the issues on the GitHub. Maybe you will find something.