Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Duplicati template missing variable SETTINGS_ENCRYPTION_KEY #4666

Open
TimKochDev opened this issue Dec 25, 2024 · 3 comments
Open

[Bug]: Duplicati template missing variable SETTINGS_ENCRYPTION_KEY #4666

TimKochDev opened this issue Dec 25, 2024 · 3 comments
Labels
🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization.

Comments

@TimKochDev
Copy link
Contributor

TimKochDev commented Dec 25, 2024

Error Message and Logs

[migrations] started
[migrations] no migrations found
───────────────────────────────────────

  ██╗     ███████╗██╗ ██████╗
  ██║     ██╔════╝██║██╔═══██╗
  ██║     ███████╗██║██║   ██║
  ██║     ╚════██║██║██║   ██║
  ███████╗███████║██║╚██████╔╝
  ╚══════╝╚══════╝╚═╝ ╚═════╝

Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID: 1000
User GID: 1000
───────────────────────────────────────
Linuxserver.io version: v2.1.0.2_beta_2024-11-29-ls229
Build-date: 2024-12-21T03:56:47+00:00
───────────────────────────────────────

*** Missing encryption key, unable to encrypt your settings database ***
*** Please set a value for SETTINGS_ENCRYPTION_KEY and recreate the container ***

Steps to Reproduce

  1. Deploy duplicati template without any changes
  2. Observe unhealthy container status and see logs

Example Repository URL

No response

Coolify Version

v4.0.0-beta.379

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

Ubuntu Server 24

Additional Information

Adding SETTINGS_ENCRYPTION_KEY=${SERVICE_PASSWORD_DUPLICATI} to the compose file's environment variables should do the trick

@TimKochDev TimKochDev added 🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization. labels Dec 25, 2024
@pablo7913
Copy link

I also had to add DUPLICATI__WEBSERVICE_PASSWORD in the docker-compose, the password was added in the environment variables.

@TimKochDev
Copy link
Contributor Author

I also had to add DUPLICATI__WEBSERVICE_PASSWORD in the docker-compose, the password was added in the environment variables.

To my knowledge, that variable is optional. If not set, it defaults to "changeme" according to Duplicati's documentation.
But yes, using Coolify's magic for env variables can be useful for that.

@jencoxu
Copy link

jencoxu commented Dec 29, 2024

I have the same problem, have you solved it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization.
Projects
None yet
Development

No branches or pull requests

3 participants