Object storage #1

Open
opened 2026-08-11 15:01:29 +00:00 by eric · 3 comments
Owner

Job to move files to object storage is failing:

Job: a5b385e8-1092-4462-a731-16b96701640a
Type: move-to-object-storage
Processed on 8/2/26, 12:57:59.880 PM
Finished on 8/2/26, 12:58:03.583 PM

{
  "videoUUID": "f5081f6a-1b29-4857-96d3-5d00536e16f2",
  "moveVideoState": {
    "isNewVideo": true
  }
}

Error: self-signed certificate
    at TLSSocket.onConnectSecure (node:internal/tls/wrap:1787:34)
    at TLSSocket.emit (node:events:519:28)
    at TLSSocket._finishInit (node:internal/tls/wrap:1176:8)
    at ssl.onhandshakedone (node:internal/tls/wrap:962:12)    
Job to move files to object storage is failing: ``` Job: a5b385e8-1092-4462-a731-16b96701640a Type: move-to-object-storage Processed on 8/2/26, 12:57:59.880 PM Finished on 8/2/26, 12:58:03.583 PM { "videoUUID": "f5081f6a-1b29-4857-96d3-5d00536e16f2", "moveVideoState": { "isNewVideo": true } } Error: self-signed certificate at TLSSocket.onConnectSecure (node:internal/tls/wrap:1787:34) at TLSSocket.emit (node:events:519:28) at TLSSocket._finishInit (node:internal/tls/wrap:1176:8) at ssl.onhandshakedone (node:internal/tls/wrap:962:12) ```
Author
Owner

It seems like the failed job is preventing videos being shared on ActivityPub. I may disable this so that I can continue publishing videos.

It seems like the failed job is preventing videos being shared on ActivityPub. I may disable this so that I can continue publishing videos.
Author
Owner

SSL errors were caused by the database issues. After resolving that, the following error occurred:

Job: 7deb58c6-fcd4-45a2-863c-4c236a2d24aa
Type: move-to-object-storage
Processed on 8/11/26, 3:54:08.388 PM
Finished on 8/11/26, 3:54:10.608 PM

{
  "videoUUID": "b11049e9-5e6c-40e6-83e4-0d84acb04443",
  "moveVideoState": {
    "isNewVideo": true
  }
}

CredentialsProviderError: Could not load credentials from any providers
    at /app/node_modules/.pnpm/@aws-sdk+credential-provider-node@3.972.45/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js:144:15
    at /app/node_modules/.pnpm/@aws-sdk+credential-provider-node@3.972.45/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js:71:26
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async provider (/app/node_modules/.pnpm/@aws-sdk+credential-provider-node@3.972.45/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js:38:13)
    at async /app/node_modules/.pnpm/@smithy+core@3.24.4/node_modules/@smithy/core/dist-cjs/index.js:60:23
    at async /app/node_modules/.pnpm/@aws-sdk+middleware-sdk-s3@3.972.43/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js:91:20
    at async /app/node_modules/.pnpm/@aws-sdk+core@3.974.14/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js:119:26
    at async Upload.__doConcurrentUpload (/app/node_modules/.pnpm/@aws-sdk+lib-storage@3.1054.0_@aws-sdk+client-s3@3.1054.0/node_modules/@aws-sdk/lib-storage/dist-cjs/index.js:341:38)
    at async Promise.all (index 0)
    at async Upload.__doMultipartUpload (/app/node_modules/.pnpm/@aws-sdk+lib-storage@3.1054.0_@aws-sdk+client-s3@3.1054.0/node_modules/@aws-sdk/lib-storage/dist-cjs/index.js:418:9)
    at async Upload.done (/app/node_modules/.pnpm/@aws-sdk+lib-storage@3.1054.0_@aws-sdk+client-s3@3.1054.0/node_modules/@aws-sdk/lib-storage/dist-cjs/index.js:237:16)
    at async uploadToStorage (file:///app/dist/core/lib/object-storage/object-storage-helpers.js:192:26)
    at async moveWebVideoFiles (file:///app/dist/core/lib/move-storage/move-to-object-storage.js:103:9)
    at async moveVideoToStorage (file:///app/dist/core/lib/move-storage/shared/move-video.js:31:13)
    at async moveVideoToObjectStorage (file:///app/dist/core/lib/move-storage/move-to-object-storage.js:22:5)
    at async Object.processMoveToObjectStorage [as move-to-object-storage] (file:///app/dist/core/lib/job-queue/handlers/move-to-object-storage.js:12:9)
    ```
SSL errors were caused by the database issues. After resolving that, the following error occurred: ``` Job: 7deb58c6-fcd4-45a2-863c-4c236a2d24aa Type: move-to-object-storage Processed on 8/11/26, 3:54:08.388 PM Finished on 8/11/26, 3:54:10.608 PM { "videoUUID": "b11049e9-5e6c-40e6-83e4-0d84acb04443", "moveVideoState": { "isNewVideo": true } } CredentialsProviderError: Could not load credentials from any providers at /app/node_modules/.pnpm/@aws-sdk+credential-provider-node@3.972.45/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js:144:15 at /app/node_modules/.pnpm/@aws-sdk+credential-provider-node@3.972.45/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js:71:26 at process.processTicksAndRejections (node:internal/process/task_queues:103:5) at async provider (/app/node_modules/.pnpm/@aws-sdk+credential-provider-node@3.972.45/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js:38:13) at async /app/node_modules/.pnpm/@smithy+core@3.24.4/node_modules/@smithy/core/dist-cjs/index.js:60:23 at async /app/node_modules/.pnpm/@aws-sdk+middleware-sdk-s3@3.972.43/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js:91:20 at async /app/node_modules/.pnpm/@aws-sdk+core@3.974.14/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js:119:26 at async Upload.__doConcurrentUpload (/app/node_modules/.pnpm/@aws-sdk+lib-storage@3.1054.0_@aws-sdk+client-s3@3.1054.0/node_modules/@aws-sdk/lib-storage/dist-cjs/index.js:341:38) at async Promise.all (index 0) at async Upload.__doMultipartUpload (/app/node_modules/.pnpm/@aws-sdk+lib-storage@3.1054.0_@aws-sdk+client-s3@3.1054.0/node_modules/@aws-sdk/lib-storage/dist-cjs/index.js:418:9) at async Upload.done (/app/node_modules/.pnpm/@aws-sdk+lib-storage@3.1054.0_@aws-sdk+client-s3@3.1054.0/node_modules/@aws-sdk/lib-storage/dist-cjs/index.js:237:16) at async uploadToStorage (file:///app/dist/core/lib/object-storage/object-storage-helpers.js:192:26) at async moveWebVideoFiles (file:///app/dist/core/lib/move-storage/move-to-object-storage.js:103:9) at async moveVideoToStorage (file:///app/dist/core/lib/move-storage/shared/move-video.js:31:13) at async moveVideoToObjectStorage (file:///app/dist/core/lib/move-storage/move-to-object-storage.js:22:5) at async Object.processMoveToObjectStorage [as move-to-object-storage] (file:///app/dist/core/lib/job-queue/handlers/move-to-object-storage.js:12:9) ```
Author
Owner

PeerTube requires virtual host style requests to object store. Since my instance of MinIO does not support this, I will have to either disable the feature or devise another solution.

[PeerTube requires virtual host style requests to object store](https://forum.cloudron.io/topic/7176/peertube-and-s3-minio-objectstorage). Since my instance of MinIO does not support this, I will have to either disable the feature or devise another solution.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DevOps/ansible-role-peertube#1