Cannot import DB in any build except e2e
Bug Report
Problem
Currently exporting DBs working for all builds, where it is enabled while importing is only working for apk-e2e builds
Expected behavior
can login after importing DB
Actual behavior
Reproduction
- Open Status
- Try to import db according to doc with user
west dwarf festival fabric pelican gallery jewel bind snack fiction awkward secondand db on real device or emulator with arm-64 arcitecture
Additional Information
- Status version: nightly 16/09/22
- Operating System: Android, iOS
- Log: geth.log
cc @qfrank
sorry, missed the notification, i'll look into it @churik , thank you
I tested it locally on various devices, and from what I see it looks like permissions/file owner issue. In case if device is not rooted the only change which is needed to make it work is to run
adb shell <<< "chmod 777 /storage/emulated/0/Android/data/im.status.ethereum.pr/files/Download/export.db"
after pushing file to the device. Please make sure you use a correct path in that command, as I tested it on pr build it contains im.status.ethereum.pr in my case, but if that's nightly it should be im.status.ethereum.
updating doc, thank you for finding the reason Roman.