[GH-ISSUE #4198] Bugs in wiki, maybe #1817

Closed
opened 2026-03-03 02:12:28 +03:00 by kerem · 0 comments
Owner

Originally created by @mobeicanyue on GitHub (Dec 22, 2023).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/4198

Subject of the issue

Deployment environment

  • vaultwarden version:
    1.30.1
  • Install method:
    docker compose

  • Clients used:
    Android

  • Reverse proxy and version:

  • MySQL/MariaDB or PostgreSQL version:

  • Other relevant details:

Steps to reproduce

In this wiki
https://github.com/dani-garcia/vaultwarden/wiki/Enabling-admin-page#how-to-prevent-variable-interpolation-in-docker-composeyml

You said

This is not the case when using a .env file for docker-compose.yaml
As shown below. In this case just use the single $ variant.

Which means the .env file using single $

image

But as I write it, I run docker compose config

error occurs like

WARNING: The argon2id variable is not set. Defaulting to a blank string.
WARNING: The v variable is not set. Defaulting to a blank string.
WARNING: The m variable is not set. Defaulting to a blank string.
...

And I use dual $ in the .env file, error not occur when I run docker compose config

Expected behaviour

Actual behaviour

Troubleshooting data

Originally created by @mobeicanyue on GitHub (Dec 22, 2023). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/4198 <!-- # ### NOTE: Please update to the latest version of vaultwarden before reporting an issue! This saves you and us a lot of time and troubleshooting. See: * https://github.com/dani-garcia/vaultwarden/issues/1180 * https://github.com/dani-garcia/vaultwarden/wiki/Updating-the-vaultwarden-image # ### --> <!-- Please fill out the following template to make solving your problem easier and faster for us. This is only a guideline. If you think that parts are unnecessary for your issue, feel free to remove them. Remember to hide/redact personal or confidential information, such as passwords, IP addresses, and DNS names as appropriate. --> ### Subject of the issue <!-- Describe your issue here. --> ### Deployment environment <!-- ========================================================================================= Preferably, use the `Generate Support String` button on the admin page's Diagnostics tab. That will auto-generate most of the info requested in this section. ========================================================================================= --> <!-- The version number, obtained from the logs (at startup) or the admin diagnostics page --> <!-- This is NOT the version number shown on the web vault, which is versioned separately from vaultwarden --> <!-- Remember to check if your issue exists on the latest version first! --> * vaultwarden version: 1.30.1 <!-- How the server was installed: Docker image, OS package, built from source, etc. --> * Install method: docker compose * Clients used: <!-- web vault, desktop, Android, iOS, etc. (if applicable) --> Android * Reverse proxy and version: <!-- if applicable --> * MySQL/MariaDB or PostgreSQL version: <!-- if applicable --> * Other relevant details: ### Steps to reproduce <!-- Tell us how to reproduce this issue. What parameters did you set (differently from the defaults) and how did you start vaultwarden? --> In this wiki https://github.com/dani-garcia/vaultwarden/wiki/Enabling-admin-page#how-to-prevent-variable-interpolation-in-docker-composeyml You said ``` This is not the case when using a .env file for docker-compose.yaml As shown below. In this case just use the single $ variant. ``` Which means the .env file using single `$` ![image](https://github.com/dani-garcia/vaultwarden/assets/81098819/3f40c1df-75cb-42eb-9f94-60eecb797de0) But as I write it, I run `docker compose config` error occurs like ``` WARNING: The argon2id variable is not set. Defaulting to a blank string. WARNING: The v variable is not set. Defaulting to a blank string. WARNING: The m variable is not set. Defaulting to a blank string. ... ``` And I use dual `$` in the .env file, error not occur when I run `docker compose config` ### Expected behaviour <!-- Tell us what you expected to happen --> ### Actual behaviour <!-- Tell us what actually happened --> ### Troubleshooting data <!-- Share any log files, screenshots, or other relevant troubleshooting data -->
kerem closed this issue 2026-03-03 02:12:28 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#1817
No description provided.