-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Cannot change storage path from default to external. #537
Comments
There might be a couple of reasons for this. Most probable is that there isn't enough space on the sd card. |
hi Bartosz, thanks for looking into that! please find logs attached. Is there anything i can enable/do to trace the application (debug traces?)? Great application btw, thanks for that! Thanks. /Ruslan. |
Hi Ruslan, Those are logs from server. In order to understands whats going on I would need device logs. Are you able to provide those? |
You can get logs by using logcat tool |
Hi Bartosz, thanks a lot! it took me sometime to collect logs - i have not used that tool before. what else can i do? can i run debug app with more traces added? /Ruslan |
Hi, One more thing to check. Is the SD card in RW mode ? could you try to make
set permissions using this command
|
hi, thanks for reply. Yes those logs include migration. But actually about changing permission... Once i created the folder i can see that app can migrate but since folder has 770 permission app cannot write in there. I tried to change permission but that does not work...
so regardless what i do i cannot change it to anything than 770... Do you know what could be the reason? Thanks. /Ruslan. |
I am not sure how rooting changes the access to the external directory but my guess is that the app process is not a part of sdcard_r group which diallows it from writing to that directory. |
I have the same problem: Is there a fix for this? |
Meanwhile we enhanced the app. Can you please try and report back if the bug still exists on latest official version in conjuction with latest server or even try our dev version? |
This request did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you! |
Hi i have a problem with storage path.
Could you look if you have the same issue? Or what might be the reason?
Thanks!
Actual behaviour
open nextcloud app on android. Go to settings. In general section, tap storage path. Nothing is selected btw there. select /storage/sdcard1.
Error window pops up:
Updating storage path
ERROR: While migrating
Expected behaviour
storage path changed to sdcard.
Steps to reproduce
Environment data
Android version: 4.4.4
Device model: Sony Xperia Z2. D6503
Stock or customized system: rooted stock.
Nextcloud app version: 1.4.0
Nextcloud server version: 11
Logs
Web server error log
Nextcloud log (data/nextcloud.log)
The text was updated successfully, but these errors were encountered: