Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. App Wishlist
  3. Bitwarden - Self-hosted password manager

Bitwarden - Self-hosted password manager

Scheduled Pinned Locked Moved Solved App Wishlist
218 Posts 20 Posters 120.9k Views 29 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • iamthefijI Offline
      iamthefijI Offline
      iamthefij
      App Dev
      wrote on last edited by
      #161

      Awesome! Thanks @fbartels!

      I've merged your changes in, switched back to the single stage build for speed (possible now that MySQL support is offered in a Docker image), and updated the Readme and Changelog.

      I believe this "works for me" but someone else should validate as well.

      1 Reply Last reply
      2
      • necrevistonnezrN Offline
        necrevistonnezrN Offline
        necrevistonnezr
        wrote on last edited by
        #162

        I'm trying to build and install the new version. After

        cloudron update --app=bit.mydomain.com
        

        I received the error

        Docker Error: Unable to pull image. Please check the network or if the image needs authentication. statusCode: 404
        

        Trying to restore the app that is now in an error state, I receive the same error. Docker is running, repository is set to public, I'm both logged in in cloudron and docker on the command line.

        Any idea?

        iamthefijI 1 Reply Last reply
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #163

          @necrevistonnezr Is this after you did a cloudron build ? If you open up ~/.cloudron.json, it will have an apps section and inside that various paths. Can you check what the dockerImage in that is?

          necrevistonnezrN 2 Replies Last reply
          0
          • girishG girish

            @necrevistonnezr Is this after you did a cloudron build ? If you open up ~/.cloudron.json, it will have an apps section and inside that various paths. Can you check what the dockerImage in that is?

            necrevistonnezrN Offline
            necrevistonnezrN Offline
            necrevistonnezr
            wrote on last edited by
            #164

            @girish said in Bitwarden - Self-hosted password manager:

            @necrevistonnezr Is this after you did a cloudron build ? If you open up ~/.cloudron.json, it will have an apps section and inside that various paths. Can you check what the dockerImage in that is?

            Sorry, can't check that right now as I'm at work - but shouldn't I be able to at least restore the app?

            1 Reply Last reply
            0
            • necrevistonnezrN necrevistonnezr

              I'm trying to build and install the new version. After

              cloudron update --app=bit.mydomain.com
              

              I received the error

              Docker Error: Unable to pull image. Please check the network or if the image needs authentication. statusCode: 404
              

              Trying to restore the app that is now in an error state, I receive the same error. Docker is running, repository is set to public, I'm both logged in in cloudron and docker on the command line.

              Any idea?

              iamthefijI Offline
              iamthefijI Offline
              iamthefij
              App Dev
              wrote on last edited by
              #165

              @necrevistonnezr you can specify the image you want Cloudron to pull on the command line to your update command as well via --image=something/something:latest. This is what I do in the Makefile I added to allow me to use a more standard Docker workflow with pushing to Docker Hub and pulling from there.

              1 Reply Last reply
              0
              • girishG girish

                @necrevistonnezr Is this after you did a cloudron build ? If you open up ~/.cloudron.json, it will have an apps section and inside that various paths. Can you check what the dockerImage in that is?

                necrevistonnezrN Offline
                necrevistonnezrN Offline
                necrevistonnezr
                wrote on last edited by
                #166

                @girish said in Bitwarden - Self-hosted password manager:

                @necrevistonnezr Is this after you did a cloudron build ? If you open up ~/.cloudron.json, it will have an apps section and inside that various paths. Can you check what the dockerImage in that is?

                It says (anonymized):

                 "apps": {
                        "/Users/Username/Cloudron/bitwardenrs-app": {
                            "repository": "myrepo/bitwarden",
                            "dockerImage": "myrepo/bitwarden:20200122-061725-4544ff2bf",
                            "dockerImageSha256": "00000fdbc13fa2f2d8edc85fc73b0d68c803b180a2287c19e03c3b25f453d6a97"
                        }
                    },
                
                

                Those are the correct coordinates....

                1 Reply Last reply
                0
                • girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #167

                  @necrevistonnezr I have sent you an email to follow this up.

                  1 Reply Last reply
                  0
                  • W Offline
                    W Offline
                    will
                    wrote on last edited by
                    #168

                    Is there any way I can help push this along?

                    1 Reply Last reply
                    2
                    • jimcavoliJ Offline
                      jimcavoliJ Offline
                      jimcavoli
                      App Dev
                      wrote on last edited by
                      #169

                      Likewise - this seems tantalizingly close to ready - and it's high up my list of things I'd like to get to deploying. What's the remaining to-do list or best way(s) to contribute at this point?

                      1 Reply Last reply
                      6
                      • necrevistonnezrN Offline
                        necrevistonnezrN Offline
                        necrevistonnezr
                        wrote on last edited by
                        #170

                        bitwarden_rs 1.1.4 is out
                        https://github.com/dani-garcia/bitwarden_rs

                        • Added support for running on subpath, simply add the subpath to the DOMAIN variable: DOMAIN=https://example.com/custom-path
                        • Attachment size limits, per-user and per-organization, set USER_ATTACHMENT_LIMIT or ORG_ATTACHMENT_LIMIT to a value in kilobytes to apply it.
                        • Updated U2F library which might solve some U2F certificate errors.
                        • Added SMTP test button in the admin page.
                        • Use web vault built by docker autobuild, using the hash to reference the image for extra security
                        • Now accepting y/n, True/False, 1/0 as config options that are booleans.
                        • Fixed error Unique constraint violation when using Two Factor and Postgres.
                        • Fixed error with can_signup_user that didn't allow to change the email address.
                        • Don't error if admin token is empty but disabled
                        • Now email domains are converted to punycode before sending
                        • Enable icons to be cached in the clients
                        • Added option to change invitation org name
                        • Enabled the sending of invitations from the admin panel, even when disabled
                        • Dependency updates
                        W 1 Reply Last reply
                        4
                        • necrevistonnezrN necrevistonnezr

                          bitwarden_rs 1.1.4 is out
                          https://github.com/dani-garcia/bitwarden_rs

                          • Added support for running on subpath, simply add the subpath to the DOMAIN variable: DOMAIN=https://example.com/custom-path
                          • Attachment size limits, per-user and per-organization, set USER_ATTACHMENT_LIMIT or ORG_ATTACHMENT_LIMIT to a value in kilobytes to apply it.
                          • Updated U2F library which might solve some U2F certificate errors.
                          • Added SMTP test button in the admin page.
                          • Use web vault built by docker autobuild, using the hash to reference the image for extra security
                          • Now accepting y/n, True/False, 1/0 as config options that are booleans.
                          • Fixed error Unique constraint violation when using Two Factor and Postgres.
                          • Fixed error with can_signup_user that didn't allow to change the email address.
                          • Don't error if admin token is empty but disabled
                          • Now email domains are converted to punycode before sending
                          • Enable icons to be cached in the clients
                          • Added option to change invitation org name
                          • Enabled the sending of invitations from the admin panel, even when disabled
                          • Dependency updates
                          W Offline
                          W Offline
                          will
                          wrote on last edited by
                          #171

                          @necrevistonnezr Bumping this app request, bitwarden is one of the last important holdouts in my cloud replacement efforts.

                          necrevistonnezrN 1 Reply Last reply
                          2
                          • W will

                            @necrevistonnezr Bumping this app request, bitwarden is one of the last important holdouts in my cloud replacement efforts.

                            necrevistonnezrN Offline
                            necrevistonnezrN Offline
                            necrevistonnezr
                            wrote on last edited by
                            #172

                            @will fbartels version is fully functional (https://git.cloudron.io/fbartels/bitwardenrs-app), I've been using it for months now. And if you modify the bitwarden_rs build number in https://git.cloudron.io/fbartels/bitwardenrs-app/-/blob/master/Dockerfile before building, you get the newest version. I updated just yesterday.

                            Change

                            FROM "bitwardenrs/server:1.13.1-alpine" as bitwarden
                            

                            to

                            FROM "bitwardenrs/server:1.14-alpine" as bitwarden
                            
                            jdaviescoatesJ W 2 Replies Last reply
                            2
                            • necrevistonnezrN necrevistonnezr

                              @will fbartels version is fully functional (https://git.cloudron.io/fbartels/bitwardenrs-app), I've been using it for months now. And if you modify the bitwarden_rs build number in https://git.cloudron.io/fbartels/bitwardenrs-app/-/blob/master/Dockerfile before building, you get the newest version. I updated just yesterday.

                              Change

                              FROM "bitwardenrs/server:1.13.1-alpine" as bitwarden
                              

                              to

                              FROM "bitwardenrs/server:1.14-alpine" as bitwarden
                              
                              jdaviescoatesJ Offline
                              jdaviescoatesJ Offline
                              jdaviescoates
                              wrote on last edited by
                              #173

                              @necrevistonnezr given this @fbartels app works and is the most requested app, and the release of Cloudron 5 out of the way, and the goal for this year seems to be to get lots more apps released, I'm left wondering what is holding up getting this into the app store @girish @nebulon? 🤔😃

                              I use Cloudron with Gandi & Hetzner

                              1 Reply Last reply
                              2
                              • necrevistonnezrN necrevistonnezr

                                @will fbartels version is fully functional (https://git.cloudron.io/fbartels/bitwardenrs-app), I've been using it for months now. And if you modify the bitwarden_rs build number in https://git.cloudron.io/fbartels/bitwardenrs-app/-/blob/master/Dockerfile before building, you get the newest version. I updated just yesterday.

                                Change

                                FROM "bitwardenrs/server:1.13.1-alpine" as bitwarden
                                

                                to

                                FROM "bitwardenrs/server:1.14-alpine" as bitwarden
                                
                                W Offline
                                W Offline
                                will
                                wrote on last edited by
                                #174

                                @necrevistonnezr I know you've talked about it in the past, do you have the thread where there are instructions on how to install it? DO I add that URL as a private git repo? Never did any custom app stuff before (well I tried and failed)

                                necrevistonnezrN 1 Reply Last reply
                                0
                                • W will

                                  @necrevistonnezr I know you've talked about it in the past, do you have the thread where there are instructions on how to install it? DO I add that URL as a private git repo? Never did any custom app stuff before (well I tried and failed)

                                  necrevistonnezrN Offline
                                  necrevistonnezrN Offline
                                  necrevistonnezr
                                  wrote on last edited by
                                  #175

                                  @will said in Bitwarden - Self-hosted password manager:

                                  @necrevistonnezr I know you've talked about it in the past, do you have the thread where there are instructions on how to install it? DO I add that URL as a private git repo? Never did any custom app stuff before (well I tried and failed)

                                  • Install & run Docker, it will ask you to log in or create a Docker account
                                  • Keep the Docker app / service running
                                  • git clone https://git.cloudron.io/fbartels/bitwardenrs-app and cd bitwardenrs-app
                                  • cloudron build(that's assuming you have installed cloudron cli via npm) - it will ask you for your cloudron credentials, and ask for your Docker repository, which should be set to public during the installation (makes it easier from my experience), e.g. in the form Docker_Username/bitwarden_rs
                                  • cloudron install: it will ask for the domain to install to, e.g. bit.domain.tld

                                  If you update, it's pretty much the same, just git pullin the app directory, cloudron build, and then cloudron update --app bit.domain.tld

                                  W 1 Reply Last reply
                                  2
                                  • necrevistonnezrN necrevistonnezr

                                    @will said in Bitwarden - Self-hosted password manager:

                                    @necrevistonnezr I know you've talked about it in the past, do you have the thread where there are instructions on how to install it? DO I add that URL as a private git repo? Never did any custom app stuff before (well I tried and failed)

                                    • Install & run Docker, it will ask you to log in or create a Docker account
                                    • Keep the Docker app / service running
                                    • git clone https://git.cloudron.io/fbartels/bitwardenrs-app and cd bitwardenrs-app
                                    • cloudron build(that's assuming you have installed cloudron cli via npm) - it will ask you for your cloudron credentials, and ask for your Docker repository, which should be set to public during the installation (makes it easier from my experience), e.g. in the form Docker_Username/bitwarden_rs
                                    • cloudron install: it will ask for the domain to install to, e.g. bit.domain.tld

                                    If you update, it's pretty much the same, just git pullin the app directory, cloudron build, and then cloudron update --app bit.domain.tld

                                    W Offline
                                    W Offline
                                    will
                                    wrote on last edited by will
                                    #176

                                    @necrevistonnezr said in Bitwarden - Self-hosted password manager:

                                    cloudron build

                                    Ok went through the steps.

                                    • installed docker, registered and made an empty public repo
                                    • On my linux vm I got docker up and running
                                    • Cloned that repo to local dir
                                    • Ran Cloudron build inside repo folder
                                    • Seemed to build but then asked if I was logged into docker?
                                    • Logged into docker and cloudron on the CLI and tried again.
                                      CLI seemed to try to get at a repo at docker.io, but my repo is at hub.docker.com

                                    Sorta installed, visible in cloudron error message in cloudron:

                                    If a configuration, update, restore or backup action resulted in an error, you can retry the task.

                                    An error occurred during the install operation: Not found: Unable to pull image willrimmer/bitwarden_rs:20200320-035449-643626a03. message: (HTTP code 404) unexpected - manifest for willrimmer/bitwarden_rs:20200320-035449-643626a03 not found statusCode: 404

                                    Let me know if I'm understanding the flow correctly.

                                    1. Clone from github locally.
                                    2. Package up a Cloudron ready docker container and push to Docker Hub
                                    3. Cloudron grabs and deploys from Docker Hub(?)
                                    1 Reply Last reply
                                    0
                                    • girishG Offline
                                      girishG Offline
                                      girish
                                      Staff
                                      wrote on last edited by
                                      #177

                                      @will The docker image didn't get pushed for some reason. I don't see it here - https://hub.docker.com/r/willrimmer/bitwarden_rs . Just do a cloudron build again. Do you see it push ?

                                      W 1 Reply Last reply
                                      1
                                      • necrevistonnezrN Offline
                                        necrevistonnezrN Offline
                                        necrevistonnezr
                                        wrote on last edited by
                                        #178

                                        BTW, when looking for the newest Docker releases, this site https://docker-hub-rss.now.sh and in particular this feed
                                        https://docker-hub-rss.now.sh/bitwardenrs/server.atom is ery helpful...

                                        1 Reply Last reply
                                        1
                                        • girishG girish

                                          @will The docker image didn't get pushed for some reason. I don't see it here - https://hub.docker.com/r/willrimmer/bitwarden_rs . Just do a cloudron build again. Do you see it push ?

                                          W Offline
                                          W Offline
                                          will
                                          wrote on last edited by will
                                          #179

                                          @girish Woohoo! It worked!

                                          01 Installing the App
                                          $ sudo docker login
                                          $ sudo cloudron login my.example.com
                                          $ git clone https://git.cloudron.io/fbartels/bitwardenrs-app
                                          $ cd bitwardenrs-app
                                          $ sudo cloudron build
                                          Enter repository (e.g registry/username/com.github.bitwardenrs): username/dockerhub-repo
                                          $ sudo cloudron install -l bitwarden.example.com

                                          02 Updating the App
                                          $ git pull https://git.cloudron.io/fbartels/bitwardenrs-app
                                          $ sudo cloudron build
                                          $ sudo cloudron update --app bitwarden.example.com

                                          03 Configuring the App
                                          Go to bitwarden.example.com/admin to configure.

                                          I can add users manually, is there a way to tie this Cloudron LDAP?
                                          Thanks!

                                          iamthefijI 1 Reply Last reply
                                          1
                                          • iamthefijI Offline
                                            iamthefijI Offline
                                            iamthefij
                                            App Dev
                                            wrote on last edited by
                                            #180

                                            Where does this stand on becoming "official" in some way? I'm still running Bitwarden off Cloudron myself as my Cloudron instance is hosting the version I'm using for development.

                                            1 Reply Last reply
                                            2
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes


                                              • Login

                                              • Don't have an account? Register

                                              • Login or register to search.
                                              • First post
                                                Last post
                                              0
                                              • Categories
                                              • Recent
                                              • Tags
                                              • Popular
                                              • Bookmarks
                                              • Search