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

A large number of video files were uploaded repeatedly. #3271

Open
AinzLimuru opened this issue Jan 13, 2025 · 1 comment
Open

A large number of video files were uploaded repeatedly. #3271

AinzLimuru opened this issue Jan 13, 2025 · 1 comment

Comments

@AinzLimuru
Copy link

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Turn on automatic sync and Upload the whole camera roll

Expected behaviour

Files are uploaded without duplication

Actual behaviour

The file was uploaded repeatedly many times. According to rough statistics, a video was uploaded repeatedly more than 20 times.

At first I thought that such duplication would be skipped, which was acceptable, but in fact I found in the traffic statistics that the duplicate files were actually uploaded repeatedly, consuming dozens of GB of traffic but no valid content was uploaded.

I then suspected that the files had duplicate names, but I tried naming them by time and using the original file names, and the duplication problem still existed.

Then I checked the file size on the server and found that the file size did not change at all after multiple uploads. The videos were exactly the same.

Image
If you scroll down, you'll see more repetitions of 75515.mp4. The same is true for the other video files.

Logs

The log does not seem to provide any useful information

2025-01-13 22:07:01 [INFO] Automatic upload, no new assets found [Init Auto Upload]
2025-01-13 22:07:01 [INFO] Initialize Auto upload with 0 uploads
2025-01-13 22:07:15 [INFO] Scene will resign active
2025-01-13 22:07:15 [INFO] Scene did enter in background
2025-01-13 22:07:15 [INFO] Auto upload: true
2025-01-13 22:07:15 [INFO] Auto upload in background: true
2025-01-13 22:08:55 [INFO] Scene will enter in foreground
2025-01-13 22:08:56 [INFO] Scene did become active
2025-01-13 22:09:07 Network request started: GET https://<my domain>/status.php (200)
2025-01-13 22:09:09 Network response request: https://<my domain>/status.php, result: success(170 bytes)
2025-01-13 22:09:10 [INFO] Synchronize Favorite
2025-01-13 22:09:13 [INFO] Automatic upload, no new assets found [Init Auto Upload]
2025-01-13 22:09:13 [INFO] Initialize Auto upload with 0 uploads
2025-01-13 22:09:17 [INFO] Start createProcessUploads
2025-01-13 22:09:31 Network request started: GET https://<my domain>/ocs/v2.php/cloud/user (200)
2025-01-13 22:09:33 Network response request: https://<my domain>/ocs/v2.php/cloud/user, result: success(1162 bytes)
2025-01-13 22:09:33 Network request started: GET https://<my domain>/ocs/v1.php/cloud/capabilities (200)
2025-01-13 22:09:33 Network request started: GET https://<my domain>/index.php/avatar/<my account>/384 (200)
2025-01-13 22:09:33 Network request started: REPORT https://<my domain>/remote.php/dav/files/<my account> (207)
2025-01-13 22:09:34 Network response request: https://<my domain>/remote.php/dav/files/<my account>, result: success(156 bytes)
2025-01-13 22:09:34 Network request started: GET https://<my domain>/ocs/v2.php/apps/files/api/v1/directEditing (200)
2025-01-13 22:09:34 Network request started: GET https://<my domain>/ocs/v2.php/apps/user_status/api/v1/user_status (200)
2025-01-13 22:09:34 Network response request: https://<my domain>/ocs/v2.php/apps/files/api/v1/directEditing, result: success(772 bytes)
2025-01-13 22:09:34 Network response request: https://<my domain>/ocs/v2.php/apps/user_status/api/v1/user_status, result: success(222 bytes)
2025-01-13 22:09:55 [INFO] PROCESS (UPLOAD) find 5 items

Reasoning or why should it be changed/implemented?

Environment data

iOS version: iOS 18.1

Nextcloud iOS app version: 6.2.1.0

Server operating system: docker in ubuntu
Web server: nginx

Database: mysql

PHP version: default in the docker image

Nextcloud version: 30.0.2

@AinzLimuru
Copy link
Author

Related issues #1265

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant