Closed croulibri closed 1 year ago
I am facing the same error when upgrading it on my server.
I have just encountered the same issue. Full log: https://paste.yunohost.org/raw/ibezalagah Full log would have been helpful... indeed there's an interesting set of warnings a bit earlier in mine:
2022-04-29 07:31:40,102: WARNING - warning: it looks like you have an existing installation of Rust at:
2022-04-29 07:31:40,103: WARNING - warning: /usr/bin
2022-04-29 07:31:40,104: WARNING - warning: rustup should not be installed alongside Rust. Please uninstall your existing Rust first.
2022-04-29 07:31:40,105: WARNING - warning: Otherwise you may have confusion unless you are careful with your PATH
2022-04-29 07:31:40,105: WARNING - warning: If you are sure that you want both rustup and your already installed Rust
2022-04-29 07:31:40,106: WARNING - warning: then please reply `y' or `yes' or set RUSTUP_INIT_SKIP_PATH_CHECK to yes
2022-04-29 07:31:40,107: WARNING - warning: or pass `-y' to ignore all ignorable checks.
2022-04-29 07:31:40,107: WARNING - error: cannot install while Rust is installed
2022-04-29 07:31:40,108: WARNING - warning: continuing (because the -y flag is set and the error is ignorable)
After uninstalling Rust at the system level (apt remove rustc
), the app installs with no issue.
My guess is that the commands call the system binary and not the Rust version installed in the app's directory.
Thanks @tituspijean for your advices, that's true a apt remove rustc
solved my problem.
But as I read warning: continuing (because the -y flag is set and the error is ignorable)
I thought this was not the cause of the failure.
I was mistaken...
And Vaultwarden is now uptaded :slightly_smiling_face:
Let me reopen this. We need to make sure the app calls the right binary. :)
the error is
DEBUG - error: failed to parse manifest at /var/www/vaultwarden/build/Cargo.toml
2022-04-29 07:32:00,670: DEBUG -
2022-04-29 07:32:00,671: DEBUG - Caused by:
2022-04-29 07:32:00,671: DEBUG - failed to parse the edition
key
2022-04-29 07:32:00,672: DEBUG -
2022-04-29 07:32:00,672: DEBUG - Caused by:
2022-04-29 07:32:00,672: DEBUG - this version of Cargo is older than the 2021
edition, and only supports 2015
and 2018
editions.
i have a rust version problem in #200 too
it is a version problem of rust or cargo maybe remove rustc at each time before the update or install script, should be the solution.
how to remove rustc ?
i'm trying apt remove rustc then upgrade VW ... it takes a while ...
done and it works. but maybe you #201 PR should correct the problem without removing the installed rustc
Hello,
YunoHost 4.3.6.2 (stable) on Kimsufi KS1
I am trying again (and again) to install Vaultwarden, the type of error has changed in a few month, from rust installation failure to segmentation fault... and now "failed to parse the edition key" I am sure one day I will be able to install Vaultwarden :-)
See the bellow log:
Has anyone ever faced this issue ?