StifflersMoM Posted November 29, 2018 Share #26 Posted November 29, 2018 Today i ran into another problem :( After creating an account, there is an option to send an email to unlock all features. After pressing the button, it says, that the email was sent correctly, but unfortunately no email arrived. Neither in Spamfolder. I could not find any options to configure an emailserver Quote Link to comment Share on other sites More sharing options...
shrabok Posted November 29, 2018 Author Share #27 Posted November 29, 2018 In the bitwarden documentation there is additional details on configuring the smtp as well as in the main post: On 4/1/2018 at 1:42 PM, shrabok said: Additional changes to consider: modify your bwdata/env/global.override.env for the following features add smtp email disable registrations after you create your accounts other override features specific to your use case restart containers after change to global environment vars Quote Link to comment Share on other sites More sharing options...
StifflersMoM Posted November 29, 2018 Share #28 Posted November 29, 2018 10 minutes ago, shrabok said: In the bitwarden documentation there is additional details on configuring the smtp as well as in the main post: Thanks a lot! I did not found this information. *shame* Now all works, like it should! Quote Link to comment Share on other sites More sharing options...
StifflersMoM Posted December 5, 2018 Share #29 Posted December 5, 2018 Hi again! ;) I ran into another little problem today with bitwarden on Synology. I can access the admin page after creating the local port in docker-admin container and the file in nginx. I do also get the email with the secure link to login, but i am not able to enter the admin page. After clicking the link in the email, i just get redirected to the login page. Quote Link to comment Share on other sites More sharing options...
shrabok Posted December 5, 2018 Author Share #30 Posted December 5, 2018 Hi @StifflersMoM, Review the details here: https://github.com/bitwarden/core/issues/253 Quote Link to comment Share on other sites More sharing options...
Ashvini jain Posted December 11, 2019 Share #31 Posted December 11, 2019 Hi Could anyone share some knowledge on how to link external mssql to bitwarden on premise. I specifically require how to edit the global.override.env -> global string for data source. Quote Link to comment Share on other sites More sharing options...
shrabok Posted December 12, 2019 Author Share #32 Posted December 12, 2019 Hi @Ashvini jain, I recommend reaching out to the bitwarden support forums or bitwarden github to get assistance with bitwarden features unrelated to the Synology part of the install. I did respond to your DM with details on mssql connection strings and resource values you'll likely use. Also see this post for additional information https://github.com/bitwarden/server/issues/473. Quote Link to comment Share on other sites More sharing options...
eyeSome Posted February 3, 2020 Share #33 Posted February 3, 2020 (edited) Hi @shrabok I used your way to install bitwarden as docker on a ds918+. Everything is working fine, bw is reachable under localhost:8123, but my reverse proxy is not working. I created the certificate, mapped the certificate to reverse proxy, but when accessing https://bw.domain.com I got the DS-Admin-Login-Page with certificate-warning (default-cert home.domain.com). Any ideas, why my reverse proxy is not working? Kind regards! Update: Created a HTTP reverse proxy which is working fine... only HTTPS redirects me to :5000 instead the port configured in reverse proxy. Update2: Found the reason: Portforward in firewall was from 443 to 5001 (DSM default) and not 443. Reverse-Proxy must be 5001 incoming or Portforward changed to 443. Best regards! Edited February 3, 2020 by eyeSome Quote Link to comment Share on other sites More sharing options...
Dimebag Darrell Posted April 2, 2020 Share #34 Posted April 2, 2020 thanks a lot for the tuto Just a quick question, is there any procedure to flush the logs ? I've noticed an increase of the space used by bitwarden Quote Link to comment Share on other sites More sharing options...
shrabok Posted April 2, 2020 Author Share #35 Posted April 2, 2020 Hi @Dimebag Darrell, I'm assuming you're referring to the bwdata/logs/ folders? I checked my bwdata/logs/nginx/access.log and I do see some really old entries. Checking on the nginx container I do see /etc/logrotate.d/nginx config file to rotate the logs but the logrotate command is not found (which could explain why we're not seeing the rotation occur. /var/log/nginx/*.log { daily missingok rotate 52 compress delaycompress notifempty create 640 nginx adm sharedscripts postrotate if [ -f /var/run/nginx.pid ]; then kill -USR1 `cat /var/run/nginx.pid` fi endscript } I noticed here https://github.com/bitwarden/server/tree/master/util/Nginx there is another logrotate.sh script (which is not on my container). Not sure why it's not there, but seems there is a few different things going on with how logrotate should be done. The logs are mounted from the container to your local xpenology bwdata/logs folder. A quick manual fix would be to shrink those files down to free up some space. In regard to a long term fix, I think it might be worth asking in the bitwarden github or forums to get some additional clarity on how logrotate should work. I also tested their script (logrotate.sh) which does work if you want to manually add them to your container copy the file to you xpenology box run command `docker cp logrotate.sh bitwarden-nginx:/` connect to your container `docker exec -it bitwarden-nginx bash` run logrotate script `./logrotate.sh` check for file rotation `ls -al /var/log/nginx` should see an output like root@ceead6c1a56d:/# ls -al /var/log/nginx/ total 6028 drwxr-xr-x 2 nobody nogroup 4096 Apr 2 15:30 . drwxr-xr-x 7 root root 4096 Aug 15 2019 .. -rwxr-xr-x 1 nobody nogroup 6157854 Apr 2 15:29 access.20200402_153011.log.gz -rwxr-xr-x 1 nobody nogroup 93 Apr 2 15:30 access.log -rwxr-xr-x 1 nobody nogroup 0 Apr 2 15:30 error.log I don't have much time to dig into this further at the moment, but I believe getting clarity from bitwarden support would be best to know the appropriate way for logrotate to work. I also don't know who that logrotate.sh script is being invoked as i do not see a cron (routine task) to execute it. Hope this provides some help. Quote Link to comment Share on other sites More sharing options...
after99 Posted April 7, 2020 Share #36 Posted April 7, 2020 I made a pull request to hopefully fix it https://github.com/bitwarden/server/pull/692 Quote Link to comment Share on other sites More sharing options...
surfbum Posted April 30, 2020 Share #37 Posted April 30, 2020 (edited) Before moving to xpenology I've selfhosted using Debian and used docker utilising an alternative build of the bitwarden discussed here: https://hub.docker.com/r/bitwardenrs/server it works very well and is simple to use as an alternative. Apparently it is less resource intensive Edited April 30, 2020 by surfbum Quote Link to comment Share on other sites More sharing options...
Dimebag Darrell Posted July 15, 2020 Share #38 Posted July 15, 2020 Hello all, Just a basic question, how I have to proceed to ensure that my bitwarden vault is up to date ? Thanks in advance, Have a nice day Quote Link to comment Share on other sites More sharing options...
shrabok Posted July 15, 2020 Author Share #39 Posted July 15, 2020 Hi @Dimebag Darrell, At the end of the guide Quote Update bitwarden version: To update to the latest version run: command : ./bitwarden.sh updateself command: ./bitwarden.sh update Quote Link to comment Share on other sites More sharing options...
Dimebag Darrell Posted July 15, 2020 Share #40 Posted July 15, 2020 other question related to bitwarden is it possible ti check on which release we run bitwarden ? Quote Link to comment Share on other sites More sharing options...
shrabok Posted July 15, 2020 Author Share #41 Posted July 15, 2020 Hi @Dimebag Darrell There are a number of ways but the easiest is go to your vault url login page. Quote Link to comment Share on other sites More sharing options...
Guygox Posted December 11, 2020 Share #42 Posted December 11, 2020 Le 26/05/2018 à 21:19, ebell a dit : In order to access the Bitwarden Admin site on the Synology you will need to perform the following: Modify the bitwarden-admin container Stop the container. Click on Edit Click on the Port Settings tab Add the following settings Local port - 8124 Container port - 5000 Type - TCP Click Apply Start the container Modify the reverse proxy settings via SSH SSH into your Synology Server Change to this directory: /usr/local/etc/nginx/conf.d Create a file in this director (i.e., www.rproxy.bw_admin.conf) Add the following content location ~ /admin/ { proxy_pass http://localhost:8124; } Save the file and test the configuration. The following should return "Syntax is OK" and "Test is successful" nginx -T > /tmp/nginx.conf Restart nginx nginx -s reload Now bwitwarden.url/admin should redirect you to the appropriate page where you can login with an admin account. Hi ! I can access the admin portal without modiification by using https://biwarden.mydomain.com/admin/login. And enter an email. Can receive it but after when I click on the link it tries to send me to my portal using https://bitwarden.mydomain.com:5000.. So nothing happens.. Is their a way to keep the default port and reach it ? which file should I modify in order to use the 8123 ? Quote Link to comment Share on other sites More sharing options...
Guygox Posted December 11, 2020 Share #43 Posted December 11, 2020 Le 27/05/2018 à 07:39, shrabok a dit : Hi @ebell In my current installation I can reach the admin site using https://bitwarden.domain.com/admin/login/ without a dedicated port. There is an issue open regarding the https://bitwarden.domain.com/admin redirecting to a non https port here https://github.com/bitwarden/core/issues/253. Your approach could be interesting alternative as a dedicated url specific to admin that is internal only and not public facing. Also I have edit capability to the orginal post and will attempt to keep it relevant and recent. Hi ! Thanks for the how-to... I can also reach the admin page and send the email but then when I click I am redirected on port 5000. which doesn't respond. How to make it work ? Quote Link to comment Share on other sites More sharing options...
shrabok Posted December 26, 2020 Author Share #44 Posted December 26, 2020 On 12/11/2020 at 6:03 AM, Guygox said: Hi ! Thanks for the how-to... I can also reach the admin page and send the email but then when I click I am redirected on port 5000. which doesn't respond. How to make it work ? Hi @Guygox, this issue has been open for some time, there is a need to re-write the url to match the admin portal url as the internal server is unaware of the proxy in synology https://github.com/bitwarden/server/issues/253 Quote Link to comment Share on other sites More sharing options...
Dimebag Darrell Posted April 26, 2021 Share #45 Posted April 26, 2021 Dears, Just a question, which is the latest version of bitwarden server ? Quote Link to comment Share on other sites More sharing options...
bigbearXL Posted April 28, 2021 Share #46 Posted April 28, 2021 If you just need password manager try bitwarden_rs just 1 docker image and 1 port exposed Quote Link to comment Share on other sites More sharing options...
shrabok Posted April 29, 2021 Author Share #47 Posted April 29, 2021 Hi @Dimebag Darrell, I believe the latest "bitwarden server" version is 1.40.0 at this time - https://github.com/bitwarden/server/releases Although there are multiple version values (docker container version, application version, client version, etc) so hopefully this is the right information you're looking for. Quote Link to comment Share on other sites More sharing options...
vinhdt Posted April 29, 2021 Share #48 Posted April 29, 2021 Here's an easier instructions. https://www.wundertech.net/how-to-self-host-the-password-manager-bitwarden-on-a-synology-nas/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.