Syncthing Linux 5.19.9

  • system: "x86_64-linux"
  • host os: Linux 5.19.9, NixOS, 22.05 (Quokka), 22.05.3242.72783a2d0db
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.8.1
  • channels(root): "home-manager-22.05.tar.gz, nixos-22.05"
  • channels(usera): ""
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
services = {

syncthing = {
        enable = true;
.. };
];

syncthing

[start] 2022/09/27 18:54:28 INFO: syncthing v1.20.4 "Fermium Flea" (go1.17.13 linux-amd64) nix@nix 1980-01-01 00:00:00 UTC [noupgrade]
[start] 2022/09/27 18:54:28 WARNING: Error opening database: resource temporarily unavailable (is another instance of Syncthing running?)
[monitor] 2022/09/27 18:54:28 INFO: Syncthing exited: exit status 1

well, is your system running another instance of syncthing? Did you configure the services.syncthing AND tried running it yourself again?

3 Likes
$ systemctl --user status syncthing
● syncthing.service - Syncthing - Open Source Continuous File Synchronization
     Loaded: loaded (/home/peter/.config/systemd/user/syncthing.service; enabled; preset: enabled)
     Active: active (running) since Tue 2022-09-27 23:00:44 +08; 11h ago
       Docs: man:syncthing(1)
   Main PID: 3066 (syncthing)
      Tasks: 24 (limit: 38329)
     Memory: 650.5M
        CPU: 39.455s
     CGroup: /user.slice/user-1000.slice/user@1000.service/background.slice/syncthing.service
             β”œβ”€3066 /nix/store/m7cjcml2pc6hq8djz3rcq16hmhcz5659-syncthing-1.21.0/bin/syncthing -no-browser -no-restart -logflags=0
             └─3085 /nix/store/m7cjcml2pc6hq8djz3rcq16hmhcz5659-syncthing-1.21.0/bin/syncthing -no-browser -no-restart -logflags=0

$ uname -r
5.19.9

You’re going to need to provide a lot more information for us to be able to help you.