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

Error within install script #135

Closed jwtrain closed 3 years ago

jwtrain commented 3 years ago

Hello, install just failed.

2021-04-30 07:25:15,080: DEBUG - info: downloading component 'clippy' 2021-04-30 07:25:16,784: DEBUG - info: downloading component 'rust-std' 2021-04-30 07:25:20,393: DEBUG - info: downloading component 'rustc' 2021-04-30 07:25:28,836: DEBUG - info: downloading component 'rustfmt' 2021-04-30 07:25:30,840: DEBUG - info: installing component 'cargo' 2021-04-30 07:25:30,841: DEBUG - info: using up to 500.0 MiB of RAM to unpack components 2021-04-30 07:25:32,144: DEBUG - info: installing component 'clippy' 2021-04-30 07:25:32,746: DEBUG - info: installing component 'rust-std' 2021-04-30 07:25:37,364: DEBUG - info: installing component 'rustc' 2021-04-30 07:25:38,470: DEBUG - memory allocation of 16777216 bytes failed 2021-04-30 07:25:38,593: DEBUG - /usr/share/yunohost/helpers.d/logging: line 145: 4192 Aborted sudo -u bitwarden env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/var/www/bitwarden/.cargo/bin:/var/www/bitwarden/.local/bin:/usr/local/sbin cargo build --features sqlite --release 2021-04-30 07:25:38,594: DEBUG - + ynh_exit_properly 2021-04-30 07:25:38,594: DEBUG - + local exit_code=134 2021-04-30 07:25:38,595: DEBUG - + '[' 134 -eq 0 ']' 2021-04-30 07:25:38,595: DEBUG - + trap '' EXIT 2021-04-30 07:25:38,595: DEBUG - + set +o errexit 2021-04-30 07:25:38,596: DEBUG - + set +o nounset 2021-04-30 07:25:38,596: DEBUG - + sleep 0.5 2021-04-30 07:25:39,098: DEBUG - + type -t ynh_clean_setup 2021-04-30 07:25:39,099: DEBUG - + ynh_clean_setup 2021-04-30 07:25:39,099: DEBUG - + ynh_clean_check_starting 2021-04-30 07:25:39,099: DEBUG - + '[' -n '' ']' 2021-04-30 07:25:39,100: DEBUG - + '[' -n '' ']' 2021-04-30 07:25:39,100: DEBUG - + exit 1 2021-04-30 07:25:39,121: ERROR - Unable to install bitwarden: An error occurred inside the app installation script

yalh76 commented 3 years ago

It's not an error within the install script... You don't have enough memory to compile bitwarden...2021-04-30 07:25:38,470: DEBUG - memory allocation of 16777216 bytes failed

jwtrain commented 3 years ago

I've had bitwarden installed on this exact setup previously. Not sure what the issue would be now.

yalh76 commented 3 years ago

Maybe you should check how many memory you have, doing free or stopping some service during the upgrade, or adding more swap ...