Too many files - how to analyze?
ryan-adler opened this issue · 1 comments
Describe the issue
Similar to #291, in my shared library, I have (according to Photos app) 306225 photos and videos. Now, if I check the properties of my downloaded files, I have 323723 files (not counting folders). The logs claim remote state: 325501 assets. Now, I'm not sure why there are so many more in the remote state and backup, but I also have no way of checking if actually all the files were downloaded (it seems many are missing, compared to remote state?). How can I analyze the folder to determine where the extra ~17k files come from?
How to reproduce the behavior?
No response
Error Code
NA
Relevant log output
2023/12/13 02:07:28 stdout �[32mFetched remote state: 325501 assets & 198 albums�[39m
2023/12/13 02:07:28 stdout �[33mWarning: Unable to load 6 local assets, please check the logs for more details (and see https://icps.steiler.dev/warnings/ for context)�[39m
2023/12/13 02:07:28 stdout �[32mLoaded local state: 325358 assets & 198 albums�[39m
Operating system
Docker
Execution environment
Synology
icloud-photos-sync version
1.3.0
Checklist
- This is an issue and not a question or feature request
- The sync was performed a couple of times and the issue is persisting and consistent
- Checked out open and known issues
- Enabled crash and error reporting
Something to remember: iCloud Photos can have multiple assets for each photo/video. In case you have non-destructive edits, the current 'edited' file as well as the original will be downloaded. My guess would therefore be, that this discrepancy comes from there.
Keep an eye out for #364, which should improve the completeness of the backup, as well as the larger initiative in #354 which will probably make this a little bit more clear.