Installation failure: Read-only file system
We log Code Push installation failures, and the following has been showing up for a few devices:
/data/data/APP_ID/files/CodePush/download.zip: open failed: EROFS (Read-only file system)
Steps to Reproduce
Perform a Code Push on a device that relies on external media (SD card)
Expected Behavior
Successful installation
Actual Behavior
Failure to save Code Push zip
/data/data/APP_ID/files/CodePush/download.zip: open failed: EROFS (Read-only file system)
Environment
- react-native-code-push version:
1.12 - react-native version:
0.27 - iOS/Android/Windows version: Appears to only happen on specific device models, in particular:
- Manufacturer:
ALPS - Model:
BV Quad - Friendly name: I think the name is "Bravva", as seen here
- Manufacturer:
- Does this reproduce on a debug build or release build? Relesae
- Does this reproduce on a simulator, or only on a physical device? Unknown
Important note: it appears this devices relies on external media (SD Card).
Seems semi-related to https://github.com/Microsoft/react-native-code-push/issues/649, and stack overflow seems to indicate external media requires WRITE_EXTERNAL_STORAGE.
We're going to try adding those to our manifest -- which if that is the solution, it seems like that should be part of the default configuration when using Code Push
Hey there!
Sorry for the delayed response. We've been doing some internal re-structuring in regard to how we handle support, so our response time has been a bit slower. Do you have any updates on this? I'm very curious as to if adding to your manifest solves the issue.
I have not been able to reproduce this on my end, and from some light research, external storage typically has a different file path than what I saw in our logs
Closed now. Feel free to reopen if you still facing this issue