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

Can't start VW Service: Exec format error? (RPI 3B+, YNH v11.9.9.12, VW v1.25.2~ynh4) #210

Closed ineanto closed 1 year ago

ineanto commented 1 year ago

Describe the bug

While installing VaultWarden, the install script hangs at "Starting a systemd service", only to spit out the following warning after failing to start the vaultwarden service:

Warning: The service vaultwarden didn't fully executed the action start before the timeout.
Warning: Please find here an extract of the end of the log of the service vaultwarden:
Warning: Sep 01 13:55:38 systemd[1]: Started vaultwarden Server (Rust Edition).
Warning: Sep 01 13:55:38 systemd[6941]: vaultwarden.service: Failed to execute /var/www/vaultwarden/live/vaultwarden: Exec format error
Warning: Sep 01 13:55:38 systemd[6941]: vaultwarden.service: Failed at step EXEC spawning /var/www/vaultwarden/live/vaultwarden: Exec format error
Warning: Sep 01 13:55:38 systemd[1]: vaultwarden.service: Main process exited, code=exited, status=203/EXEC
Warning: Sep 01 13:55:38 systemd[1]: vaultwarden.service: Failed with result 'exit-code'.

Context

Steps to reproduce

yunohost app install -a path=/vw -l VaultWarden vaultwarden

Also does it with:

yunohost app install -a path=/vw -l VaultWarden https://github.com/YunoHost-Apps/vaultwarden_ynh

Expected behavior

Should have no trouble starting VaultWarden.

Logs

https://paste.yunohost.org/raw/isihipakij

Thank you!

ineanto commented 1 year ago

Fixed by #213 / #212 , will be merged soon into the main branch