Mbox upload fails with 'path argument must be of type string. Received undefined #70

Open
opened 2026-04-05 16:16:22 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @jonxs on 12/25/2025

Describe the bug
Uploading an 8.89GB mbox file, the upload completes but processing fails

To Reproduce
Uploading an 8.89GB mbox file, the upload completes but processing fails

  1. Go to '...'
  2. Click on '....'
  3. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

System:
Installed via Docker on Synology running DSM 7.3

  • Open Archiver Version:

Relevant logs:
Error Pattern (repeats for each upload attempt):

[15:57:37.729] INFO: Force syncing started.
[15:57:38.273] INFO: Processing mailbox for user

[15:57:38.369] ERROR: Error processing mailbox
    ingestionSourceId: "3237c70c-48ca-4deb-a796-c40967b78f31"
    userEmail: "mbox-import-1766678258260@mbox.local"
    message: "The \"path\" argument must be of type string. Received undefined"
    
    TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
        at Object.join (node:path:1354:7)
        at LocalFileSystemProvider.get (/app/packages/backend/dist/services/storage/LocalFileSystemProvider.js:59:31)
        at StorageService.getStream (/app/packages/backend/dist/services/StorageService.js:77:44)
        at MboxConnector.fetchEmails (/app/packages/backend/dist/services/ingestion-connectors/MboxConnector.js:79:47)

[15:57:38.441] ERROR: Sync cycle finished with errors.
    errors: "Failed to process mailbox for mbox-import-1766678258260@mbox.local: The \"path\" argument must be of type string. Received undefined"

This error repeats for 3 different upload attempts:

  • mbox-import-1766678258260@mbox.local
  • mbox-import-1766678400450@mbox.local
  • mbox-import-1766678400703@mbox.local

Root cause: The uploadedFilePath property is undefined when MboxConnector.fetchEmails() tries to retrieve the uploaded mbox file from storage.
Additional context
the error occurs at MboxConnector.fetchEmails line 79

open-archiver_logs.txt

*Originally created by @jonxs on 12/25/2025* **Describe the bug** Uploading an 8.89GB mbox file, the upload completes but processing fails **To Reproduce** Uploading an 8.89GB mbox file, the upload completes but processing fails 1. Go to '...' 2. Click on '....' 3. See error **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots** If applicable, add screenshots to help explain your problem. **System:** Installed via Docker on Synology running DSM 7.3 - Open Archiver Version: **Relevant logs:** Error Pattern (repeats for each upload attempt): ``` [15:57:37.729] INFO: Force syncing started. [15:57:38.273] INFO: Processing mailbox for user [15:57:38.369] ERROR: Error processing mailbox ingestionSourceId: "3237c70c-48ca-4deb-a796-c40967b78f31" userEmail: "mbox-import-1766678258260@mbox.local" message: "The \"path\" argument must be of type string. Received undefined" TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined at Object.join (node:path:1354:7) at LocalFileSystemProvider.get (/app/packages/backend/dist/services/storage/LocalFileSystemProvider.js:59:31) at StorageService.getStream (/app/packages/backend/dist/services/StorageService.js:77:44) at MboxConnector.fetchEmails (/app/packages/backend/dist/services/ingestion-connectors/MboxConnector.js:79:47) [15:57:38.441] ERROR: Sync cycle finished with errors. errors: "Failed to process mailbox for mbox-import-1766678258260@mbox.local: The \"path\" argument must be of type string. Received undefined" ``` **This error repeats for 3 different upload attempts:** - `mbox-import-1766678258260@mbox.local` - `mbox-import-1766678400450@mbox.local` - `mbox-import-1766678400703@mbox.local` **Root cause:** The `uploadedFilePath` property is `undefined` when `MboxConnector.fetchEmails()` tries to retrieve the uploaded mbox file from storage. **Additional context** the error occurs at `MboxConnector.fetchEmails` line 79 [open-archiver_logs.txt](https://github.com/user-attachments/files/24339503/open-archiver_logs.txt)
MrUnknownDE added the bugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbug labels 2026-04-05 16:16:22 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/OpenArchiver#70