cwa-app-ios icon indicating copy to clipboard operation
cwa-app-ios copied to clipboard

CWA takes over 500mb icloud backup space

Open cebor opened this issue 3 years ago • 70 comments

Avoid duplicates

  • [x] Question is not already answered in the FAQ
  • [x] Question is specific for iOS only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
  • [x] Question has not already been asked in another issue

Your Question

  • Question: Since one of the last updates the CWA takes over 500mb icloud backup space, is this normal? Using latest version of CWA on iOS 15.1 IMG_97731DE76963-1

Internal Tracking ID: EXPOSUREAPP-9646

cebor avatar Nov 16 '21 15:11 cebor

@cebor Could you let us know what data you have stored in the CWA (certificates, test results, etc.)

@thomasaugsten looking at #3626 I'm not sure why something is backed up to iCloud? Is CWA theoretically able to get the data from iCloud if restored?

Ein-Tim avatar Nov 16 '21 15:11 Ein-Tim

@cebor Could you let us know what data you have stored in the CWA (certificates, test results, etc.)

@thomasaugsten looking at #3626 I'm not sure why something is backed up to iCloud? Is CWA theoretically able to get the data from iCloud if restored?

I've added only a single vaccination certificate.

cebor avatar Nov 16 '21 15:11 cebor

@cebor

Okay thanks for your answer.

Here are are my numbers:

  • I have 7 vaccination certificates stored in the app
  • I have one check in
  • I have contact journal entries for nearly all dates in the past 14 days

CWA takes up 1,33 GB of iCloud storage in the backup. iPhone XR, iOS 15.1.

Thanks for bringing this up!

@dsarkar This should be investigated ASAP, as users with only limited iCloud storage might uninstall CWA because of the high iCloud storage consumption!

@ndegendogo Could you check how many space is CWA taking up on your iCloud?

Ein-Tim avatar Nov 16 '21 15:11 Ein-Tim

Thanks everybody: Internal Tracking ID: EXPOSUREAPP-10619

dsarkar avatar Nov 16 '21 16:11 dsarkar

@cebor How much space the app is using under Settings-> General-> Space-> Corona-Warn

thomasaugsten avatar Nov 16 '21 20:11 thomasaugsten

Actually, I don't use iCloud. Settings-> General-> Space-> Corona-Warn shows 358.7 MB (App size = 41.1 MB / data size = 317.6MB). My configuration is: iPhone 8 / iOS 14.4.1 / cwa 2.13.1 I am using the contact journal regularly. I have my two vaccination certificates. No tests, no check-ins.

ndegendogo avatar Nov 16 '21 21:11 ndegendogo

@Ein-Tim How much space the app is using under Settings-> General-> Space-> Corona-Warn

dsarkar avatar Nov 17 '21 07:11 dsarkar

@dsarkar

CWA is taking up 534,5 MB of space. Documents & Data = 494,7 MB App data = 39,8 MB

Ein-Tim avatar Nov 17 '21 08:11 Ein-Tim

For me it's like this: image

cebor avatar Nov 17 '21 09:11 cebor

@Ein-Tim @cebor Thanks for the feedback, added to the internal ticket.

dsarkar avatar Nov 17 '21 10:11 dsarkar

@Ein-Tim How big is your error log(s)?

dsarkar avatar Nov 22 '21 10:11 dsarkar

@dsarkar I don't have any error logs in the app.

Ein-Tim avatar Nov 22 '21 10:11 Ein-Tim

@Ein-Tim ;-) Bit surprised! Thanks for the feedback!

dsarkar avatar Nov 22 '21 11:11 dsarkar

this doesnt look like a one time off problem, same for me - cwa is the single largest contribution to my icloud backup space. how do you even aggregate 242 M(!)B of data just storing some keys?

general storage icloud backup
21-11-24 09-21-54 1987 21-11-24 09-38-05 1989

tmechen avatar Nov 24 '21 08:11 tmechen

@tmechen could you please give more details on your configuration? (iOS version / app version / device type)

ndegendogo avatar Nov 24 '21 09:11 ndegendogo

ah sry, ofc:
iOS 15.1 (19B74) - CWA 2.14.1 - IPhone SE Gen 2

edit
some further info:

  • currently no check in
  • currently no journal data
  • 1 certificate

tmechen avatar Nov 24 '21 09:11 tmechen

Good morning @tmechen. Thank you for sharing your case with us. We will forward the information to the internal ticket.


Corona-Warn-App Open Source Team

larswmh avatar Nov 24 '21 09:11 larswmh

I just re-installed the app less than a week ago and the CWA already takes up a little over 150 MB (!) in the iCloud backup. On the device, it takes up 40 MB of App Size and 63 MB of Documents & Data.

moabits avatar Nov 29 '21 17:11 moabits

@moabits @cebor @tmechen @ndegendogo @Ein-Tim Good morning, FYI PR: https://github.com/corona-warn-app/cwa-app-ios/pull/3962

dsarkar avatar Dec 10 '21 07:12 dsarkar

Good morning @dsarkar!

Thanks for linking the PR! I was unsure whether it's really supposed to fix this issue, but seems like it!

Have a nice Friday!

Ein-Tim avatar Dec 10 '21 07:12 Ein-Tim

CWA still takes 1,15 GB space in my iCloud backup. When keeping in mind that no data from CWA is actually restored (see https://github.com/corona-warn-app/cwa-app-ios/issues/3626) on a new device, I wonder why it's backed up in iCloud at all.

Ein-Tim avatar Dec 26 '21 23:12 Ein-Tim

Good morning @Ein-Tim, I understand you are now on CWA 2.15.1? Thanks for the feedback.

dsarkar avatar Dec 27 '21 08:12 dsarkar

@dsarkar

Yes, sorry, I forgot, I'm on 2.15.1 now and will make another backup now and see how many storage CWA will take up.

Ein-Tim avatar Dec 27 '21 09:12 Ein-Tim

@Ein-Tim Ok, thanks. Could you provide screenshots of the numbers?

dsarkar avatar Dec 27 '21 10:12 dsarkar

@dsarkar

With the last backup, the storage used decreased. image

Ein-Tim avatar Dec 27 '21 12:12 Ein-Tim

@Ein-Tim Thanks, I will forward this to the internal ticket.

dsarkar avatar Dec 27 '21 14:12 dsarkar

Dear @cebor @tmechen, we would appreciate your feedback: What are your current number? Thanks, best wishes, DS


Corona-Warn-App Open Source Team

dsarkar avatar Dec 27 '21 14:12 dsarkar

image

still using ~400mb on version 2.15.1. what is using this space? this is 10% of the available space for every free icloud user with 0 benefit?

tmechen avatar Dec 27 '21 17:12 tmechen

@tmechen Thanks for your feedback.

dsarkar avatar Dec 27 '21 17:12 dsarkar

Logging ("Fehleranalyse") enabled?

whiskey avatar Jan 06 '22 16:01 whiskey