Error While Updating Syncthing

Problem Description
I’m trying to update Syncthing on a fresh install of Freedombox and it’s giving me this error message: "Error installing application: UNIQUE constraint failed: "

Steps to Reproduce

  1. Boot Fredombox from a fresh stable image on a PINE A64+.
  2. Configure Freedombox network and DNS settings.
  3. Install Syncthing.
  4. Wait 24 hours to allow Freedombox to update.
  5. Change password to something more secure.
  6. Click the Update button on Syncthing’s app page.

Expected Results
I expected Syncthing to update and allow me to launch the web client.

Actual results
I get an error with the following message:

Error installing application: UNIQUE constraint failed:



  • FreedomBox version: 21.4.2
  • Hardware: PINE A64+
  • How did you install FreedomBox?: Downloaded an image from the Wiki.

My hunch is the problem has to do with my password change. That error message looks, to my poorly self-taught programmer’s eye, like a Python error where you accidentally duplicate the name of an object. “auth_group” sounds like something related to user names and permissions, but I have no idea what to do with this information.

Any suggestions on fixes?

Hi atrombone.

While this does not address your issue, I would like to mention that I was having compatibility issues with the old version of syncthing on my FB when my clients would run a significantly newer version. I resolved these issues by upgrading syncthing using their own apt repository - instructions can be found here:

This may not resolve your auth errors, but maybe it can be a workaround to get things up and running again.

Cheers + HTH,