# Sudden repeated "Server crashed on startup"

**URL:** <https://forum.duplicati.com/t/sudden-repeated-server-crashed-on-startup/22559>\
**Category:** Uncategorized\
**Created:** [July 18, 2026, 9:33pm UTC](https://forum.duplicati.com/t/sudden-repeated-server-crashed-on-startup/22559 "2026-07-18T21:33:44Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrism](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/c/47e85d/32.png) [@chrism](https://forum.duplicati.com/u/chrism)\
**Post date:** [July 18, 2026, 9:33pm UTC](https://forum.duplicati.com/t/sudden-repeated-server-crashed-on-startup/22559/1 "2026-07-18T21:33:45Z")

</div>

Longtime Duplicati user. On a Windows 10 machine, 2.3.0.1\_stable\_2026-04-24 was running for months with no apparent issues. Then I noticed tray icon was missing. Tried restarting Duplicati -\>didn’t work. Tried rebooting → didn’t work. Downloaded and installed latest 2.3.0.4, thinking it might have fixed something. But it still wouldn’t start. Digging deeper now, looked at crash log and it starts with this:

Duplicati.Library.Interface.UserInformationException: Server crashed on startup  
—\> System.Exception: A serious error occurred in Duplicati: Duplicati.Library.Interface.SettingsEncryptionKeyMismatchException: Encryption key used to encrypt target settings does not match current key.

Note that no configuration or anything was intentionally changed between everything working and it failing.

I never explicitly encrypted the database, but I see in the release notes that 2.3.0.0 adds a default secret provider, and sure enough, when I look in the Windows Credential Manager, there is an entry for duplicati-server-encryption-key.

So I tried launching Duplicati.GUI.TrayIcon.exe with the --disable-db-encryption, but it fails with the exact same output.

Other than doing a fresh install, I’m now at a loss as to what to do next to get it working again.

---

<div class="post-metadata">

**Author:** ![kenkendk](https://forum.duplicati.com/user_avatar/forum.duplicati.com/kenkendk/32/5305_2.png) [@kenkendk](https://forum.duplicati.com/u/kenkendk)\
**Post date:** [July 20, 2026, 8:16am UTC](https://forum.duplicati.com/t/sudden-repeated-server-crashed-on-startup/22559/2 "2026-07-20T08:16:46Z")

</div>

> [@chrism](#):
>
> Duplicati.Library.Interface.UserInformationException: Server crashed on startup  
> —\> System.Exception: A serious error occurred in Duplicati: Duplicati.Library.Interface.SettingsEncryptionKeyMismatchException: Encryption key used to encrypt target settings does not match current key.

This message means that Duplicati found an encryption key, but it was not the right one.

Did you by any chance run a “cleaner” program?  
I am aware that some cleaner programs have a setting for “remove intranet credentials” or similar wording, that will actually wipe the Windows Credential Manager for all credentials.

Duplicati prior to 2.3.0.4 had a logic bug where it would create a new key if it could not decrypt the database. While this did not break anything directly, it can be really confusing if the real key was wiped, as you would see a key, but it would not be the right one.

> [@chrism](#):
>
> So I tried launching Duplicati.GUI.TrayIcon.exe with the --disable-db-encryption, but it fails with the exact same output.

Yes, without the key, the database cannot be decrypted.

> [@chrism](#):
>
> Other than doing a fresh install, I’m now at a loss as to what to do next to get it working again.

If you have the backup configurations exported, you can rename the `Duplicati-server.sqlite` file to get a clean slate.

I will try to add a `wipe-encryption` method that will purge the database of encrypted content so you could run that first, and then go and manually enter the things that were wiped (encryption passphrase, destination url, etc).

---

<div class="post-metadata">

**Author:** ![chrism](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/c/47e85d/32.png) [@chrism](https://forum.duplicati.com/u/chrism)\
**Post date:** [July 20, 2026, 4:07pm UTC](https://forum.duplicati.com/t/sudden-repeated-server-crashed-on-startup/22559/3 "2026-07-20T16:07:51Z")

</div>

> [@kenkendk](#):
>
> Did you by any chance run a “cleaner” program?

No, nothing was done on this machine that I might suspect would modify the Credential Manager.

> [@kenkendk](#):
>
> If you have the backup configurations exported, you can rename the `Duplicati-server.sqlite` file to get a clean slate.

Unfortunately, I didn’t export it first.

> [@kenkendk](#):
>
> I will try to add a `wipe-encryption` method that will purge the database of encrypted content so you could run that first, and then go and manually enter the things that were wiped (encryption passphrase, destination url, etc).

That would be fantastic. Alternatively, is it straightforward enough for me to use a sqilte DB editor to replace the “enc-v1” fields in there with their plaintext versions (unless the format has changed recently, I can look at one of the backup server DBs for examples), delete the key in WCM, and relaunch? (I do see a lot of encrypted fields in the Option table that I know nothing about and wouldn’t touch, though, e.g. jwt-config, pbkdf-config…)

Thanks for your help. (Honored to be receiving it from duplicati’s creator).

---

<div class="post-metadata">

**Author:** ![chrism](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/c/47e85d/32.png) [@chrism](https://forum.duplicati.com/u/chrism)\
**Post date:** [July 21, 2026, 10:55pm UTC](https://forum.duplicati.com/t/sudden-repeated-server-crashed-on-startup/22559/4 "2026-07-21T22:55:36Z")

</div>

@kenkendk Update: Duplicati is working again for me after using your new wipe-encryption command (from 2.3.0.108\_canary) and then resetting the passphrase and target URL. I still have no idea how there ever was an encryption key mismatch, but thank you so much for the convenient tool to fix it!!

---

<div class="post-metadata">

**Author:** ![ThomasChr](https://forum.duplicati.com/user_avatar/forum.duplicati.com/thomaschr/32/9773_2.png) [@ThomasChr](https://forum.duplicati.com/u/ThomasChr)\
**Post date:** [July 22, 2026, 3:39am UTC](https://forum.duplicati.com/t/sudden-repeated-server-crashed-on-startup/22559/5 "2026-07-22T03:39:36Z")

</div>

Same problem here. I don‘t have the time right now to dig deeper into it (will have this evening) but the facts are:

- Relatively recent windows duplicati release
- did change nothing (but rebootet)
- runs with the gui tray, not as a service
- I have another backup so recovering a key should be no problem

So how should I start to repair that?

Just get the key from a backup and compare it?

How to?

---

<div class="post-metadata">

**Author:** ![ThomasChr](https://forum.duplicati.com/user_avatar/forum.duplicati.com/thomaschr/32/9773_2.png) [@ThomasChr](https://forum.duplicati.com/u/ThomasChr)\
**Post date:** [July 23, 2026, 7:05am UTC](https://forum.duplicati.com/t/sudden-repeated-server-crashed-on-startup/22559/6 "2026-07-23T07:05:10Z")

</div>

I think the problem happend because of a wipe of the windows credentials manager…  
I’ll try the “wipe-encryption” way.

---

<div class="post-metadata">

**Author:** ![anarchaeopteryx](https://forum.duplicati.com/user_avatar/forum.duplicati.com/anarchaeopteryx/32/12789_2.png) [@anarchaeopteryx](https://forum.duplicati.com/u/anarchaeopteryx)\
**Post date:** [August 10, 2026, 5:38pm UTC](https://forum.duplicati.com/t/sudden-repeated-server-crashed-on-startup/22559/7 "2026-08-10T17:38:56Z")

</div>

Just as a data point I would like to say this occurred for me yesterday (2026-08-09) running 2.3.0.107-1 Canary build on CachyOS (Arch Linux) therefore this is not just a Windows issue. I rebooted my computer and duplicati went from running fine to showing a crash error (upon automatic startup of the Tray service at user login). Error message is the same:

`Duplicati.Library.Interface.UserInformationException: Server crashed on startup  
—\> System.Exception: A serious error occurred in Duplicati: Duplicati.Library.Interface.SettingsEncryptionKeyMissingException: Encryption key is missing`

I have the backup configuration saved so I will just attempt an erase and reinstall as a solution. But thought you would want to know in attempting to trace the cause.

---

<div class="post-metadata">

**Author:** ![Nosenko](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/n/46a35a/32.png) [@Nosenko](https://forum.duplicati.com/u/Nosenko)\
**Post date:** [September 12, 2026, 6:40pm UTC](https://forum.duplicati.com/t/sudden-repeated-server-crashed-on-startup/22559/8 "2026-09-12T18:40:51Z")

</div>

I am unsure of your solution. So if you could say the methods you used, I would be grateful. I happen to be on Windows, and I happen to have another Post alive in here about my upgrade troubles.

My question is what you mean by a backup configuration.

I have kept copies of my database (about 6 GB) and my Duplicati-server.sqlite (configuration) files. I think the former one is the thing that is encrypted and the latter is the one that some people are editing manually, others are copying from a backup.

But Ken said to delete `Duplicati-server.sqlite,` which seems backwards to me. How can it do anything without the configuration? My gut is that it (the `Duplicati-server.sqlite`) may be able to be rebuilt from my external duplicati backup. Can anyone confirm?

All I did was what I thought was an easy upgrade to a new stable, and had two issues: the new user restrictions of the Windows service (detailed in my other post) and the database encryption issue (that you and several others have had).

Thanks everyone.

---

<div class="post-metadata">

**Author:** ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)\
**Post date:** [September 12, 2026, 10:51pm UTC](https://forum.duplicati.com/t/sudden-repeated-server-crashed-on-startup/22559/9 "2026-09-12T22:51:21Z")

</div>

> [@Nosenko](#):
>
> My question is what you mean by a backup configuration.

[The server database](https://docs.duplicati.com/database-and-storage/the-server-database)

> All configuration data, logs and settings are stored inside the file `Duplicati-server.sqlite`.

[Securing the database](https://docs.duplicati.com/database-and-storage/the-server-database#securing-the-database)

> To protect the database, Duplicati has support for a field-level encryption password. When activated, any setting that is deemed sensitive will be encrypted before being written to the database. This method ensures that the SQLite database itself is still readable, but the secrets are not readable without the encryption passphrase.

[The local database](https://docs.duplicati.com/database-and-storage/the-local-database) is the per-job one, and can get large. I don’t think it needs any encryption.

> [@Nosenko](#):
>
> But Ken said to delete `Duplicati-server.sqlite,` which seems backwards to me. How can it do anything without the configuration?

Are you talking about this from above? If so, please note the words in front of the suggestion:

> [@kenkendk](#):
>
> If you have the backup configurations exported, you can rename the `Duplicati-server.sqlite` file to get a clean slate.

If something else, please give context, link, quote, etc. From job exports, you can then do this:

[Import configuration](https://docs.duplicati.com/configuration-and-management/import-and-export-backup-configurations#import-configuration)

This will get the backup configurations restored. You do lose some history, but it’s pretty good.  
Problem is that if you never got job exports, you can’t import, so your configs are in database.

I would prefer that the developer give detailed advice, but I can quote from the release notice:

# Added `wipe-encryption` to database tool

The database tool now supports a `wipe-encryption` command that can be used to remove all encrypted fields from a server database. With this command it is possible to get an encrypted database back into a state where it can be opened again. After encrypted fields are wiped, the user can then edit backups and settings to replace the lost data.

Theory sounds like your secrets should be in a password saver or somewhere. Get non-secret  
configuration parts out of database with a key that no longer works, then manually add secrets.

EDIT 1:

Actually `wipe-encryption` was described [above](https://forum.duplicati.com/t/sudden-repeated-server-crashed-on-startup/22559/2) before it was done, so you can also read that.
