Vaultwarden #580

Closed
opened 2026-02-04 20:06:21 +03:00 by OVERLORD · 7 comments
Owner

Originally created by @MrBertoza on GitHub (Mar 4, 2025).

Originally assigned to: @MickLesk on GitHub.

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Vaultwarden LXC

📂 What was the exact command used to execute the script?

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/vaultwarden.sh)"

📝 Provide a clear and concise description of the issue.

When running the script it gives this error, it's pretty self explanatory, but the vaultwarden doesnt get installed so:

error: toolchain '1.85.0-x86_64-unknown-linux-gnu' is not installed
help: run `rustup toolchain install 1.85.0-x86_64-unknown-linux-gnu` to install it
 ⠼
[ERROR] in line 50: exit code 0: while executing command $STD cargo build --features "sqlite,mysql,postgresql" --release

Already updated host.

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

🔄 Steps to reproduce the issue.

1- Open node shell
2- Paste command
3- Default installation (verbose)
4- Get Error

Paste the full error output (if available).

✔️ Installed Dependencies
⠙info: downloading installer
⠴info: profile set to 'minimal'
info: default host triple is x86_64-unknown-linux-gnu
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
⠧info: latest update on 2025-02-20, rust version 1.85.0 (4d91de4e4 2025-02-17)
info: downloading component 'cargo'
⠏info: downloading component 'rust-std'
⠹info: downloading component 'rustc'
⠋info: installing component 'cargo'
⠦info: installing component 'rust-std'
26.7 MiB / 26.7 MiB (100 %) 16.3 MiB/s in 1s
⠸info: installing component 'rustc'
69.5 MiB / 69.5 MiB (100 %) 17.7 MiB/s in 3s
⠼info: default toolchain set to 'stable-x86_64-unknown-linux-gnu'

stable-x86_64-unknown-linux-gnu installed - rustc 1.85.0 (4d91de4e4 2025-02-17)

Rust is installed now. Great!

To get started you may need to restart your current shell.
This would reload your PATH environment variable to include
Cargo's bin directory ($HOME/.cargo/bin).

To configure your current shell, you need to source
the corresponding env file under $HOME/.cargo.

This is usually done by running one of the following (note the leading DOT):
. "$HOME/.cargo/env" # For sh/bash/zsh/ash/dash/pdksh
source "$HOME/.cargo/env.fish" # For fish
source "$HOME/.cargo/env.nu" # For nushell
✔️ Installed Rust
⠋Cloning into 'vaultwarden'...(Patience)
⠴remote: Enumerating objects: 19375, done.
remote: Counting objects: 100% (3253/3253), done.
remote: Compressing objects: 100% (246/246), done.
⠋remote: Total 19375 (delta 3160), reused 3007 (delta 3007), pack-reused 16122 (from 5)
Receiving objects: 100% (19375/19375), 10.04 MiB | 30.96 MiB/s, done.
Resolving deltas: 100% (13280/13280), done.
⠹error: toolchain '1.85.0-x86_64-unknown-linux-gnu' is not installed
help: run rustup toolchain install 1.85.0-x86_64-unknown-linux-gnu to install it

[ERROR] in line 50: exit code 0: while executing command $STD cargo build --features "sqlite,mysql,postgresql" --release
The silent function has suppressed the error, run the script with verbose mode enabled, which will provide more detailed output.

🖼️ Additional context (optional).

No response

