# Duplicati stopped working

**URL:** https://forum.duplicati.com/t/duplicati-stopped-working/20099
**Category:** Support
**Created:** [February 8, 2025, 2:17pm UTC](https://forum.duplicati.com/t/duplicati-stopped-working/20099 "2025-02-08T14:17:10Z")
**Posts on this page:** 1
**Showing post:** 2

<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: [February 11, 2025, 10:09pm UTC](https://forum.duplicati.com/t/duplicati-stopped-working/20099/2 "2025-02-11T22:09:08Z")

</div>

Hi @gazm2k5, welcome to the forum.

> [@gazm2k5](#):
>
> I went to check on it yesterday and it asked for a password, which I never set. I managed to set a password using the docker compose yaml

Yes, that is a new security feature. I know it is annoying, but it greatly enhances security for (almost) everyone.

> [@gazm2k5](#):
>
> then the logs complained that I didn’t have a settings encryption key so I put randomly generated string in and managed to get access again.

The encryption key is a warning, but it does not prevent anything. Setting it will protect the credentials in case the database is leaked somehow.

> [@gazm2k5](#):
>
> However my backup jobs seemed to be missing.

That sounds like a mapping error. If the data folder (with `Duplicati-server.sqlite`) is stored outside of Docker, it should be a matter of pointing to that folder with an environment variable:

```plaintext
- DUPLICATI__SERVER_DATAFOLDER=/config/Duplicati

```

This update to Duplicati changed from Mono to .NET8, and looking at your config, it seems that the default folder may have changed between the two versions. My guess is that .NET4 resolved to `/config/Duplicati` as the default path, but .NET8 resolved to `/data/Duplicati` as the default data path.

You can fix this by forcing the datafolder path as shown above.

> [@gazm2k5](#):
>
> I tried to just recreate the back up jobs but every 30-60 seconds or so I got a message saying “The connection to the server is lost, attempting again in 0:14 …” and refreshing would take me back to the start of the process so I couldn’t even create a job unless I somehow speed ran it.
> 
> I wiped my config file and decided to start again. However when I run the container I just get the “The connection to the server is lost, attempting again in 0:14 …” message constantly and can’t use duplicati at all.

This could be caused by the nginx proxy. The new UI uses websockets, so you need to add proxy support to the config, something like:

```plaintext
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;

```

You can check with the browser Dev Tools to see what errors you get when loading the page, that should make it easier to diagnose the problem.

Alternative: if you have any backup to Storj, this has been reported to hard-crash Duplicati inside the Docker container.

---

_[View the full topic](https://forum.duplicati.com/t/duplicati-stopped-working/20099)._
