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 to vaultwarden failed, old app not accessible #152

Closed narduin closed 2 years ago

narduin commented 2 years ago

Describe the bug

Tried to upgrade bitwarden 1.19.0 to vaultwarden 1.22.2 Upgrade failed with apparent "memory error" (see full log)

Now, bitwarden is listed as an installed app but does not have a folder inside /var/www nor inside /home/yunohost.app It's not accessible through its url. There are no bitwarden services.

Context

Steps to reproduce

sudo yunohost app upgrade bitwarden -u https://github.com/YunoHost-Apps/vaultwarden_ynh --debug

Logs

DEBUG - The following warnings were emitted during compilation:
DEBUG - warning: virtual memory exhausted: Cannot allocate memory
DEBUG - error: failed to run custom build command for `libsqlite3-sys v0.22.2`
DEBUG - Caused by:
DEBUG -   process didn't exit successfully: `/var/www/vaultwarden/build/target/release/build/libsqlite3-sys-e43724983a31f01b/build-script-build` (exit status: 1)
narduin commented 2 years ago

I have to say a huge thank you though because I was able to restore the pre-upgrade backup like nothing ever happened 🙏

yalh76 commented 2 years ago

Maybe it's because your VPS didn't have enough memory to compile vaultwarden with rust

narduin commented 2 years ago

I had already upgraded multiple times so it's unlikely but who knows know ^^