Warnings during backup not surfaced to web UI

Hello, I just ran my first backup, and the web UI showed that it completed successfully:

Screenshot 2024-05-29 at 2.33.28 PM

However, on a whim I looked at the log output (I didn’t even realize I could click on the status string to get to log output), and I see that the biggest and most important portion of my backup didn’t actually complete:

Running backup command from /Users/euan/.duplicacy-web/repositories/localhost/0 to back up /Users/euan
Options: [-log backup -storage EuansMacStudio -threads 4 -stats]
2024-05-29 14:25:19.695 INFO REPOSITORY_SET Repository set to /Users/euan
2024-05-29 14:25:19.696 INFO STORAGE_SET Storage set to b2://EuansMacStudio
2024-05-29 14:25:19.811 INFO BACKBLAZE_URL Download URL is: https://f002.backblazeb2.com
2024-05-29 14:25:20.748 INFO COMPRESSION_LEVEL Zstd compression is enabled (level: best)
2024-05-29 14:25:20.748 INFO BACKUP_EXCLUDE Exclude files with no-backup attributes
2024-05-29 14:25:20.803 INFO BACKUP_START Last backup at revision 2 found
2024-05-29 14:25:20.903 INFO BACKUP_INDEXING Indexing /Users/euan
2024-05-29 14:25:20.904 INFO SNAPSHOT_FILTER Parsing filter file /Users/euan/.duplicacy-web/repositories/localhost/0/.duplicacy/filters
2024-05-29 14:25:20.904 INFO SNAPSHOT_FILTER Loaded 12 include/exclude pattern(s)
2024-05-29 14:25:22.150 WARN LIST_FAILURE Failed to list subdirectory Pictures/Photos Library.photoslibrary/: open /Users/euan/Pictures/Photos Library.photoslibrary: operation not permitted
2024-05-29 14:25:30.733 INFO UPLOAD_FILE Uploaded .duplicacy-web/duplicacy.json (4213)
2024-05-29 14:25:30.733 INFO UPLOAD_FILE Uploaded .duplicacy-web/logs/backup-20240529-084127.log (3499)
2024-05-29 14:25:30.733 INFO UPLOAD_FILE Uploaded .duplicacy-web/logs/backup-20240529-120026.log (725)
2024-05-29 14:25:30.733 INFO UPLOAD_FILE Uploaded .duplicacy-web/logs/backup-20240529-142519.log (1128)
2024-05-29 14:25:30.733 INFO UPLOAD_FILE Uploaded .duplicacy-web/logs/duplicacy_web.log (605483)
2024-05-29 14:25:30.733 INFO UPLOAD_FILE Uploaded .duplicacy-web/stats/schedules/Backup.stats (1152)
2024-05-29 14:25:30.733 INFO UPLOAD_FILE Uploaded Documents/Retro games/.DS_Store (43012)
2024-05-29 14:25:30.733 INFO UPLOAD_FILE Uploaded Music/Music/Music Library.musiclibrary/Preferences.plist (3566)
2024-05-29 14:25:30.733 WARN SKIP_DIRECTORY Subdirectory Pictures/Photos Library.photoslibrary/ cannot be listed
2024-05-29 14:25:30.778 INFO BACKUP_END Backup for /Users/euan at revision 3 completed
2024-05-29 14:25:30.778 INFO BACKUP_STATS Files: 157455 total, 76,440M bytes; 8 new, 647K bytes
2024-05-29 14:25:30.778 INFO BACKUP_STATS File chunks: 16356 total, 76,479M bytes; 1 new, 647K bytes, 29K bytes uploaded
2024-05-29 14:25:30.778 INFO BACKUP_STATS Metadata chunks: 87 total, 107,770K bytes; 5 new, 6,068K bytes, 3,288K bytes uploaded
2024-05-29 14:25:30.778 INFO BACKUP_STATS All chunks: 16443 total, 76,584M bytes; 6 new, 6,715K bytes, 3,317K bytes uploaded
2024-05-29 14:25:30.778 INFO BACKUP_STATS Total running time: 00:00:10
2024-05-29 14:25:30.778 WARN BACKUP_SKIPPED 1 directory was not included due to access errors

Is it possible to have the web UI show something like “Completed with warnings”? Or, even better, to surface the content of the warning to the web UI?

I see that there has been some discussion on a related topic going back years: The 0 exit code is a little misleading · Issue #540 · gilbertchen/duplicacy · GitHub

Is it the case that there are no plans to address this?

I use this CLI wrapper script with the Web UI to send notifications of warnings and errors.

Thanks for your response! It looks like what you’ve written has helped a lot of people.

I think unfortunately though that my takeaway here is that this product is not a good fit for our needs. We need alerting to be simple and to just work right out of the box, particularly for my non-technical wife.