# Export Settings

**URL:** https://forum.syncthing.net/t/export-settings/22984
**Category:** Support
**Created:** [October 18, 2024, 1:16am UTC](https://forum.syncthing.net/t/export-settings/22984 "2024-10-18T01:16:27Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![lihua](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/l/d2c977/32.png) [@lihua](https://forum.syncthing.net/u/lihua)
#### Post date: [October 18, 2024, 1:16am UTC](https://forum.syncthing.net/t/export-settings/22984/1 "2024-10-18T01:16:28Z")

</div>

How can I export the settings of Syncthing (v1.28.0) on macOS (v11.7.10)? I want to revert to using Syncthing 1.27.x because I’m encountering some issues. (Details of the issue are in the following link)

> <https://github.com/syncthing/syncthing/issues/9774>
>
> \### What happened?
> 
> \`\`\`
> Puller (folder "redmi11" (transport), item "130.jpg"): …syncing: finishing: pull: generic error
> 2024/10/18 07:48:49 INFO: "redmi11" (transport): Failed to sync 81 items
> 2024/10/18 07:48:49 INFO: Folder "redmi11" (transport) isn't making sync progress - retrying in 1m1s.
> \`\`\`
> 
> Suddenly became abnormal, likely because I updated the macOS version yesterday. Now macOS is using the latest v1.28.0, macOS (64-bit Intel/AMD), while Android is using v1.27.12(Downloaded from F-Droid). Currently, all synchronized folders, which I confirmed have not been modified and were previously working normally, are set to 'Send and Receive' on both ends. However, the reality is that only changes from macOS can be synchronized to Android, while changes from Android cannot be synchronized to macOS (it seems that only delete operations can be synchronized, but I have all the necessary permissions and it used to work normally). If changes are made on the Android side in the corresponding synchronized folder, a hidden file like '.syncthing.130.jpg.tmp' (and the size of this file seems to be the same as the original file) is generated on the macOS side, and it shows 'Unsynced'.
> 
> Could it be due to the difference in major versions?
> 
> \### Syncthing version
> 
> macos v1.28.0 - android v1.27.12
> 
> \### Platform & operating system
> 
> macos 11.7.10 - android 13 (redmi miui14)
> 
> \### Browser version
> 
> Safari v16.6.1 (16615.3.12.11.5, 16615)
> 
> \### Relevant log output
> 
> \`\`\`shell
> \[NGSNT\] 2024/10/18 08:05:18 INFO: Puller (folder "redmi11" (transport), item "130.jpg"): syncing: finishing: pull: generic error
> \[NGSNT\] 2024/10/18 08:05:18 INFO: "redmi11" (transport): Failed to sync 81 items
> \[NGSNT\] 2024/10/18 08:05:18 INFO: Folder "redmi11" (transport) isn't making sync progress - retrying in 16m1s.
> \[NGSNT\] 2024/10/18 08:06:09 INFO: Puller (folder "redmi" (tran), item "test.txt"): syncing: finishing: pull: generic error
> \[NGSNT\] 2024/10/18 08:06:09 INFO: "redmi11" (transfer): Failed to sync 1 items
> \[NGSNT\] 2024/10/18 08:06:09 INFO: Folder "music\_transfer" (music\_transfer) isn't making sync progress - retrying in 1m0s.
> \`\`\`

Or do I have to completely manually rebuild all the settings?

---

<div class="post-metadata">

### Author: ![gadget](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/g/dec6dc/32.png) [@gadget](https://forum.syncthing.net/u/gadget)
#### Post date: [October 18, 2024, 1:22am UTC](https://forum.syncthing.net/t/export-settings/22984/2 "2024-10-18T01:22:03Z")

</div>

[https://docs.syncthing.net/users/config.html](https://docs.syncthing.net/users/config.html)

---

<div class="post-metadata">

### Author: ![lihua](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/l/d2c977/32.png) [@lihua](https://forum.syncthing.net/u/lihua)
#### Post date: [October 18, 2024, 1:44am UTC](https://forum.syncthing.net/t/export-settings/22984/3 "2024-10-18T01:44:41Z")

</div>

Ok, thank you.

---

<div class="post-metadata">

### Author: ![lihua](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/l/d2c977/32.png) [@lihua](https://forum.syncthing.net/u/lihua)
#### Post date: [October 18, 2024, 3:08am UTC](https://forum.syncthing.net/t/export-settings/22984/4 "2024-10-18T03:08:20Z")

</div>

I checked the address [Syncthing Configuration — Syncthing documentation](https://docs.syncthing.net/users/config.html), but I couldn’t find the configuration file on my computer. I looked in `$XDG_STATE_HOME/syncthing`, `$HOME/.local/state/syncthing`, and `$HOME/Library/Application Support/Syncthing`, but I didn’t see any files related to Syncthing. I am not using the macOS application package (dmg) to install Syncthing; instead, I used the basic Syncthing release from [Releases · syncthing/syncthing · GitHub](https://github.com/syncthing/syncthing/releases). I extracted it to a directory, configured the environment variables, and then started it directly in the terminal command line interface using the `syncthing` command. Unfortunately, I still couldn’t find the related configuration files using `find`. It’s quite strange because in the directory where I extracted and ran it, there are only executable files named `syncthing`, along with other files like `syncthing.old`, `.metadata`, `AUTHORS.txt`, `LICENSE.txt`, `README.txt`, `etc`, but no configuration files. This is quite strange.

---

<div class="post-metadata">

### Author: ![calmh](https://forum.syncthing.net/user_avatar/forum.syncthing.net/calmh/32/15311_2.png) [@calmh](https://forum.syncthing.net/u/calmh)
#### Post date: [October 18, 2024, 6:31am UTC](https://forum.syncthing.net/t/export-settings/22984/5 "2024-10-18T06:31:05Z")

</div>

There’s no need to export any settings, you can just download and run an older version. Set `STNOUPGRADE=1` in the environment to prevent automatic upgrades when it first starts. Configuration on macOS is in `~/Library/Application Support/Syncthing`, guaranteed.

---

<div class="post-metadata">

### Author: ![lihua](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/l/d2c977/32.png) [@lihua](https://forum.syncthing.net/u/lihua)
#### Post date: [October 18, 2024, 7:29am UTC](https://forum.syncthing.net/t/export-settings/22984/6 "2024-10-18T07:29:50Z")

</div>

Oh yes, thank you, I was getting dizzy from all this. The configuration files are indeed in ~/Library/Application Support/Syncthing. I overlooked ‘Application Support’ and that’s why I couldn’t find them (“It’s also my fault for forgetting to use the `-iname` option with the `find` command earlier.”). I’ll immediately try using the downgraded Syncthing version v1.27.12 on macOS (which is also the version on my Android phones) to see if it restores normal bidirectional syncing.

---

<div class="post-metadata">

### Author: ![lihua](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/l/d2c977/32.png) [@lihua](https://forum.syncthing.net/u/lihua)
#### Post date: [October 18, 2024, 7:42am UTC](https://forum.syncthing.net/t/export-settings/22984/7 "2024-10-18T07:42:55Z")

</div>

Confirmed, on my devices (macOS and Android phones), with the versions macOS-v1.28.0 and Android phones-v1.27.12, the bug mentioned in the issue occurs. When I downgraded the macOS version to 1.27.12, everything worked fine. Thank you for your assistance.

---

<div class="post-metadata">

### Author: ![system](https://forum-uploads.syncthingcdn.net/original/2X/0/0b50e0a202b22ae6a67190759e8c868805b8ed9f.png) [@system](https://forum.syncthing.net/u/system)
#### Post date: [November 17, 2024, 7:43am UTC](https://forum.syncthing.net/t/export-settings/22984/8 "2024-11-17T07:43:02Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
