Catfriend1 / syncthing-android

Syncthing-Fork - A Syncthing Wrapper for Android.
Mozilla Public License 2.0
1.14k stars 40 forks source link

Folders on SD card can't be set to Send and Receive from the app, Web GUI and app mismatch. #1087

Open cheintz opened 5 months ago

cheintz commented 5 months ago

Folders on SD card can't be set to Send and Receive. This was an underlying issue with the previous app, but the readme.md suggests it was at least partially fixed here.

Reproduction Steps

  1. Create folder
  2. Set directory to somewhere on the SD card
  3. Attempt to change Folder Type and note that it displays the message "Your android version only grants Syncthing readonly access to the selected folder. Create folder anyway.
  4. Open web GUI
  5. Select created folder -> edit -> advanced
  6. Set sync type to send & receive
  7. Return to app. Edit the folder within the app and note that it still says "send only" and gives the same error as above.
  8. Check log. Reported folder status matches what's reported by Web GUI
  9. Add the folder to another device, create a folder on that device. Note that the behavior of the phone is "Send only"

Version Information

Also confirmed on:

Catfriend1 commented 5 months ago

Maybe there is an issue regarding the use of sdcards... But I don't have a sdcard slot and cannot test/debug it.

Catfriend1 commented 5 months ago

Btw it's not fully supported that you edit config via web UI as the wrapper attempts to reload the config and cannot hot-reapply all settings. Saving again a change via wrapper after you did one save on the web ui is expected to revert a change, tbough.

What are the full absolute paths of your sendOnly attempt from the wrapper and from the webUi?

cheintz commented 5 months ago

I select it as "SD Card/Long term media ". It shows as /storage/9016-4EF8/Long term media in the app. In the Samsung file browser, it shows as "SD Card/Long term media"