Originally created by @MrBertoza on GitHub (Mar 4, 2025). Originally assigned to: @MickLesk on GitHub. ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Vaultwarden LXC ### 📂 What was the exact command used to execute the script? bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/vaultwarden.sh)" ### 📝 Provide a clear and concise description of the issue. When running the script it gives this error, it's pretty self explanatory, but the vaultwarden doesnt get installed so: ``` error: toolchain '1.85.0-x86_64-unknown-linux-gnu' is not installed help: run `rustup toolchain install 1.85.0-x86_64-unknown-linux-gnu` to install it ⠼ [ERROR] in line 50: exit code 0: while executing command $STD cargo build --features "sqlite,mysql,postgresql" --release ``` Already updated host. ### ⚙️ What settings are you using? - [x] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 🔄 Steps to reproduce the issue. 1- Open node shell 2- Paste command 3- Default installation (verbose) 4- Get Error ### ❌ Paste the full error output (if available). ✔️ Installed Dependencies ⠙info: downloading installer ⠴info: profile set to 'minimal' info: default host triple is x86_64-unknown-linux-gnu info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu' ⠧info: latest update on 2025-02-20, rust version 1.85.0 (4d91de4e4 2025-02-17) info: downloading component 'cargo' ⠏info: downloading component 'rust-std' ⠹info: downloading component 'rustc' ⠋info: installing component 'cargo' ⠦info: installing component 'rust-std' 26.7 MiB / 26.7 MiB (100 %) 16.3 MiB/s in 1s ⠸info: installing component 'rustc' 69.5 MiB / 69.5 MiB (100 %) 17.7 MiB/s in 3s ⠼info: default toolchain set to 'stable-x86_64-unknown-linux-gnu' stable-x86_64-unknown-linux-gnu installed - rustc 1.85.0 (4d91de4e4 2025-02-17) Rust is installed now. Great! To get started you may need to restart your current shell. This would reload your PATH environment variable to include Cargo's bin directory ($HOME/.cargo/bin). To configure your current shell, you need to source the corresponding env file under $HOME/.cargo. This is usually done by running one of the following (note the leading DOT): . "$HOME/.cargo/env" # For sh/bash/zsh/ash/dash/pdksh source "$HOME/.cargo/env.fish" # For fish source "$HOME/.cargo/env.nu" # For nushell ✔️ Installed Rust ⠋Cloning into 'vaultwarden'...(Patience) ⠴remote: Enumerating objects: 19375, done. remote: Counting objects: 100% (3253/3253), done. remote: Compressing objects: 100% (246/246), done. ⠋remote: Total 19375 (delta 3160), reused 3007 (delta 3007), pack-reused 16122 (from 5) Receiving objects: 100% (19375/19375), 10.04 MiB | 30.96 MiB/s, done. Resolving deltas: 100% (13280/13280), done. ⠹error: toolchain '1.85.0-x86_64-unknown-linux-gnu' is not installed help: run `rustup toolchain install 1.85.0-x86_64-unknown-linux-gnu` to install it ⠼ [ERROR] in line 50: exit code 0: while executing command $STD cargo build --features "sqlite,mysql,postgresql" --release The silent function has suppressed the error, run the script with verbose mode enabled, which will provide more detailed output. ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-04 20:06:21 +03:00
Author
Owner

@N0NameN0 commented on GitHub (Mar 4, 2025):

+1 exact same issue !

@N0NameN0 commented on GitHub (Mar 4, 2025): +1 exact same issue !
Author
Owner

@MickLesk commented on GitHub (Mar 5, 2025):

fix coming asap. i test it now

@MickLesk commented on GitHub (Mar 5, 2025): fix coming asap. i test it now
Author
Owner

@MickLesk commented on GitHub (Mar 5, 2025):

i get it, but they need https:// now. local doesnt work anymore. We need to add an "blind" certificate to call it as https...

@MickLesk commented on GitHub (Mar 5, 2025): i get it, but they need https:// now. local doesnt work anymore. We need to add an "blind" certificate to call it as https...
Author
Owner

@N0NameN0 commented on GitHub (Mar 6, 2025):

i get it, but they need https:// now. local doesnt work anymore. We need to add an "blind" certificate to call it as https...

and what about ppl like me with their own ssled reverse proxy ?

@N0NameN0 commented on GitHub (Mar 6, 2025): > i get it, but they need https:// now. local doesnt work anymore. We need to add an "blind" certificate to call it as https... and what about ppl like me with their own ssled reverse proxy ?
Author
Owner

@MickLesk commented on GitHub (Mar 6, 2025):

Get an read -p command, Like this:
"For xxx is https:// needed, would you like to autom. create an certificate? (Y/N)"

@MickLesk commented on GitHub (Mar 6, 2025): Get an read -p command, Like this: "For xxx is https:// needed, would you like to autom. create an certificate? (Y/N)"
Author
Owner

@nkleinbaer commented on GitHub (Mar 7, 2025):

I was having this exact same issue on Monday, but as far as I can tell the release of of rustup 1.28.1 yesterday solved the problem. I'm not really following what's going on but this comment mentions that "auto install" had been re-enabled as a bandaid fix. The way I'm reading it is that the rustup changed a default setting that automatically installed toolchains, and while they have re-enabled it in 1.28.1 that may only be temporary?

In any case just wanted to report that it is working for me now!

@nkleinbaer commented on GitHub (Mar 7, 2025): I was having this exact same issue on Monday, but as far as I can tell the release of of rustup 1.28.1 yesterday solved the problem. I'm not really following what's going on but [this comment](https://github.com/rust-lang/rustup/issues/4219#issuecomment-2698059340) mentions that "auto install" had been re-enabled as a bandaid fix. The way I'm reading it is that the rustup changed a default setting that automatically installed toolchains, and while they have re-enabled it in 1.28.1 that may only be temporary? In any case just wanted to report that it is working for me now!
Author
Owner

@KickAss0815 commented on GitHub (Mar 18, 2025):

I have now executed the new Vaultwarden script (Debian 12) and configured my reverse proxy. Imported the database and now everything works as expected again.

Many thanks to the community for solving the problem so quickly.

@KickAss0815 commented on GitHub (Mar 18, 2025): I have now executed the new Vaultwarden script (Debian 12) and configured my reverse proxy. Imported the database and now everything works as expected again. Many thanks to the community for solving the problem so quickly.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#580