kozec / syncthing-gtk

GTK3 & python based GUI for Syncthing
GNU General Public License v2.0
1.3k stars 138 forks source link

Alpine Linux Failed to Generate Keys #605

Open CaptainMorgan12 opened 3 months ago

CaptainMorgan12 commented 3 months ago

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

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?