syncthing-gtk icon indicating copy to clipboard operation
syncthing-gtk copied to clipboard

Alpine Linux Failed to Generate Keys

Open CaptainMorgan12 opened this issue 1 year ago • 0 comments

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 closed by </encryptionPassword>

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?

CaptainMorgan12 avatar Jun 25 '24 13:06 CaptainMorgan12