mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-10 17:23:04 +03:00
Problems on a Raspberry Pi 3 Model B+ #2332
Reference in New Issue
Block a user
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 @xMate420x on GitHub.
After installing the program as its specified in the readme to 2 Raspberry Pi 3 Model B+ devices, the only thing that shows up after going to the site is the Apache2 Debian Default Page , both devices have stock Raspbian, the only thing that was installed by me on them is Docker

@mprasil commented on GitHub:
Hi, did you compile it yourself? As for the default Apache page, this looks like Apache misconfiguration. There's nothing in Bitwarden that would generate such page.
@mprasil commented on GitHub:
Ah right. Yeah unfortunately that won't work on raspberry as the image is x86-64 only. I have some WIP effort to make raspberry image, but so far fail to compile it on Docker hub properly.
@xMate420x commented on GitHub:
I used the docker image with the commands that were the first thing in the readme
@mprasil commented on GitHub:
@dobunzli, thanks for update. Makes sense that would work as it's basically building the binary on raspberry. Still cool to hear that people are really running this on such relatively low power HW.
@dobunzli commented on GitHub:
Hello,
Just in case, I have it installed on a raspberry pi 3b+ running Arch Linux, but without docker.
I used these packages https://aur.archlinux.org/packages/bitwarden_rs/ and https://aur.archlinux.org/packages/bitwarden_rs-vault/ and was able to make it work locally for now.
I am still configuring the serveur so I can access from the outside world... and progress are made !
Hope this helps.
@xMate420x commented on GitHub:
Any versions for Raspbian? That is what i need for most projects so i cannot switch to Arch Linux
@mprasil commented on GitHub:
Guys, if you have raspberry, can you give it a try with
mprasil/bitwarden:beta-raspberryimage? I have no hardware to test it on and it's using cross-compiling for everything, so a test on real raspberry would be appreciated.@mqus commented on GitHub:
And if you need, I also threw a .service file for systemd together here but you may have to change the paths to match your binary, .env file and working directory (the directory where
web-vault/is in). The modifiedbitwarden_rs.servicefile then goes into/etc/systemd/systemand can be enabled/started like all the other systemd services.@mqus commented on GitHub:
You could build it from scratch yourself by following the instructions. Just one thing: for building the web-vault you may need to enable swapping because the build process takes huge amounts of RAM.
@mprasil commented on GitHub:
Yeah for now you have to build it yourself. You can actually download the docker image you were trying to use and copy the web-vault folder out of there instead of building the Vault part yourself.
@dobunzli commented on GitHub:
Hello,
I can confirm that this image launches correctly on a raspberry 3 b+ with raspbian desktop june 2018 after installing docker and docker-compose.
I only tested from the local network for now, but everything looks good !
Thanks for the work !
@xMate420x commented on GitHub:
Just a question, how do i install it? I tried the docker install didn't work, i tried compiling it but i cannot get the OpenSSL 1.0.2 version anywhere
@mprasil commented on GitHub:
Just use the normal docker run commands as you see in the readme, but instead of
mprasil/bitwarden:latestimage, usemprasil/bitwarden:beta-raspberry. That should be the only difference.@dobunzli commented on GitHub:
Hello,
Hope this helps:
Docker installation
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
Docker-compose installation
curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-
uname -s-uname -m-o /usr/local/bin/docker-composesudo chmod +x /usr/local/bin/docker-compose
Bitwarden_rs raspberry installation
sudo docker pull mprasil/bitwarden:beta-raspberry
Launch
sudo docker run -d --name bitwarden -v /bw-data/:/data/ -p 80:80 mprasil/bitwarden:beta-raspberry
Try
Launch a browser and use http://localhost:80
@mprasil commented on GitHub:
Thanks for testing! @xMateMCPE give it a go, it should hopefully work on your raspbian. It's current master version just compiled for ARMv7, so it should be just the same as
mprasil/bitwarden:latestfunctionally.@xMate420x commented on GitHub:
It works! Thanks. :)
Edit after 1 days: Still no problem, works nicely
@mprasil commented on GitHub:
Perfect! I'll resolve this, we now have the raspberry Dockerfile merged, so hopefully the non-beta raspberry image should appear soon. (just in the build pipe, but will take couple hours to build)
@mprasil commented on GitHub:
Update: the image is ready, please use
mprasil/bitwarden:raspberryimage on raspberry pi.