-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
[Bug]: "Cannot delete the video part of a live photo" error message while deleting .mov file on server #46642
Comments
Scan the folder with occ files:scan --path and try again |
Same error:
Edit: I did a scan --all and I got:
|
CC @artonge |
and now my Nextcloud journal is flood by messages like:
|
Maybe a hint here, looking at row 143 onwards? |
I think it is expected, but could maybe be improved. Also, in the web UI, you should not be able to see the .mov file. |
Well, both a .JPEG and a .mov are uploaded by the iOS app. On my desktop computer, I can see both of them synced. If I remove either the .jpeg or the .mov with my file manager, I do expect they are removed from the server as well. Why enforcing a different behavior compared to the removal of any other file type? |
We can only display them as one file in the web UI and in mobile applications. So on those platform, there is no chance to wrongly delete one part or the other, which would "break" the live photo. On the desktop client, we are not able to show them as one file, so our logic was to block the deletion of the .mov file to prevent users from breaking their live photos. |
Understood, however can you prevent to delete the .mov on desktop ? What about not convertibg heic pictures and uploading them as heic ? |
You mean, blocking the delete action? I don't think that's possible. You can ask in the desktop repo.
I am not sure to understand your question. I don't think we are converting anything. |
Hi. Indeed, desktop delete cannit be blocked, that's my point. So, If the user wants to delete the .mov, it should be reflected on server side. Regarding conversion, my phone takes a heic picture and nextcloud upload it to the server, using a jpeg and a mov file. It is where the conversion happens. If one wants to prevent braking a live photo by deleting the mov file, I think uploading a heic format is a better option. Otherwise, it should be up to the user to decide which files to keep. |
That's not the decision we made, as we think this is not what the user will expect. From what I understand, the .heic does not contain the video part of a live photo. On iOS, you do not see the video file as Apple is hiding it, like we are doing on the web UI. So whenever you move the live photos out of iOS, you end up with two different files. |
My understanding is rather heic/ heif is a container including a series of images to create a live picture. So, one file only. |
If that's true, then better ask the client's repositories. |
Hi. There is already another report targeting the client. Edit: to summarize, I have now .mov files on the server which don't exist on my local computer and that I can't delete. In additing, it looks like there is an event coming back periodically, retrying to delete on the server, failing and flooding my log with errors. |
I think this is a desktop client bug. Basically this is one file, which because of limitations on the desktop, will be synced as two files. So if you delete any of it, "both" will be gone. |
Fair enough you don't want to bother with people who delete the .mov files for what ever reason. I think somewhere should at least be a introduction for this behaveiour and solution. So clients can know what they do. I also think there should be a possibility to redownload the missing .mov files on desktop side, once deleted. I imagine something like a secondary click on a folder and selecting "resynchronize" or "redownload from server". |
This looks to be probably a duplicate of #42237 |
yes duplicate of #42237 |
Bug description
After facing nextcloud/desktop#6330 (comment)
I connected to my nextcloud account using Firefox to check whether the .mov file I deleted in Dolphin has been deleted from my account, as I got a client error notification.
It appears the .mov file (created during the automatic transfer of an HEIC file by the Nextcloud on my iPhone) has been deleted locally on my desktop but is still present on the server. Even more weird, I cannot delete the .mov file using the web interface.
I get
Avertissement: delete process aborted
Steps to reproduce
Expected behavior
The .mov file can be deleted on the server using a web browser connection
Installation method
Community Manual installation with Archive
Nextcloud Server version
29
Operating system
Other
PHP engine version
PHP 8.2
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response
The text was updated successfully, but these errors were encountered: