Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Too many files - how to analyze? #445

Open
4 tasks done
ryan-adler opened this issue Dec 13, 2023 · 1 comment
Open
4 tasks done

Too many files - how to analyze? #445

ryan-adler opened this issue Dec 13, 2023 · 1 comment
Labels
class(bug) Something isn't working status(investigating) Currently looking for the root cause of the issue

Comments

@ryan-adler
Copy link

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

@ryan-adler ryan-adler added class(bug) Something isn't working status(open) A new issue - not yet classified labels Dec 13, 2023
@steilerDev
Copy link
Owner

steilerDev commented Dec 13, 2023

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.

@steilerDev steilerDev added status(investigating) Currently looking for the root cause of the issue and removed status(open) A new issue - not yet classified labels Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
class(bug) Something isn't working status(investigating) Currently looking for the root cause of the issue
Projects
None yet
Development

No branches or pull requests

2 participants