Moving files to S3 with file_move() gives "Warning: filesize(): stat failed for private:// ..."

Created on 22 December 2017, over 7 years ago
Updated 14 January 2025, 5 months ago

Moving files to S3 with file_move() gives "Warning: filesize(): stat failed for private:// ..."
Sometimes the first file will get the correct size and saved into the database correctly but when trying to save more than one file row then other ones got always that warning and size 0 written into the database.
Files are about 20 to 40 MB.
Can it be related to that?
Files are stored in S3 and that part is fine.

πŸ› Bug report
Status

Closed: outdated

Version

2.10

Component

Code

Created by

πŸ‡ͺπŸ‡ͺEstonia mikkmiggur

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States cmlara

    Drupal 7 end-of-life triage:
    Drupal 7 reached end of life on January 5th.

    The 7.x branches of S3FS do not have any additional planned releases.

    The requests in this issue do not appear to exist in the 8.x-3.x and newer branches.

Production build 0.71.5 2024