Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation failed : Segmentation fault #156

Closed
croulibri opened this issue Nov 12, 2021 · 2 comments · Fixed by #209
Closed

Installation failed : Segmentation fault #156

croulibri opened this issue Nov 12, 2021 · 2 comments · Fixed by #209

Comments

@croulibri
Copy link

croulibri commented Nov 12, 2021

I am with YunoHost 4.3.2.2 (stable), with Bitwarden 1.19 installed.
Ia m trying for month to migrate to Vaultwarden unsuccessfully.

Following the encouraging news at #146 (comment) , I've tried the migration tools that failed unfortunately, leaving Bitwarden not completely removed and Vaultwarden half installed.
I uninstalled properly (yunohost app remove) the half installed Vaultwarden and the remaining Bitwarden and tried to install again Vaultwarden alone.
It failed again.

Both failure happened with exactly the same error:

2021-11-12 21:29:12,225: WARNING - info: downloading component 'rustfmt'
2021-11-12 21:29:12,684: WARNING - info: installing component 'cargo'
2021-11-12 21:29:14,529: WARNING - info: installing component 'clippy'
2021-11-12 21:29:15,404: WARNING - info: installing component 'rust-docs'
2021-11-12 21:29:28,597: WARNING - info: installing component 'rust-std'
2021-11-12 21:29:36,331: WARNING - info: installing component 'rustc'
2021-11-12 21:29:51,271: WARNING - info: installing component 'rustfmt'
2021-11-12 21:29:52,753: WARNING - info: default toolchain set to 'nightly-x86_64-unknown-linux-gnu'
2021-11-12 21:29:52,754: DEBUG - 
2021-11-12 21:29:52,818: DEBUG -   nightly-x86_64-unknown-linux-gnu installed - rustc 1.58.0-nightly (936238a92 2021-11-11)
2021-11-12 21:29:52,820: DEBUG - 
2021-11-12 21:29:52,823: DEBUG - 
2021-11-12 21:29:52,825: DEBUG - Rust is installed now. Great!
2021-11-12 21:29:52,826: DEBUG - 
2021-11-12 21:29:52,827: DEBUG - To get started you may need to restart your current shell.
2021-11-12 21:29:52,829: DEBUG - This would reload your PATH environment variable to include
2021-11-12 21:29:52,830: DEBUG - Cargo's bin directory ($HOME/.cargo/bin).
2021-11-12 21:29:52,831: DEBUG - 
2021-11-12 21:29:52,833: DEBUG - To configure your current shell, run:
2021-11-12 21:29:52,834: DEBUG - source $HOME/.cargo/env
2021-11-12 21:29:52,869: DEBUG - + popd
2021-11-12 21:29:52,871: DEBUG - /var/cache/yunohost/app_tmp_work_dirs/app_mlljkdky/scripts
2021-11-12 21:29:52,872: DEBUG - + export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/var/www/vaultwarden/.cargo/bin:/var/www/vaultwarden/.local/bin:/usr/local/sbin
2021-11-12 21:29:52,874: DEBUG - + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/var/www/vaultwarden/.cargo/bin:/var/www/vaultwarden/.local/bin:/usr/local/sbin
2021-11-12 21:29:52,874: DEBUG - + pushd /var/www/vaultwarden/build
2021-11-12 21:29:52,875: DEBUG - /var/www/vaultwarden/build /var/cache/yunohost/app_tmp_work_dirs/app_mlljkdky/scripts
2021-11-12 21:29:52,876: DEBUG - + ynh_exec_warn_less sudo -u vaultwarden env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/var/www/vaultwarden/.cargo/bin:/var/www/vaultwarden/.local/bin:/usr/local/sbin cargo build --features sqlite --release
2021-11-12 21:29:52,877: DEBUG - + [[ 10 -eq 1 ]]
2021-11-12 21:29:52,878: DEBUG - + sudo -u vaultwarden env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/var/www/vaultwarden/.cargo/bin:/var/www/vaultwarden/.local/bin:/usr/local/sbin cargo build --features sqlite --release
2021-11-12 21:29:53,605: DEBUG -     Updating git repository `https://github.com/servo/rust-url`
2021-11-12 21:29:53,907: WARNING - /usr/share/yunohost/helpers.d/logging: line 134:  7258 Segmentation fault      "$@" 2>&1
2021-11-12 21:29:53,909: DEBUG - + ynh_exit_properly
2021-11-12 21:29:53,910: DEBUG - + local exit_code=139
2021-11-12 21:29:53,918: DEBUG - + '[' 139 -eq 0 ']'
2021-11-12 21:29:54,434: DEBUG - + ynh_clean_setup
2021-11-12 21:29:54,436: DEBUG - + ynh_clean_check_starting
2021-11-12 21:29:54,438: DEBUG - + '[' -n '' ']'
2021-11-12 21:29:54,440: DEBUG - + '[' -n '' ']'
2021-11-12 21:29:55,446: ERROR - Unable to install vaultwarden: An error occurred inside the app installation script

Do you know how I can solve this issue?

@croulibri croulibri changed the title Installation failed : Segmentation faulthttps://paste.yunohost.org/raw/jumohirole Installation failed : Segmentation fault Nov 13, 2021
@ColinMaudry
Copy link

I was upgrading from Bitwarden 1.20 and got a very similar error: https://paste.yunohost.org/raw/suvidatada

@yalh76
Copy link
Member

yalh76 commented Jan 19, 2022

Maybe something specific of rust the day you tryed to install. can you retry and let me know

This was referenced Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants