mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[GH-ISSUE #4120] Thread panick with new version of vaultwarden on older distribution. #1789
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#1789
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Callixte-de-Vulpillieres on GitHub (Dec 1, 2023).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/4120
Subject of the issue
The new version of vaultwarden does a thread panick when launched on my Synology NAS from 2016.
Deployment environment
Install method: Pre-built binary extracted from the docker images
System : Linux 3.10.108 , armv7l GNU/Linux synology_armada38x_ds216j
Steps to reproduce
I used my usual setup with few custom variables, set inside the .env file.
Starting the app with systemctl or just from the shell lead to an immediate crash
Actual behaviour
It crashes immediatly when trying to start it
Troubleshooting data
Adding 'trace' logs and setting
RUST_BACKTRACE=1didn't give any info.I know my setup is unusual, with an old version of the kernel. But if you have any idea for a workaround, it would be great.
Thanks for this great project !
@BlackDex commented on GitHub (Dec 1, 2023):
Your Linux Host is to old. Check if there are updates available for your NAS which might help.
Else i suggest to try to use the
-alpinetagged versions likelatest-alpineor1.30.1-alpine, those will probably work, but not sure.@Callixte-de-Vulpillieres commented on GitHub (Dec 1, 2023):
Thanks for your quick answer. No, my NAS is up-to-date, but for some reason Synology has decided to keep using this old version of the kernel.
I'm already using the alpine version.
@BlackDex commented on GitHub (Dec 1, 2023):
Then your Docker platform is probably out-of-date also i think. It needs at least v20.10 if I'm correct.
Check if you can do the following on your NAS:
https://github.com/dani-garcia/vaultwarden/issues/2497#issuecomment-1136988758
Edit: Also see:
github.com/rust-lang/rust@cc66ad4689/library/std/src/sys/unix/fs.rs (L185-L194)@Callixte-de-Vulpillieres commented on GitHub (Dec 1, 2023):
My NAS doesn't support docker, so I'm using pre-built binaries extracted from the docker image, following this page of the wiki. Thus, I can't use the
--security-opt seccomp=unconfined.For the other link, I'm not sure what to do with this info.
@BlackDex commented on GitHub (Dec 4, 2023):
You could try to use the armv6 version maybe?
It could be that some features are not supported by the CPU of your NAS which are now used in some way.
Using the armv6 binary should just work fine on an armv7 CPU.
@Callixte-de-Vulpillieres commented on GitHub (Dec 4, 2023):
Thanks a lot for the help, it works perfectly with armv6 !
@BlackDex commented on GitHub (Dec 4, 2023):
Nice, glad that worked :).