Dude I’m already fending off what feels like hundreds of people in all the threads and commits hating every improvement I make but yeah I do believe that’s on the agenda
I do have a significant number of files probably over 6M across 6 drives, some server images are up to 1.5Tb in size. The old index folder is 12Gb in size
I have to say, the scanning is much faster, often maxing the IO across all the drives
If the feature gets removed, maybe block the update on setups with ignoreDelete enabled? Otherwise, I’m sure we’ll see a flow of very angry users on the forum after having their files deleted, with no backup available.
This is assuming that removing ignoreDelete will cause all those deletions be synced to the device that had it enabled before.
I get your point. I also have to keep up with changes in various dependencies in various projects. Note that this was really not about the command-line flags that were mentioned earlier by others but more about the REST-API (as API changes probably won’t be trivial to adapt to).
My point was just that Syncthing Tray and other maintained integrations will not be magically spared from breaking in contrast to abandoned ones. It will always take effort (and time) to keep up.
I’ve built it for Android and currently looking for changes that need to be done to the wrapper. Meanwhilst, I did upgrade the command line using the non-two-dash commands and set STHOMEDIR=… instead of using the --“–home=” parameter which is no longer supported on the commands the wrapper used before.
Feedback:
Could the “device-id” please respect the STHOMEDIR variable? I see in the log it is accessing the wrong path on android despite STHOMEDIR being set. This can be reproduced from shell.
emu64xa:/tmp $ export STHOMEDIR=/tmp/4
emu64xa:/tmp $ ./libsyncthingnative.so generate --no-default-folder
2025/04/02 21:28:45 INFO: Generating ECDSA key and certificate for syncthing...
2025/04/02 21:28:45 INFO: Device ID: MMVWVES-PH4ESZL-PERSOMR-G54BYO2-DYMSTFC-XT2LZXQ-O3TU4VR-34MWMAO
2025/04/02 21:28:45 INFO: We will skip creation of a default folder on first start
emu64xa:/tmp $ ./libsyncthingnative.so device-id
2025/04/02 21:28:58 WARNING: Error reading device ID: open /.local/state/syncthing/cert.pem: no such file or directory
What is the equivalent to “reset-database”?
“serve”, “–reset-database”, “–logflags=0” does not work.
Just had a quick look to see how v2 was doing before bed and it’s used all the C drive space. Bit worried that the new database is going to be very disk space hungry…
The first clue was most of the remote devices had disconnected and virtually no logs, but one said disk is full, so expanded the vm by 100Gb, will see in the morning if it needs more.
Thought I would restart St to see if the remote devices would reconnect. however it’s taking a very long time to load, specifically due to it reading the 60Gb index file
The 60Gb wal file has shrunk and the index-v2 has grown to 16Gb. However whilst it’s a much faster scanner, it’s becoming too aggressive to the drives.
the disk queues are getting longer and with less throughput. St is still scanning the drives where the v1 index would have finished. I will restart St and invoke concurrency to see if that helps.
I have tested synchronization on folder aren’t using the encrypted feature and has large files were updated frequently, incremental block synchronization is normal on the 1.29.3 official version and is fast after file was updated, but incremental block synchronization does not seem to be available on the 2.0 beta version. I wonder if the 2.0 beta has changed the incremental block synchronization feature?
Can you clarify what you mean by that and what you’re seeing? I did a few tests just now with overwriting parts in the middle of a large file and got just the changed pieces transferred, which is what I expect.