Git Product home page Git Product logo

Comments (8)

Jayant-Goyal avatar Jayant-Goyal commented on June 10, 2024 1

Detailed description of what I did:
I am running the syncthing app v1.27.0 on a phone running Android 11. I have multiple folders syncing with my PC from my phone. Some folder are on the internal storage and some are on the SD card that I have put in my phone. I changed the fs watcher delay of one of the folder on my SD card to 0.1 sec. As soon as I clicked save the app closed. I opened it but it kept closing. I tried cleaing cache, didn't work. I tried changing the name of the folder on my SD card to something else so that Syncthing thinks that the folder does not exist anymore hence the fs watcher delay won't matter but that did not help either. I have set it to run only when connect to wifi so I turend the wifi off and opened the app and it asked me to change the run conditions. From there I was able to enable Notify about Syncthing crashes in Debug menu. Then I closed the app and tured wifi on and opened the app again. It closed automatically and when I opened it again it again closed and my system said that Syncthing keeps stopping as it was doing from the start. I checked but there was no notification about crash. I noticed that when I open the app and it closes, there is a notification that says the server is starting but after sometime disappears. In the end I tried to find the config.xml but was unsuccessfull because my phone is not rooted. I ended up just doing clean start.

from syncthing-android.

tomasz1986 avatar tomasz1986 commented on June 10, 2024

How can I fix this without having to full clean and start over.

If your device is rooted, then you could try to modify the config.xml file directly. Otherwise, you are probably out of luck, meaning that uninstalling and re-installing the app may be your only option.

from syncthing-android.

Jayant-Goyal avatar Jayant-Goyal commented on June 10, 2024

Even though my device is not rooted, I can access the data folder in Android using workaround. I searched the internet where to find config.xml but there is only the log file in the data/(syncthing)/files folder.

from syncthing-android.

tomasz1986 avatar tomasz1986 commented on June 10, 2024

The actual location is /data/data/com.nutomic.syncthingandroid on the /data partition.

from syncthing-android.

Jayant-Goyal avatar Jayant-Goyal commented on June 10, 2024

I was not able to access the data folder because my device is not rooted hence I decided to start over. Thanks for your help.

from syncthing-android.

tomasz1986 avatar tomasz1986 commented on June 10, 2024

Sorry you had to do that. The crash itself isn't normal though. I can set the file watcher to 0.1 on my Android device (also running Android 11) with no issues.

from syncthing-android.

acolomb avatar acolomb commented on June 10, 2024

Just a thought, you might got hit by a bug in the a recent release, see syncthing/syncthing#9269. It's about to get fixed in the next hotfix release v1.27.1.

In addition, I think your config file might have gotten corrupted by the crash. So probably your best bet was to start from scratch anyway. Sorry for the trouble!

from syncthing-android.

imsodin avatar imsodin commented on June 10, 2024

At this point this this looks more like a support request than a clear bug or feature request. Please use the forum - https://forum.syncthing.net/ - to continue discussions on this. The forum has a lot more eyes and friendly people on it than the issue tracker.

Thanks!

from syncthing-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.