Backup Warning - FileNotFound, listing contents => Element with path

Hi, I always get a warning for my backup. Below is the warning message:

Warnings: [
    Delete operation failed for duplicati-bc0f0d717a84e4e91b543527ac928f3c9.dblock.zip.aes with FileNotFound, listing contents => Element with path '/personal/XXX/Documents/XXX/duplicati-bc0f0d717a84e4e91b543527ac928f3c9.dblock.zip.aes' not found on host 'https://XXX.sharepoint.com/personal/XXX'.,
    Delete operation failed for duplicati-i97ecb8fec00b430cac62b8083b6afab7.dindex.zip.aes with FileNotFound, listing contents => Element with path '/personal/XXX/Documents/XXX/duplicati-i97ecb8fec00b430cac62b8083b6afab7.dindex.zip.aes' not found on host 'https://XXX.sharepoint.com/personal/XXX'.
]

I fix it with reparing the database. But after few days it came again with different filename.

Here is my configuration:

--send-mail-any-operation=true
--send-mail-body=%RESULT%
--send-mail-from=abc@abc.com
--send-mail-level=Warning,Error,Fatal
--send-mail-password=abc
--send-mail-subject=%OPERATIONNAME% report for %backup-name%
--send-mail-to=xyz@xyz.com
--send-mail-url=smtp://xxx.inmotionhosting.com
--send-mail-username=abc@abc.com
--auto-cleanup=true
--log-retention=30D
--no-backend-verification=true
--no-connection-reuse=true
--number-of-retries=10
--retry-delay=30s
--snapshot-policy=Auto
--usn-policy=Auto
--delete-to-recycler=
--web-timeout=300s

The error states that the delete failed because the file does not exist, which is quite fine (it is already deleted).

If you can get a full stack trace from the error (should be in the log just below the message you have copied), maybe I can figure out how it happens. Also, if you see other errors, maybe that can explain it.

DeletedFiles: 0
DeletedFolders: 0
ModifiedFiles: 6
ExaminedFiles: 1165
OpenedFiles: 11
AddedFiles: 5
SizeOfModifiedFiles: 1047158067
SizeOfAddedFiles: 703930
SizeOfExaminedFiles: 2185333708
SizeOfOpenedFiles: 1047955071
NotProcessedFiles: 0
AddedFolders: 0
TooLargeFiles: 0
FilesWithError: 0
ModifiedFolders: 0
ModifiedSymlinks: 0
AddedSymlinks: 0
DeletedSymlinks: 0
PartialBackup: False
Dryrun: False
MainOperation: Backup
CompactResults:
    DeletedFileCount: 0
    DownloadedFileCount: 0
    UploadedFileCount: 0
    DeletedFileSize: 0
    DownloadedFileSize: 0
    UploadedFileSize: 0
    Dryrun: False
    MainOperation: Compact
    ParsedResult: Success
    EndTime: 23-08-17 12:53:24 AM
    BeginTime: 23-08-17 12:53:22 AM
    Duration: 00:00:01.4842835
    BackendStatistics:
        RemoteCalls: 10
        BytesUploaded: 153655435
        BytesDownloaded: 0
        FilesUploaded: 7
        FilesDownloaded: 0
        FilesDeleted: 1
        FoldersCreated: 0
        RetryAttempts: 0
        UnknownFileSize: 0
        UnknownFileCount: 0
        KnownFileCount: 504
        KnownFileSize: 10752905966
        LastBackupDate: 23-08-17 8:48:18 AM
        BackupListCount: 50
        TotalQuotaSpace: 0
        FreeQuotaSpace: 0
        AssignedQuotaSpace: -1
        ParsedResult: Success
DeleteResults:
    DeletedSets: [
        Item1: 50
        Item2: 06-06-17 9:30:00 AM
    ]
    Dryrun: False
    MainOperation: Delete
    ParsedResult: Success
    EndTime: 23-08-17 12:53:24 AM
    BeginTime: 23-08-17 12:52:59 AM
    Duration: 00:00:24.6975078
RepairResults: null
TestResults: null
ParsedResult: Warning
EndTime: 23-08-17 12:53:25 AM
BeginTime: 23-08-17 12:48:12 AM
Duration: 00:05:12.5655268
Messages: [
    removing remote file listed as Temporary: duplicati-b38677ce067af4be1a434700b70d09f96.dblock.zip.aes,
    Listing indicates file duplicati-b38677ce067af4be1a434700b70d09f96.dblock.zip.aes is deleted correctly,
    removing remote file listed as Temporary: duplicati-i18e3aa51b922406b8cd73b4c412369c1.dindex.zip.aes,
    Listing indicates file duplicati-i18e3aa51b922406b8cd73b4c412369c1.dindex.zip.aes is deleted correctly,
    Deleting 1 remote fileset(s) ...,
...
]
Warnings: [
    Delete operation failed for duplicati-b38677ce067af4be1a434700b70d09f96.dblock.zip.aes with FileNotFound, listing contents => Element with path '/personal/xxx/Documents/xxx/duplicati-b38677ce067af4be1a434700b70d09f96.dblock.zip.aes' not found on host 'https://xxx.sharepoint.com/personal/xxx'.,
    Delete operation failed for duplicati-i18e3aa51b922406b8cd73b4c412369c1.dindex.zip.aes with FileNotFound, listing contents => Element with path '/personal/xxx/Documents/xxx/duplicati-i18e3aa51b922406b8cd73b4c412369c1.dindex.zip.aes' not found on host 'https://xxx.sharepoint.com/personal/xxx'.
]
Errors: []

I edited your post to improve the formating. (Just added ~~~ before and after the output you pasted, see here for details).

I see the problem now. There is a delete operation which runs and clears the temporary files. Then the backup operation attempts to clear the same temporary files which causes the warnings. You can ignore the warnings, but I should fix it.

Yes it seems like after the delete operation, the backup operation attempts to clear the same file based on the filelists which not update after the delete operation.

Do you recall if this got fixed?

Yes, this should be fixed in 2.0.2.7: Release v2.0.2.7-2.0.2.7_canary_2017-09-19 · duplicati/duplicati · GitHub

1 Like

The issue still exist even i m using version: 2.0.2.12_canary_2017-10-20 now

A post was merged into an existing topic: Locked file, errors on outlook.pst

Does this only happen for OneDrive?

Anyway, I am working on a larger rewrite that will address the problem (at least if it is caused by the same error as I addressed in 2.0.2.7).

We only backup to OneDrive for Business, not sure whether others option have this issue. We have around 50units workstation using Duplicati Canary 2.0.2.12. Unfortunately all have the same issue.