this post was submitted on 03 Apr 2024
35 points (97.3% liked)

Proton

5262 readers
20 users here now

Empowering you to choose a better internet where privacy is the default. Protect yourself online with Proton Mail, Proton VPN, Proton Calendar, Proton Drive. Proton Pass and SimpleLogin.

Proton Mail is the world's largest secure email provider. Swiss, end-to-end encrypted, private, and free.

Proton VPN is the world’s only open-source, publicly audited, unlimited and free VPN. Swiss-based, no-ads, and no-logs.

Proton Calendar is the world's first end-to-end encrypted calendar that allows you to keep your life private.

Proton Drive is a free end-to-end encrypted cloud storage that allows you to securely backup and share your files. It's open source, publicly audited, and Swiss-based.

Proton Pass Proton Pass is a free and open-source password manager which brings a higher level of security with rigorous end-to-end encryption of all data (including usernames, URLs, notes, and more) and email alias support.

SimpleLogin lets you send and receive emails anonymously via easily-generated unique email aliases.

founded 1 year ago
MODERATORS
 

Kind of an update from my previous post. The Proton Drive app on Android utterly failed to back up my photos and videos. I've now got a glimpse to a possible reason why.

I realized that it was doing fine with photos and small videos but was struggling with large files, so as a temporary measure, I moved all the files bigger than 1GB to a different folder on my phone. I then had to wipe the app's data and log back in because it was just hanging or looping repeatedly otherwise. After logging back in, it successfully backed up all the remaining files over many hours. At least, I think it did - I'd have to go one by one to find out and I'm really not feeling too confident about it. But if it didn't get all of them, it got almost all of them.

Then I added back in the files that were between 1GB and 2GB. It managed this fine. The app's data usage grew to about 4GB at some points but that is fine as it needs to create encrypted copies of the file it's backing up and it might be doing a few files in parallel. At the end, the data usage went back down to <1GB.

Then I tried to add back the files between 2GB and 5GB. There were four of them: 2.25GB, 2.50GB, 3.86GB, and 4.12GB. Total size: approximately 12.73 GB. After setting the app running, its data usage grew to upwards of 60GB and I had to halt it. As before, there was no way to get the app to behave again after that besides wiping data and logging back in again. The "clear local cache" button in the app's settings did seemingly nothing. I moved the big files back to the temporary folder.

Next I tried to move the files one at a time, starting from the smallest one. So one 2.25 GB video file. Turns out my phone shows base-10-based file sizes, so it's actually 2.091 GiB. The app misbehaves a little bit in vague ways that I didn't quite comprehend and can't explain, e.g. it got stuck at "3 files remaining" even though I only added 1 file, so I needed to wipe its memory again, but eventually it uploaded the dang file. I don't remember exactly how much data it used in the process, but the important thing is it worked. And then I looked at the file through the Proton Drive web interface and checked its details, where I saw what's in the picture:

Size: 2.09 GB

Original size: -2049486257 bytes

The original file size is stored as a 32-bit signed integer! Is this only in the web frontend, or is it also like that behind the scenes? What happens when the file size exceeds 4GiB? Does this only affect photos/videos or does it happens for the general-purpose Drive as well? Is this why big files have been failing for me?

I'll keep you guys updated... And I hope these bugs are fixed. I still believe in Proton.

Edit: the four files, added one by one, uploaded successfully. Now moving on to a 6.10GB file. This is bigger in bytes than 32 bits can represent. Wish me luck.

Edit next day: the 6.10 GB file failed to upload. It's perpetually stuck at "1 item left" after giving it more than enough time overnight. The app is also taking up some 15GB of space - much more than it should. While uploading previous files, it gree to marginally larger than the file being uploaded. Now it's well over 2x that. So my conclusion is that Proton Drive for Android can't back up videos larger than 4GB, and fails catastrophically when attempting to do so.

I'm already in contact with Proton support. I'm not sure I've quit convinced them of the severity of this bug yet (or multiple bugs) but they acknowledged that there are issues and suggested that the current beta version 2.4.0 of the app has mitigations regarding storage usage, and they gave me instructions for trying to access it.

you are viewing a single comment's thread
view the rest of the comments
[–] NeatNit@discuss.tchncs.de 1 points 6 months ago (1 children)

If all your camera photos and videos are getting backed up anyway, which other photos/movies would you manually select to back up?

[–] fluckx@lemmy.world 2 points 6 months ago

Photos and videos my gf/in-laws send over signal for example. 90% is covered by my own camera. But family sending photos are another I'd like to keep a backup of :).