-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
I came across the following upload-file error:
❯ internxt upload-file -f bup-mih/objects/pack/pack-1dc1c04e5bce405abda933ba750e6f185e257b93.par2 --destination=bb4d32fb-9c33-44c5-8a0d-f57567c68264
Preparing Network... done ✓
Uploading file [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0% › Error: [REPORTED_ERROR]: File already exists
› Properties => {
› "command": "upload-file"
› }
› Stack => Error: File already exists
› at new AppError (/home/mih/internxt/lib/node_modules/@internxt/cli/node_modules/@internxt/sdk/dist/shared/types/errors.js:21:28)
› at HttpClient.normalizeError (/home/mih/internxt/lib/node_modules/@internxt/cli/node_modules/@internxt/sdk/dist/shared/http/client.js:190:15)
› at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
› at async Axios.request (/home/mih/internxt/lib/node_modules/@internxt/cli/node_modules/axios/dist/node/axios.cjs:4275:14)
› at async DriveFileService.createFile (/home/mih/internxt/lib/node_modules/@internxt/cli/dist/services/drive/drive-file.service.js:10:27)
› at async UploadFile.run (/home/mih/internxt/lib/node_modules/@internxt/cli/dist/commands/upload-file.js:106:34)
› at async UploadFile._run (/home/mih/internxt/lib/node_modules/@internxt/cli/node_modules/@oclif/core/lib/command.js:181:22)
› at async Config.runCommand (/home/mih/internxt/lib/node_modules/@internxt/cli/node_modules/@oclif/core/lib/config/config.js:456:25)
› at async run (/home/mih/internxt/lib/node_modules/@internxt/cli/node_modules/@oclif/core/lib/main.js:96:16)
› at async /home/mih/internxt/lib/node_modules/@internxt/cli/bin/run.js:6:3
The webui does not show this existing file. And neither does this list command.
internxt list -x --json --id=bb4d32fb-9c33-44c5-8a0d-f57567c68264 | jq -c '.list.files.[]' | grep pack-1dc1c04e5bce405abda933ba750e6f185e257b93 | jq
gives
{
"id": 920450536,
"fileId": "6899f557d7ca7e7a77a0247c",
"folderId": 129228223,
"folder": null,
"name": "ONzgORtJ77qI28jDnr+GjwJn6xELsAEqsn3FKlKNYbHR7Z129AD/WOMkAChEKx6rm7hOER2drdmXmC296dvSXtE5y5os0XCS554YYc+dcCMUVEPBSEZxvVzNvEkwr5TUG1BqHnaXPFboZQXKdFuCW29s5eg2IaKzesOCOwo3KLP5hIhyo/pnR/izu5H6",
"type": "idx",
"size": "4294956",
"bucket": "23fc0357af9da8c671744add",
"encryptVersion": "03-aes",
"deleted": false,
"deletedAt": null,
"userId": 1204771,
"user": null,
"creationTime": "2025-08-11T13:51:20.000Z",
"modificationTime": "2025-08-11T13:51:20.000Z",
"createdAt": "2025-08-11T13:51:20.077Z",
"updatedAt": "2025-08-11T13:51:20.000Z",
"folderUuid": "bb4d32fb-9c33-44c5-8a0d-f57567c68264",
"uuid": "4dacffb5-1a0f-42c3-a770-e40272701f56",
"plainName": "pack-1dc1c04e5bce405abda933ba750e6f185e257b93",
"removed": false,
"removedAt": null,
"status": "EXISTS",
"thumbnails": [],
"sharings": []
}
{
"id": 919898924,
"fileId": "6898eebb1da7bd9ebd2f4eab",
"folderId": 129228223,
"folder": null,
"name": "ONzgORtJ77qI28jDnr+GjwJn6xELsAEqsn3FKlKNYbHR7Z129AD/WOMkAChEKx6rm7hOER2drdmXmC296dvSXtE5y5os0XCS554YYc+dcCMUVEPBSEZxvVzNvEkwr5TUG1BqHnaXPFboZQXKdFuCW29s5eg2IaKzesOCOwo3KLP5hIhyo/pnR/izu5H6",
"type": "pack",
"size": "1000008380",
"bucket": "23fc0357af9da8c671744add",
"encryptVersion": "03-aes",
"deleted": false,
"deletedAt": null,
"userId": 1204771,
"user": null,
"creationTime": "2025-08-10T19:10:51.000Z",
"modificationTime": "2025-08-10T19:10:51.000Z",
"createdAt": "2025-08-10T19:10:51.447Z",
"updatedAt": "2025-08-10T19:10:51.000Z",
"folderUuid": "bb4d32fb-9c33-44c5-8a0d-f57567c68264",
"uuid": "1e3dae77-62b6-4677-8da2-53a56d8ae48f",
"plainName": "pack-1dc1c04e5bce405abda933ba750e6f185e257b93",
"removed": false,
"removedAt": null,
"status": "EXISTS",
"thumbnails": [],
"sharings": []
}
{
"id": 920450536,
"fileId": "6899f557d7ca7e7a77a0247c",
"folderId": 129228223,
"folder": null,
"name": "ONzgORtJ77qI28jDnr+GjwJn6xELsAEqsn3FKlKNYbHR7Z129AD/WOMkAChEKx6rm7hOER2drdmXmC296dvSXtE5y5os0XCS554YYc+dcCMUVEPBSEZxvVzNvEkwr5TUG1BqHnaXPFboZQXKdFuCW29s5eg2IaKzesOCOwo3KLP5hIhyo/pnR/izu5H6",
"type": "idx",
"size": "4294956",
"bucket": "23fc0357af9da8c671744add",
"encryptVersion": "03-aes",
"deleted": false,
"deletedAt": null,
"userId": 1204771,
"user": null,
"creationTime": "2025-08-11T13:51:20.000Z",
"modificationTime": "2025-08-11T13:51:20.000Z",
"createdAt": "2025-08-11T13:51:20.077Z",
"updatedAt": "2025-08-11T13:51:20.000Z",
"folderUuid": "bb4d32fb-9c33-44c5-8a0d-f57567c68264",
"uuid": "4dacffb5-1a0f-42c3-a770-e40272701f56",
"plainName": "pack-1dc1c04e5bce405abda933ba750e6f185e257b93",
"removed": false,
"removedAt": null,
"status": "EXISTS",
"thumbnails": [],
"sharings": []
}
{
"id": 920450598,
"fileId": "6899f55ee73ae64f4d4de4c1",
"folderId": 129228223,
"folder": null,
"name": "ONzgORtJ77qI28jDnr+GjwJn6xELsAEqsn3FKlKNYbHR7Z129AD/WOMkAChEKx6rm7hOER2drdmXmC296dvSXtE5y5os0XCS554YYc+dcCP0rOPRciXyhUfcNXaR1ILyG1BqHnaXPFboZQXKdFuCW29s5eg2IaKzesOCOwo3KLP5hIhyo/pnR/izu5H65N5ntQHQmiTibjc=",
"type": "par2",
"size": "100792200",
"bucket": "23fc0357af9da8c671744add",
"encryptVersion": "03-aes",
"deleted": false,
"deletedAt": null,
"userId": 1204771,
"user": null,
"creationTime": "2025-08-11T13:51:27.000Z",
"modificationTime": "2025-08-11T13:51:27.000Z",
"createdAt": "2025-08-11T13:51:27.064Z",
"updatedAt": "2025-08-11T13:51:27.000Z",
"folderUuid": "bb4d32fb-9c33-44c5-8a0d-f57567c68264",
"uuid": "aeb22df8-beca-4b2e-bec5-079479806fe8",
"plainName": "pack-1dc1c04e5bce405abda933ba750e6f185e257b93.vol000+200",
"removed": false,
"removedAt": null,
"status": "EXISTS",
"thumbnails": [],
"sharings": []
}Interestingly, record 1 and 3 appear to be exactly identical! The record for the "existing" file is not listed.
How can this situation be resolved?
Metadata
Metadata
Assignees
Labels
No labels