YunoHost-Apps / vaultwarden_ynh

Open source password management solutions for YunoHost
https://bitwarden.com/
GNU General Public License v3.0
54 stars 17 forks source link

Upgrade failed #129

Closed DiverterNoKYC closed 1 year ago

DiverterNoKYC commented 3 years ago

Describe the bug

Failed upgrade of Bitwarden_RS

Context

Steps to reproduce

Logs

Likely relevant bit

2021-04-11 19:24:24,830: DEBUG - error: could not compile `chrono-tz`
2021-04-11 19:24:24,832: DEBUG - 
2021-04-11 19:24:24,833: DEBUG - Caused by:
2021-04-11 19:24:24,833: DEBUG -   process didn't exit successfully: `rustc --crate-name chrono_tz /var/www/bitwarden/.cargo/registry/src/github.com-1ecc6299db9ec823/chrono-tz-0.5.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=7c0743ce7c16b2c1 -C extra-filename=-7c0743ce7c16b2c1 --out-dir /var/www/bitwarden/build/target/release/deps -L dependency=/var/www/bitwarden/build/target/release/deps --extern chrono=/var/www/bitwarden/build/target/release/deps/libchrono-3eda291c8526f26e.rmeta --cap-lints allow` (signal: 9, SIGKILL: kill)
2021-04-11 19:24:24,833: DEBUG - warning: build failed, waiting for other jobs to finish...
2021-04-11 19:24:30,147: DEBUG - error: build failed

Complete log: https://paste.yunohost.org/raw/ulesogiqob

yalh76 commented 3 years ago

Seem there was a bug during the build of bitwarden, you should retry to upgrade

croulibri commented 3 years ago

I also faced this morning the compilation error, see at https://paste.yunohost.org/ofayurutus.sql (line 88 and then 185)

I tried 2 times with the same result: build failed

:-(

DiverterNoKYC commented 3 years ago

Seem there was a bug during the build of bitwarden, you should retry to upgrade

I did, tried a couple times to no avail unfortunately

yalh76 commented 3 years ago

Can you check how many disk space you have and how much free memory you have ?

croulibri commented 3 years ago

@yalh76 On my small server: RAM: Total: 1,9 GB - Current use: 1,2 GB SWAP: Total: 511 MB - Current use: 472,1 MB Disk Space on / : 7.95 GB Disk Space on /home : 301.09 GB