Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bitwarden Unified says Organization expired , but it is not #3412

Closed
1 task done
florie1706 opened this issue Nov 5, 2023 · 14 comments
Closed
1 task done

Bitwarden Unified says Organization expired , but it is not #3412

florie1706 opened this issue Nov 5, 2023 · 14 comments
Labels
bug bw-unified-deploy An Issue related to Bitwarden unified deployment

Comments

@florie1706
Copy link

Steps To Reproduce

  1. Go to 'Organization'
  2. Click on 'License'

Expected Result

A valid license is provided so it just should work.

Actual Result

Got mail notification that my family organisation is expired, cannot use the data inside the organisation.

Screenshots or Videos

SCR-20231105-hxds

Additional Context

This happens to my family organisation since the image bitwarden/self-host:2023.10.0-beta but also persists in bitwarden/self-host:2023.10.1-beta

Prior that two images I had no issues.

Githash Version

55ecec6-dirty

Environment Details

  • OS Ubuntu Server 23.10
  • Environment: Docker

Database Image

No response

Issue-Link

#2480

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
@florie1706 florie1706 added bug bw-unified-deploy An Issue related to Bitwarden unified deployment labels Nov 5, 2023
@GuillaumeHullin
Copy link

Same here. I tried uploading the original license file but it did not work. I redownloaded the license file and reuploaded it on my self-hosted instance, then it worked for a few days and it happened the same today again.

@florie1706, I'm not sure if I'm on "Bitwarden Unified"... how do you see that?

@florie1706
Copy link
Author

I would say self hosted is unified 😉

@sammbw
Copy link

sammbw commented Nov 6, 2023

Hi there,

I attempted to reproduce your issue and was unable to do so. I think your error could have its origin in a license compatibility issue. Please try updating your instance and applying the latest license from the Bitwarden web vault. If that doesn't resolve it, please contact us using the form below.

We use GitHub issues as a place to track bugs and other development related issues. If your issue persists, please write us back using our contact form, so we can continue troubleshooting: https://bitwarden.com/contact/

You can include a link to this issue in the message content.

