Signal Desktop Database Error: 5 Ways to Fix it

This issue appears due to problems with encryption

Reading time icon 3 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

signal desktop database error

Database error on Signal desktop usually affects Linux users, and it will prevent you from starting the app and seeing your messages. However, there are a few ways you can fix this problem.

How can I fix the Database error on the Signal desktop?

1. Ensure that KDE Wallet is enabled

  1. Navigate to Settings and choose System Settings.
  2. Select KDE Wallet.
  3. Now choose Wallet Preferences and ensure that Enable the KDE wallet subsystem is enabled.
    kde wallet subsytem

2. Use gnome-libsecret parameter

  1. Open the Terminal.
  2. Run flatpak run org.signal.Signal --password-store="gnome-libsecret"
    flatpack run orgsignal
  3. Check if the problem is resolved.

Some users had to use flatpak override org.signal.Signal --user --env=SIGNAL_PASSWORD_STORE=gnome-libsecret

Keep in mind that you might have to use kwallet, kwallet5, or kwallet6 depending on your implementation.

Another command that might work is: flatpak install flathub org.signal.Signal

3. Change Signal’s config.json file

  1. Open /home/USER_NAME/.config/Signal/config.json
  2. Next, locate "safeStorageBackend": "kwallet5"
  3. Set it to "safeStorageBackend": "kwallet6"
  4. Save changes.

This method worked for Gentoo users, so don’t hesitate to try it.

4. Use the old key instead of encryptedKey in config.json

  1. Navigate to ~/.var/app/org.signal.Signal/config/Signal/config.json
  2. In there, you should find a copy of the old key.
  3. Replace the encryptedKey with the old key.

Keep in mind that this is a temporary workaround, and the issue will appear after closing Signal. Also, this method requires you to have a backup of config.json to work.

5. Other solutions to try

  1. Remove the Signal folder at the following location: ~/.config/Signal
  2. Delete Signal:
    1. Run flatpak override org.signal.Signal --user --unset-env=SIGNAL_PASSWORD_STORE
    2. Stop Signal.
    3. Run rm -r "$HOME/.var/app/org.signal.Signal"
    4. Start Signal.
  3. Add flatpack and reinstall Signal:
    1. Verify Signal is installed via snap: which signal-desktop
    2. Run sudo snap remove --purge signal-desktopsudo dnf install flatpackflatpak remote-add --if-not-exists
    3. After that, run flathub https://flathub.org/repo/flathub.flatpakrepo
    4. Lastly, run flatpak install flathub org.signal.Signal

All of these solutions will reinstall Signal and cause you to lose your data, so use them if nothing else works.

Database error in Signal Desktop appears on Linux due to bugs in keystore implementation, but hopefully, these solutions should help you fix it.

This isn’t the only error you can encounter, and we wrote about the Signal desktop is not working and  This version of Signal desktop has expired errors in our other guides, so don’t miss them.

Did you know that you can restore a backup on Signal Desktop? Although not officially supported, it’s still possible, and we have a guide that shows you how to do it. For more advanced users, we have a guide on how to use command line options in Signal Desktop, so don’t miss it.

Before you leave, don’t miss our latest guide on how to export Signal Desktop messages. We also have an article how to fix Signal Desktop high CPU usage, so feel free to visit it.

More about the topics: Linux

User forum

0 messages