Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-31393

Fix typo in s3directupload-config.xml.nxftl template for s3 bucket prefix conf

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2023.0, 2021.29
    • Component/s: S3

      Description

      There is a typo in the commits done for https://jira.nuxeo.com/browse/NXP-31302, we are missing an opening curly bracket resulting in an invalid hardcoded bucket prefix "$nuxeo.s3storage.s3DirectUpload.bucket_prefix}"

      This produces an error such like:

      022-11-10T05:18:19,801 WARN  [http-nio-0.0.0.0-8080-exec-7] [org.nuxeo.ecm.blob.s3.S3BlobStore] Direct copy failed from s3://bucket_name/pam-solution-2021/upload/b4c7b885-3e7a-417d-8e71-9a0e7c7dda08 to s3://bucket_name/$nuxeo.s3storage.s3DirectUpload.bucket_prefix}/b4c7b885-3e7a-417d-8e71-9a0e7c7dda08
      nuxeo_1          | 2022-11-10T05:18:20,086 ERROR [http-nio-0.0.0.0-8080-exec-7] [org.nuxeo.ecm.webengine.app.WebEngineExceptionMapper] org.nuxeo.ecm.core.api.NuxeoException: Failed to write blob: b4c7b885-3e7a-417d-8e71-9a0e7c7dda08
      nuxeo_1          | org.nuxeo.ecm.core.api.NuxeoException: Failed to write blob: b4c7b885-3e7a-417d-8e71-9a0e7c7dda08
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: