PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '...' for key 'PRIMARY'

Created on 19 November 2019, over 5 years ago
Updated 14 January 2025, 5 months ago

Sometimes I you try to clear file metadata cache I get this error.

After an investigate I found that it happens because sometimes a dir path is returned as dir/path, instead of dir/path/ (ending with a slash), which _s3fs_refresh_cache() expects

πŸ› Bug report
Status

Closed: outdated

Version

2.13

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine max-kuzomko

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