Alternatively, you can also search for an answer in our help documentation (https://bitwarden.com/help/) or get help from other Bitwarden users on our community forums (https://community.bitwarden.com/c/support/).

The issue here will be closed.

Thanks!

@sammbw sammbw closed this as completed Nov 6, 2023
@kolja1507
Copy link

@sammbw Our company faces the same issue with a self-hosted Bitwarden instance. Happened first on November 2nd after we updated our server to v2023.10.0. Fixed it by re-downloading our org license file from bitwarden.com (which wasn't suspended) and re-uploading it to our installation. November 3rd, the issue reoccurred after updating our server to v2023.10.1. Fixed it again as before. Both times, our organization was suspended although the expiration date of our Enterprise subscription was and still is way in the future. The suspension led to ~200 employees not being able to access any collection, TOTP etc.

@GuillaumeHullin
Copy link

@sammbw I understand that you cannot reproduce it, but it doesn't mean that it is not a bug. Please re-open this issue so that we can work to find out what is going on.

@florie1706
Copy link
Author

florie1706 commented Nov 6, 2023

That is what Bitwarden Support answered this morning ( I reuploaded the newly downloaded license file twice before I opened this issue here). For now it works but it worked before as well for let's say half a day / a day as mentioned by @kolja1507


Hi
​
I apologize for the inconvenience. Please follow the below steps which should resolve this issue:

If you haven’t already, please update your self-hosted server to the latest version following these steps: https://bitwarden.com/help/updating-on-premise/

Have an Owner log into the Cloud Org at https://vault.bitwarden.com  or https://vault.bitwarden.eu  and download a new license file.

Have an Owner log into the self-hosted organization (which may not be the same user as the cloud one) and apply the new license file.

Please note that the server must be updated to the latest version for the new licence to be applied.  This is not normal, and is due to a bug.

#2 - Disable billing sync

Remove the following line from ./bwdata/env/global.override.env:
globalSettings__enableCloudCommunication=true

Run bitwarden restart command from Bitwarden shell script.

Re-download the licence from https://vault.bitwarden.com or https://vault.bitwarden.eu 

Re-apply this to the server manually once again


Full documentation on this feature can be found here:

https://bitwarden.com/help/families-for-enterprise-self-hosted/#step-1-enable-cloud-communication 
​
I can confirm that there was a bug in the 2023.10 release that caused this issue and that in most instances re-applying the licence file resolved this.

We have since released version 2023.10.1, which solves the issue.

The root cause was a change in the licence file format for the 2023.10 release.  I apologise once again for the inconvenience and can confirm that the team will take every effort to ensure that a similar error never reoccurs.

They speak about a bug ;)
BTW never had billing sync enabled

@GuillaumeHullin
Copy link

@sammbw Our company faces the same issue with a self-hosted Bitwarden instance. Happened first on November 2nd after we updated our server to v2023.10.0. Fixed it by re-downloading our org license file from bitwarden.com (which wasn't suspended) and re-uploading it to our installation. November 3rd, the issue reoccurred after updating our server to v2023.10.1. Fixed it again as before. Both times, our organization was suspended although the expiration date of our Enterprise subscription was and still is way in the future. The suspension led to ~200 employees not being able to access any collection, TOTP etc.

I guess you are using Docker Compose right?

@GuillaumeHullin
Copy link

That is what Bitwarden Support answered this morning ( I reuploaded the newly downloaded license file twice before I opened this issue here). For now it works but it worked before as well for let's say half a day / a day as mentioned by @kolja1507


Hi
​
I apologize for the inconvenience. Please follow the below steps which should resolve this issue:

If you haven’t already, please update your self-hosted server to the latest version following these steps: https://bitwarden.com/help/updating-on-premise/

Have an Owner log into the Cloud Org at https://vault.bitwarden.com  or https://vault.bitwarden.eu  and download a new license file.

Have an Owner log into the self-hosted organization (which may not be the same user as the cloud one) and apply the new license file.

Please note that the server must be updated to the latest version for the new licence to be applied.  This is not normal, and is due to a bug.

#2 - Disable billing sync

Remove the following line from ./bwdata/env/global.override.env:
globalSettings__enableCloudCommunication=true

Run bitwarden restart command from Bitwarden shell script.

Re-download the licence from https://vault.bitwarden.com or https://vault.bitwarden.eu 

Re-apply this to the server manually once again


Full documentation on this feature can be found here:

https://bitwarden.com/help/families-for-enterprise-self-hosted/#step-1-enable-cloud-communication 
​
I can confirm that there was a bug in the 2023.10 release that caused this issue and that in most instances re-applying the licence file resolved this.

We have since released version 2023.10.1, which solves the issue.

The root cause was a change in the licence file format for the 2023.10 release.  I apologise once again for the inconvenience and can confirm that the team will take every effort to ensure that a similar error never reoccurs.

They speak about a bug ;) BTW never had billing sync enabled

Interesting. Did you have globalSettings__enableCloudCommunication=true ? I don't.

@kolja1507
Copy link

BTW never had billing sync enabled

We neither.

@kolja1507
Copy link

I guess you are using Docker Compose right?

@GuillaumeHullin Right.

@kolja1507
Copy link

Did you have globalSettings__enableCloudCommunication=true ? I don't.

We neither.

@GuillaumeHullin
Copy link

Trying to find a common point between us...

In the link: https://bitwarden.com/help/families-for-enterprise-self-hosted/#step-1-enable-cloud-communication
There is the following mentioned:

Enabling automatic sync requires communication with Bitwarden's cloud systems. If your environment uses a firewall to block outbound traffic, you will need to allow https://api.bitwarden.com and https://identity.bitwarden.com.

I do use pfBlocker to filter traffic (IP filtering and DNS blacklist)... both of the above domain work for me but could it be that Bitwarden would make an other external check for license?

Do you guys use network filtering?

@florie1706
Copy link
Author

florie1706 commented Nov 6, 2023

As I use a paid Family License I do not have CloudSync enabled, I think I do not need / cannot use it anyways, see here:

Update organization license
Organizations may need to update the license file on their self-hosted server, for example to add user seats or when your license expires. When your license expires and your organization renews, you have 60 days to apply the updated license file to your self-hosted organization.

There are two methods for doing so, however Families organizations may only update manually:

@GuillaumeHullin
Copy link

@florie1706 same, I use Families organizations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bw-unified-deploy An Issue related to Bitwarden unified deployment
Projects
None yet
Development

No branches or pull requests

4 participants