Alpine Linux Failed to Generate Keys
syncthing-gtk: Configuration directory: '/home/user/.config/syncthing'
syncthing-gtk: Failed to create configuration directory
syncthing-gtk: [Errno 17] File exists: '/home/user/.config/syncthing'
syncthing-gtk: Syncthing configuration directory: /home/user/.config/syncthing
2024/06/25 06:37:19 WARNING: Key exists; will not overwrite.
2024/06/25 06:37:19 INFO: Device ID: QUYEUPV-T56Q3GS-######-5PCSLSP-SLVREKR-######-5YZSBRB-######
2024/06/25 06:37:19 WARNING: Failed to generate config and keys: load config: XML syntax error on line 5: element
The ~/.config/syncthing folder is owned by me. I did restore from backup also syncthing-gtk folder already had a config file.
Deleting both folders did the trick.
Would it be possible to instead restore from existing configuration? Or at least overwrite existing config with warning if restore does not work?