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
android app: duplicate photos/videos #1337
Comments
The web ui has a delete button that does just that. Otherwise deleting a permanode is by creating a delete claim.
This should be documented under |
@aviau Thanks for the reply. I had not noticed that I could do it through the web UI. But that turns out to be a bit tedious in my case since there seem to be quite a few duplicates. I'd like a way to say "delete all but one permanodes that point to the same data". I realize that one might not want to do this in general but in my case I'm confident it would be safe. Do you know if there's a way to do that? If not, I could try writing the code to do that myself. |
You can do it with a simple shell/python script using pk commands, or the http API.
Note that |
@aviau Awesome! Thanks for that. I'll try it out. |
When bumping the android app just now i realized that there are two inotify events when taking a picture. First the picture is created with a ".pending" prefix and then its moved into position. We enqueue both events and its a race if both files are uploaded. Probably thats the case of duplicates. Should be fixed in #1598 |
I'm using the Android app to sync photos/videos from my phone to my Perkeep server. I've seen many instances of duplicate permanodes being create but this does not always happen.
Assuming this issue can be addressed at some point is there a way to remove duplicate permanodes? I have not seen any way in the docs to delete them.
The text was updated successfully, but these errors were encountered: