Jump to content
Roxedus

[support] Bitwardenrs Bitwarden_rs

124 posts in this topic Last Reply

Recommended Posts

On 2/10/2020 at 4:54 PM, Roxedus said:

Makes sense. I would very much like to know what it is in case you narrow it down

Not exactly user error, but doing it in CA in a way that it wasn't designed to do.  Or put another way, a bug in CA that's been there for a few years that no one else noticed because the procedure the users were using differs from the instructions.

 

 

Share this post


Link to post

I am trying to set this up with no luck.  I've had the mprasil version working for quite some time.  Tonight I stupidly renamed thhis container the same as as the old one and now it's gone so I can't even go back to it for a working install.  So I now have no way to access my passwords.  I would love some help.

 

Should the ADMIN_TOKEN be the same as the master password?  what about the admin email?  One of the posts mentions a config.json file but I don't haver one in my appdata folder.

Share this post


Link to post
22 minutes ago, RockDawg said:

Should the ADMIN_TOKEN be the same as the master password?

So bitwardenrs:server is drop-in replaceable with mprasil's container. The same environment variables and so on.
ADMIN_TOKEN is unrelated to the admin password, it's a string you create yourself. Either generate a random one (preferred), or just button smash on your keyboard. You don't really need to remember it, as you can change it if you really need to go into the admin panel.

Share this post


Link to post

I'm in the admin panel and can't get it it to send me an email invite.  My email is gmail and I've tried numerous settings but I never get an email.

Share this post


Link to post

Yes, but when I accidentally renamed this new container the same as the old one.  The old one disappeared from the docker screen so I can't check the variables.  

 

EDIT:  And because Bitwarden is down for me I can't even log back into unraid.

Edited by RockDawg

Share this post


Link to post

But the appdata is still present, right? point this one to the existing appdata

Share this post


Link to post

I think it is pointed to the old appdata.  I have no way to check as I can't login to Unraid now with Bitwarden down.

Share this post


Link to post
4 minutes ago, RockDawg said:

I think it is pointed to the old appdata.  I have no way to check as I can't login to Unraid now with Bitwarden down.

Do you not have one of the apps installed? It caches everything so it's still available if you're offline...

Share this post


Link to post

I have the  new BitwardenRS app installed.  My old Mprasil install is now gone.  I'm pretty sure the new one is pointing to the old appdata folder.  I can get in to the admin page (the old install didn't have that).  If I try to login in to the Chrome extension that I usually use with my old username and password, it says incorrect user or password.

Share this post


Link to post

I managed to remember my password for Unraid so I am back in there.  Indeed the new Bitwarden docker is pointing to the old bitwarden appdata folder.  Still can;t get anything working on it though.

Share this post


Link to post

I tried viewing db.sqlie3 in sqlite browser and there isn't much of any data in it.  Does this mean all my passwords may be gone?

Edited by RockDawg

Share this post


Link to post

Based on a quick look at mine, it looks like all the password are in the cipher table so if that's empty, it's a good possibility... Do you have a backup?

Share this post


Link to post

No backup.  Nothing in the ciphers table although all my icons are stiil in their folder.  Definitely will from here on out.  Did manage to get my user account set up and working.  No psswords saved though. Time to reset and resave them all.

Share this post


Link to post

This isn't working as well for me as the old container/install.  I use the Chrome extension most often and there is a 2-3 second delay when I click on the Bitwarden extension icon and it opening.  Also If I add a login on one computer it doesn't show up on in the Chrome extension on another computer unless I logout and log back in.  I never had either of those issues before.

Share this post


Link to post

I have attached the log.  Also a screenshot.  On the left it shows the Chrome extension on my computer here at work.  The left shows me remotely connected to my home computer and you can see it's Chrome extension shows fewer logins saves.

 

log.txt

Untitled.png

 

Edited by RockDawg

Share this post


Link to post

Ok, so it sounds like a reverse proxy issue. Can you post yours?

Share this post


Link to post

Here it is:

 

#BITWARDEN
# make sure that your domain has dns has a cname or a record set for the subdomain bitwarden 
# This config file will work as is when using a custom docker network the same as letesencrypt (proxynet).
# However the container name is expected to be "bitwardenrs" as it is by default the template as this name is used to resolve.  
# If you are not using the custom docker network for this container then change the line "server bitwardenrs:80;" to "server [YOUR_SERVER_IP]:8086;" Also remove line 7

resolver 127.0.0.11 valid=30s;
upstream bitwarden {
    server bitwardenrs:80;
}

server {
    listen 443 ssl;
    server_name bitwarden.*;
    include /config/nginx/ssl.conf;
  client_max_body_size 128M;

  location / {
   proxy_pass http://bitwarden;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
  }
  
  location /notifications/hub {
   proxy_pass http://bitwarden;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
  }
  
  location /notifications/hub/negotiate {
    proxy_pass http://bitwarden;
  }
}

 

Share this post


Link to post

It has the important bits which I was looking for, if you want to try another one you can try the one from Linuxserver. To eliminate the possibility of it being the reverse proxy, you should connect the extension to your local address on the homecomputer.

Share this post


Link to post

Everything works except the email sending from Bitwarden_rs. Email address is fully functional. Followed spaceinvaders guide, incl domain, dns, etc. Getting this error in my log:

Quote

 

thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "failed to lookup address information: Temporary failure in name resolution" })', src/mail.rs:40:23

 

note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

 

Any ideas ?

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.