[WEB VAULT] Cannot create Organizations #175

Closed
opened 2026-04-05 20:34:50 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @BoxBoxJason on 1/8/2026

Prerequisites

Vaultwarden Support String

Diagnostiscs page returns a 404 error (admin panel disabled on this instance)

Vaultwarden Build Version

v1.35.1-alpine

Deployment method

Official Container Image

Custom deployment method

The container is deployed in a self hosted, kubernetes environment, there is no authorization to reach external networks (internet), neither for the vaultwarden, nor for the users from the web UI.

Reverse Proxy

nginx

Host/Server Operating System

Linux

Operating System Version

No response

Clients

Web Vault

Client Version

Mozilla Firefox 146.0

Steps To Reproduce

  1. Deploy Vaultwarden (with webui) using the kubernetes helm chart
  2. Setup / connect to your account
  3. Attempt to create an organization

Expected Result

Organization is created

Actual Result

TypeError: Cannot read properties of undefined

Logs

No logs on the vaultwarden server.

Logs in web vault:


Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
Error with Permissions-Policy header: Unrecognized feature: 'battery'.
Error with Permissions-Policy header: Unrecognized feature: 'document-domain'.
Error with Permissions-Policy header: Unrecognized feature: 'execution-while-not-rendered'.
Error with Permissions-Policy header: Unrecognized feature: 'execution-while-out-of-viewport'.
Error with Permissions-Policy header: Unrecognized feature: 'web-share'.
 State version: 74
 Migrator qs (to version 3) should migrate: false - up
 Migrator Ni (to version 4) should migrate: false - up
 Migrator Dn (to version 5) should migrate: false - up
 Migrator yr (to version 6) should migrate: false - up
 Migrator Ss (to version 7) should migrate: false - up
 Migrator Bs (to version 8) should migrate: false - up
 Migrator Ls (to version 9) should migrate: false - up
 Migrator qe (to version 10) should migrate: false - up
 Migrator Ye (to version 11) should migrate: false - up
 Migrator Qe (to version 12) should migrate: false - up
 Migrator it (to version 13) should migrate: false - up
 Migrator st (to version 14) should migrate: false - up
 Migrator lt (to version 15) should migrate: false - up
 Migrator ut (to version 16) should migrate: false - up
 Migrator mt (to version 17) should migrate: false - up
 Migrator gt (to version 18) should migrate: false - up
 Migrator wt (to version 19) should migrate: false - up
 Migrator kt (to version 20) should migrate: false - up
 Migrator Ft (to version 21) should migrate: false - up
 Migrator xt (to version 22) should migrate: false - up
 Migrator Dt (to version 23) should migrate: false - up
 Migrator Ut (to version 24) should migrate: false - up
 Migrator Nt (to version 25) should migrate: false - up
 Migrator zt (to version 26) should migrate: false - up
 Migrator qt (to version 27) should migrate: false - up
 Migrator Yt (to version 28) should migrate: false - up
 Migrator Wt (to version 29) should migrate: false - up
 Migrator ei (to version 30) should migrate: false - up
 Migrator ni (to version 31) should migrate: false - up
 Migrator oi (to version 32) should migrate: false - up
 Migrator hi (to version 33) should migrate: false - up
 Migrator gi (to version 34) should migrate: false - up
 Migrator wi (to version 35) should migrate: false - up
 Migrator ki (to version 36) should migrate: false - up
 Migrator Fi (to version 37) should migrate: false - up
 Migrator Oi (to version 38) should migrate: false - up
 Migrator Gi (to version 39) should migrate: false - up
 Migrator _i (to version 40) should migrate: false - up
 Migrator Hi (to version 41) should migrate: false - up
 Migrator Zi (to version 42) should migrate: false - up
 Migrator tn (to version 43) should migrate: false - up
 Migrator sn (to version 44) should migrate: false - up
 Migrator un (to version 45) should migrate: false - up
 Migrator mn (to version 46) should migrate: false - up
 Migrator Tn (to version 47) should migrate: false - up
 Migrator Pn (to version 48) should migrate: false - up
 Migrator En (to version 49) should migrate: false - up
 Migrator Gn (to version 50) should migrate: false - up
 Migrator Vn (to version 51) should migrate: false - up
 Migrator zn (to version 52) should migrate: false - up
 Migrator _n (to version 53) should migrate: false - up
 Migrator Wn (to version 54) should migrate: false - up
 Migrator tr (to version 55) should migrate: false - up
 Migrator sr (to version 56) should migrate: false - up
 Migrator cr (to version 57) should migrate: false - up
 Migrator hr (to version 58) should migrate: false - up
 Migrator fr (to version 59) should migrate: false - up
 Migrator kr (to version 60) should migrate: false - up
 Migrator xr (to version 61) should migrate: false - up
 Migrator Gr (to version 62) should migrate: false - up
 Migrator zr (to version 63) should migrate: false - up
 Migrator qr (to version 64) should migrate: false - up
 Migrator ns (to version 65) should migrate: false - up
 Migrator cs (to version 66) should migrate: false - up
 Migrator hs (to version 67) should migrate: false - up
 Migrator vs (to version 68) should migrate: false - up
 Migrator bs (to version 69) should migrate: false - up
 Migrator Cs (to version 70) should migrate: false - up
 Migrator Rs (to version 71) should migrate: false - up
 Migrator $s (to version 72) should migrate: false - up
 Migrator Us (to version 73) should migrate: false - up
 Migrator Ns (to version 74) should migrate: false - up
 Migrator qs (to version 3) should migrate: false - up
 Migrator Ni (to version 4) should migrate: false - up
 Migrator Dn (to version 5) should migrate: false - up
 Migrator yr (to version 6) should migrate: false - up
 Migrator Ss (to version 7) should migrate: false - up
 Migrator Bs (to version 8) should migrate: false - up
 Migrator Ls (to version 9) should migrate: false - up
 Migrator qe (to version 10) should migrate: false - up
 Migrator Ye (to version 11) should migrate: false - up
 Migrator Qe (to version 12) should migrate: false - up
 Migrator it (to version 13) should migrate: false - up
 Migrator st (to version 14) should migrate: false - up
 Migrator lt (to version 15) should migrate: false - up
 Migrator ut (to version 16) should migrate: false - up
 Migrator mt (to version 17) should migrate: false - up
 Migrator gt (to version 18) should migrate: false - up
 Migrator wt (to version 19) should migrate: false - up
 Migrator kt (to version 20) should migrate: false - up
 Migrator Ft (to version 21) should migrate: false - up
 Migrator xt (to version 22) should migrate: false - up
 Migrator Dt (to version 23) should migrate: false - up
 Migrator Ut (to version 24) should migrate: false - up
 Migrator Nt (to version 25) should migrate: false - up
 Migrator zt (to version 26) should migrate: false - up
 Migrator qt (to version 27) should migrate: false - up
 Migrator Yt (to version 28) should migrate: false - up
 Migrator Wt (to version 29) should migrate: false - up
 Migrator ei (to version 30) should migrate: false - up
 Migrator ni (to version 31) should migrate: false - up
 Migrator oi (to version 32) should migrate: false - up
 Migrator hi (to version 33) should migrate: false - up
 Migrator gi (to version 34) should migrate: false - up
 Migrator wi (to version 35) should migrate: false - up
console-log.service.ts:43 Migrator ki (to version 36) should migrate: false - up
console-log.service.ts:43 Migrator Fi (to version 37) should migrate: false - up
console-log.service.ts:43 Migrator Oi (to version 38) should migrate: false - up
console-log.service.ts:43 Migrator Gi (to version 39) should migrate: false - up
console-log.service.ts:43 Migrator _i (to version 40) should migrate: false - up
console-log.service.ts:43 Migrator Hi (to version 41) should migrate: false - up
console-log.service.ts:43 Migrator Zi (to version 42) should migrate: false - up
console-log.service.ts:43 Migrator tn (to version 43) should migrate: false - up
console-log.service.ts:43 Migrator sn (to version 44) should migrate: false - up
console-log.service.ts:43 Migrator un (to version 45) should migrate: false - up
console-log.service.ts:43 Migrator mn (to version 46) should migrate: false - up
console-log.service.ts:43 Migrator Tn (to version 47) should migrate: false - up
console-log.service.ts:43 Migrator Pn (to version 48) should migrate: false - up
console-log.service.ts:43 Migrator En (to version 49) should migrate: false - up
console-log.service.ts:43 Migrator Gn (to version 50) should migrate: false - up
console-log.service.ts:43 Migrator Vn (to version 51) should migrate: false - up
console-log.service.ts:43 Migrator zn (to version 52) should migrate: false - up
console-log.service.ts:43 Migrator _n (to version 53) should migrate: false - up
console-log.service.ts:43 Migrator Wn (to version 54) should migrate: false - up
console-log.service.ts:43 Migrator tr (to version 55) should migrate: false - up
console-log.service.ts:43 Migrator sr (to version 56) should migrate: false - up
console-log.service.ts:43 Migrator cr (to version 57) should migrate: false - up
console-log.service.ts:43 Migrator hr (to version 58) should migrate: false - up
console-log.service.ts:43 Migrator fr (to version 59) should migrate: false - up
console-log.service.ts:43 Migrator kr (to version 60) should migrate: false - up
console-log.service.ts:43 Migrator xr (to version 61) should migrate: false - up
console-log.service.ts:43 Migrator Gr (to version 62) should migrate: false - up
console-log.service.ts:43 Migrator zr (to version 63) should migrate: false - up
console-log.service.ts:43 Migrator qr (to version 64) should migrate: false - up
console-log.service.ts:43 Migrator ns (to version 65) should migrate: false - up
console-log.service.ts:43 Migrator cs (to version 66) should migrate: false - up
console-log.service.ts:43 Migrator hs (to version 67) should migrate: false - up
console-log.service.ts:43 Migrator vs (to version 68) should migrate: false - up
console-log.service.ts:43 Migrator bs (to version 69) should migrate: false - up
console-log.service.ts:43 Migrator Cs (to version 70) should migrate: false - up
console-log.service.ts:43 Migrator Rs (to version 71) should migrate: false - up
console-log.service.ts:43 Migrator $s (to version 72) should migrate: false - up
console-log.service.ts:43 Migrator Us (to version 73) should migrate: false - up
console-log.service.ts:43 Migrator Ns (to version 74) should migrate: false - up
console-log.service.ts:43 Retrieving application id
console-log.service.ts:43 Logging in with appId 4c78fab2-df9f-4882-bd6f-225fe734e574.
console-log.service.ts:43 [KeyService] Deriving master key took 1648ms
console-log.service.ts:43 Vault unlocked 2026-01-08T10:19:14.567Z
console-log.service.ts:43 Using SignalR for server notifications
console-log.service.ts:43 [LockComponent] Sync took 199ms
console-log.service.ts:43 [LockComponent] Private key regeneration took 0ms
console-log.service.ts:43 [SignalR] WebSocket connected to wss://REDACTED/notifications/hub?access_token=[REDACTED]
console-log.service.ts:43 [SignalR] Using HubProtocol 'messagepack'.
console-log.service.ts:43 [EncryptedMigrationsScheduler] No migrations needed for user 6ff106a1-6e72-4c2d-af25-df3bdd99e663
console-log.service.ts:43 [CipherService]: decrypt complete took 2.699999999254942 [Array(2)]
console-log.service.ts:43 [SearchService]: index complete took 6.2000000001862645 [Array(2)]
console-log.service.ts:43 [EncryptedMigrationsScheduler] No migrations needed for user 6ff106a1-6e72-4c2d-af25-df3bdd99e663
console-log.service.ts:43 [EncryptedMigrationsScheduler] No migrations needed for user 6ff106a1-6e72-4c2d-af25-df3bdd99e663
console-log.service.ts:43 [EncryptedMigrationsScheduler] No migrations needed for user 6ff106a1-6e72-4c2d-af25-df3bdd99e663
console-log.service.ts:43 [EncryptedMigrationsScheduler] No migrations needed for user 6ff106a1-6e72-4c2d-af25-df3bdd99e663
console-log.service.ts:43 [EncryptedMigrationsScheduler] No migrations needed for user 6ff106a1-6e72-4c2d-af25-df3bdd99e663
console-log.service.ts:43 [EncryptedMigrationsScheduler] No migrations needed for user 6ff106a1-6e72-4c2d-af25-df3bdd99e663
console-log.service.ts:51 Async submit exception: TypeError: Cannot read properties of undefined (reading 'find')
write @ console-log.service.ts:51
error @ console-log.service.ts:28
(anonymous) @ bit-submit.directive.ts:48
(anonymous) @ catchError.ts:117
o._error @ OperatorSubscriber.ts:79
t.error @ Subscriber.ts:91
(anonymous) @ innerFrom.ts:94
invoke @ zone.js:398
onInvoke @ ng_zone.ts:476
invoke @ zone.js:397
run @ zone.js:113
(anonymous) @ zone.js:2537
invokeTask @ zone.js:431
onInvokeTask @ ng_zone.ts:453
invokeTask @ zone.js:430
runTask @ zone.js:161
y @ zone.js:612
invokeTask @ zone.js:519
b @ zone.js:1141
w @ zone.js:1172
x @ zone.js:1205

Screenshots or Videos

No response

Additional Context

I explored the error in file organization-plans.component.ts the browser, the error is caused by the function

  get selectedPlan() {
    return this.passwordManagerPlans.find(
      (plan) => plan.type === this.formGroup.controls.plan.value,
    );
  }

The problem is that the passwordManagerPlans is never initialized, causing errors, there are probably more actions affected. The corresponding lines have been commented:

    /* no need to ask /api/plans because Vaultwarden only supports the free plan
    if (!this.selfHosted) {
      const plans = await this.apiService.getPlans();
      this.passwordManagerPlans = plans.data.filter((plan) => !!plan.PasswordManager);
      this.secretsManagerPlans = plans.data.filter((plan) => !!plan.SecretsManager);

      if (
        this.productTier === ProductTierType.Enterprise ||
        this.productTier === ProductTierType.Teams
      ) {
        this.formGroup.controls.businessOwned.setValue(true);
      }
    }

    const milestone3FeatureEnabled = await this.configService.getFeatureFlag(
      FeatureFlag.PM26462_Milestone_3,
    );
    this._familyPlan = milestone3FeatureEnabled
      ? PlanType.FamiliesAnnually
      : PlanType.FamiliesAnnually2025;
    if (this.currentPlan && this.currentPlan.productTier !== ProductTierType.Enterprise) {
      const upgradedPlan = this.passwordManagerPlans.find((plan) =>
        this.currentPlan.productTier === ProductTierType.Free
          ? plan.type === this._familyPlan
          : plan.upgradeSortOrder == this.currentPlan.upgradeSortOrder + 1,
      );

      this.plan = upgradedPlan.type;
      this.productTier = upgradedPlan.productTier;
    }

    if (this.hasProvider) {
      this.formGroup.controls.businessOwned.setValue(true);
      this.formGroup.controls.clientOwnerEmail.addValidators(Validators.required);
      this.changedOwnedBusiness();
      this.provider = await this.providerApiService.getProvider(this.providerId);
      const providerDefaultPlan = this.passwordManagerPlans.find(
        (plan) => plan.type === PlanType.TeamsAnnually,
      );
      this.plan = providerDefaultPlan.type;
      this.productTier = providerDefaultPlan.productTier;
    }
    end of asking /api/plans in Vaultwarden */
*Originally created by @BoxBoxJason on 1/8/2026* ### Prerequisites - [x] I have searched the existing **Closed _AND_ Open** [Issues](https://github.com/dani-garcia/vaultwarden/issues?q=is%3Aissue%20) **_AND_** [Discussions](https://github.com/dani-garcia/vaultwarden/discussions?discussions_q=) - [x] I have searched and read the [documentation](https://github.com/dani-garcia/vaultwarden/wiki/) ### Vaultwarden Support String Diagnostiscs page returns a 404 error (admin panel disabled on this instance) ### Vaultwarden Build Version v1.35.1-alpine ### Deployment method Official Container Image ### Custom deployment method The container is deployed in a self hosted, kubernetes environment, there is no authorization to reach external networks (internet), neither for the vaultwarden, nor for the users from the web UI. ### Reverse Proxy nginx ### Host/Server Operating System Linux ### Operating System Version _No response_ ### Clients Web Vault ### Client Version Mozilla Firefox 146.0 ### Steps To Reproduce 1. Deploy Vaultwarden (with webui) using the kubernetes helm chart 2. Setup / connect to your account 3. Attempt to create an organization ### Expected Result Organization is created ### Actual Result TypeError: Cannot read properties of undefined ### Logs ```text No logs on the vaultwarden server. Logs in web vault: Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'. Error with Permissions-Policy header: Unrecognized feature: 'battery'. Error with Permissions-Policy header: Unrecognized feature: 'document-domain'. Error with Permissions-Policy header: Unrecognized feature: 'execution-while-not-rendered'. Error with Permissions-Policy header: Unrecognized feature: 'execution-while-out-of-viewport'. Error with Permissions-Policy header: Unrecognized feature: 'web-share'. State version: 74 Migrator qs (to version 3) should migrate: false - up Migrator Ni (to version 4) should migrate: false - up Migrator Dn (to version 5) should migrate: false - up Migrator yr (to version 6) should migrate: false - up Migrator Ss (to version 7) should migrate: false - up Migrator Bs (to version 8) should migrate: false - up Migrator Ls (to version 9) should migrate: false - up Migrator qe (to version 10) should migrate: false - up Migrator Ye (to version 11) should migrate: false - up Migrator Qe (to version 12) should migrate: false - up Migrator it (to version 13) should migrate: false - up Migrator st (to version 14) should migrate: false - up Migrator lt (to version 15) should migrate: false - up Migrator ut (to version 16) should migrate: false - up Migrator mt (to version 17) should migrate: false - up Migrator gt (to version 18) should migrate: false - up Migrator wt (to version 19) should migrate: false - up Migrator kt (to version 20) should migrate: false - up Migrator Ft (to version 21) should migrate: false - up Migrator xt (to version 22) should migrate: false - up Migrator Dt (to version 23) should migrate: false - up Migrator Ut (to version 24) should migrate: false - up Migrator Nt (to version 25) should migrate: false - up Migrator zt (to version 26) should migrate: false - up Migrator qt (to version 27) should migrate: false - up Migrator Yt (to version 28) should migrate: false - up Migrator Wt (to version 29) should migrate: false - up Migrator ei (to version 30) should migrate: false - up Migrator ni (to version 31) should migrate: false - up Migrator oi (to version 32) should migrate: false - up Migrator hi (to version 33) should migrate: false - up Migrator gi (to version 34) should migrate: false - up Migrator wi (to version 35) should migrate: false - up Migrator ki (to version 36) should migrate: false - up Migrator Fi (to version 37) should migrate: false - up Migrator Oi (to version 38) should migrate: false - up Migrator Gi (to version 39) should migrate: false - up Migrator _i (to version 40) should migrate: false - up Migrator Hi (to version 41) should migrate: false - up Migrator Zi (to version 42) should migrate: false - up Migrator tn (to version 43) should migrate: false - up Migrator sn (to version 44) should migrate: false - up Migrator un (to version 45) should migrate: false - up Migrator mn (to version 46) should migrate: false - up Migrator Tn (to version 47) should migrate: false - up Migrator Pn (to version 48) should migrate: false - up Migrator En (to version 49) should migrate: false - up Migrator Gn (to version 50) should migrate: false - up Migrator Vn (to version 51) should migrate: false - up Migrator zn (to version 52) should migrate: false - up Migrator _n (to version 53) should migrate: false - up Migrator Wn (to version 54) should migrate: false - up Migrator tr (to version 55) should migrate: false - up Migrator sr (to version 56) should migrate: false - up Migrator cr (to version 57) should migrate: false - up Migrator hr (to version 58) should migrate: false - up Migrator fr (to version 59) should migrate: false - up Migrator kr (to version 60) should migrate: false - up Migrator xr (to version 61) should migrate: false - up Migrator Gr (to version 62) should migrate: false - up Migrator zr (to version 63) should migrate: false - up Migrator qr (to version 64) should migrate: false - up Migrator ns (to version 65) should migrate: false - up Migrator cs (to version 66) should migrate: false - up Migrator hs (to version 67) should migrate: false - up Migrator vs (to version 68) should migrate: false - up Migrator bs (to version 69) should migrate: false - up Migrator Cs (to version 70) should migrate: false - up Migrator Rs (to version 71) should migrate: false - up Migrator $s (to version 72) should migrate: false - up Migrator Us (to version 73) should migrate: false - up Migrator Ns (to version 74) should migrate: false - up Migrator qs (to version 3) should migrate: false - up Migrator Ni (to version 4) should migrate: false - up Migrator Dn (to version 5) should migrate: false - up Migrator yr (to version 6) should migrate: false - up Migrator Ss (to version 7) should migrate: false - up Migrator Bs (to version 8) should migrate: false - up Migrator Ls (to version 9) should migrate: false - up Migrator qe (to version 10) should migrate: false - up Migrator Ye (to version 11) should migrate: false - up Migrator Qe (to version 12) should migrate: false - up Migrator it (to version 13) should migrate: false - up Migrator st (to version 14) should migrate: false - up Migrator lt (to version 15) should migrate: false - up Migrator ut (to version 16) should migrate: false - up Migrator mt (to version 17) should migrate: false - up Migrator gt (to version 18) should migrate: false - up Migrator wt (to version 19) should migrate: false - up Migrator kt (to version 20) should migrate: false - up Migrator Ft (to version 21) should migrate: false - up Migrator xt (to version 22) should migrate: false - up Migrator Dt (to version 23) should migrate: false - up Migrator Ut (to version 24) should migrate: false - up Migrator Nt (to version 25) should migrate: false - up Migrator zt (to version 26) should migrate: false - up Migrator qt (to version 27) should migrate: false - up Migrator Yt (to version 28) should migrate: false - up Migrator Wt (to version 29) should migrate: false - up Migrator ei (to version 30) should migrate: false - up Migrator ni (to version 31) should migrate: false - up Migrator oi (to version 32) should migrate: false - up Migrator hi (to version 33) should migrate: false - up Migrator gi (to version 34) should migrate: false - up Migrator wi (to version 35) should migrate: false - up console-log.service.ts:43 Migrator ki (to version 36) should migrate: false - up console-log.service.ts:43 Migrator Fi (to version 37) should migrate: false - up console-log.service.ts:43 Migrator Oi (to version 38) should migrate: false - up console-log.service.ts:43 Migrator Gi (to version 39) should migrate: false - up console-log.service.ts:43 Migrator _i (to version 40) should migrate: false - up console-log.service.ts:43 Migrator Hi (to version 41) should migrate: false - up console-log.service.ts:43 Migrator Zi (to version 42) should migrate: false - up console-log.service.ts:43 Migrator tn (to version 43) should migrate: false - up console-log.service.ts:43 Migrator sn (to version 44) should migrate: false - up console-log.service.ts:43 Migrator un (to version 45) should migrate: false - up console-log.service.ts:43 Migrator mn (to version 46) should migrate: false - up console-log.service.ts:43 Migrator Tn (to version 47) should migrate: false - up console-log.service.ts:43 Migrator Pn (to version 48) should migrate: false - up console-log.service.ts:43 Migrator En (to version 49) should migrate: false - up console-log.service.ts:43 Migrator Gn (to version 50) should migrate: false - up console-log.service.ts:43 Migrator Vn (to version 51) should migrate: false - up console-log.service.ts:43 Migrator zn (to version 52) should migrate: false - up console-log.service.ts:43 Migrator _n (to version 53) should migrate: false - up console-log.service.ts:43 Migrator Wn (to version 54) should migrate: false - up console-log.service.ts:43 Migrator tr (to version 55) should migrate: false - up console-log.service.ts:43 Migrator sr (to version 56) should migrate: false - up console-log.service.ts:43 Migrator cr (to version 57) should migrate: false - up console-log.service.ts:43 Migrator hr (to version 58) should migrate: false - up console-log.service.ts:43 Migrator fr (to version 59) should migrate: false - up console-log.service.ts:43 Migrator kr (to version 60) should migrate: false - up console-log.service.ts:43 Migrator xr (to version 61) should migrate: false - up console-log.service.ts:43 Migrator Gr (to version 62) should migrate: false - up console-log.service.ts:43 Migrator zr (to version 63) should migrate: false - up console-log.service.ts:43 Migrator qr (to version 64) should migrate: false - up console-log.service.ts:43 Migrator ns (to version 65) should migrate: false - up console-log.service.ts:43 Migrator cs (to version 66) should migrate: false - up console-log.service.ts:43 Migrator hs (to version 67) should migrate: false - up console-log.service.ts:43 Migrator vs (to version 68) should migrate: false - up console-log.service.ts:43 Migrator bs (to version 69) should migrate: false - up console-log.service.ts:43 Migrator Cs (to version 70) should migrate: false - up console-log.service.ts:43 Migrator Rs (to version 71) should migrate: false - up console-log.service.ts:43 Migrator $s (to version 72) should migrate: false - up console-log.service.ts:43 Migrator Us (to version 73) should migrate: false - up console-log.service.ts:43 Migrator Ns (to version 74) should migrate: false - up console-log.service.ts:43 Retrieving application id console-log.service.ts:43 Logging in with appId 4c78fab2-df9f-4882-bd6f-225fe734e574. console-log.service.ts:43 [KeyService] Deriving master key took 1648ms console-log.service.ts:43 Vault unlocked 2026-01-08T10:19:14.567Z console-log.service.ts:43 Using SignalR for server notifications console-log.service.ts:43 [LockComponent] Sync took 199ms console-log.service.ts:43 [LockComponent] Private key regeneration took 0ms console-log.service.ts:43 [SignalR] WebSocket connected to wss://REDACTED/notifications/hub?access_token=[REDACTED] console-log.service.ts:43 [SignalR] Using HubProtocol 'messagepack'. console-log.service.ts:43 [EncryptedMigrationsScheduler] No migrations needed for user 6ff106a1-6e72-4c2d-af25-df3bdd99e663 console-log.service.ts:43 [CipherService]: decrypt complete took 2.699999999254942 [Array(2)] console-log.service.ts:43 [SearchService]: index complete took 6.2000000001862645 [Array(2)] console-log.service.ts:43 [EncryptedMigrationsScheduler] No migrations needed for user 6ff106a1-6e72-4c2d-af25-df3bdd99e663 console-log.service.ts:43 [EncryptedMigrationsScheduler] No migrations needed for user 6ff106a1-6e72-4c2d-af25-df3bdd99e663 console-log.service.ts:43 [EncryptedMigrationsScheduler] No migrations needed for user 6ff106a1-6e72-4c2d-af25-df3bdd99e663 console-log.service.ts:43 [EncryptedMigrationsScheduler] No migrations needed for user 6ff106a1-6e72-4c2d-af25-df3bdd99e663 console-log.service.ts:43 [EncryptedMigrationsScheduler] No migrations needed for user 6ff106a1-6e72-4c2d-af25-df3bdd99e663 console-log.service.ts:43 [EncryptedMigrationsScheduler] No migrations needed for user 6ff106a1-6e72-4c2d-af25-df3bdd99e663 console-log.service.ts:51 Async submit exception: TypeError: Cannot read properties of undefined (reading 'find') write @ console-log.service.ts:51 error @ console-log.service.ts:28 (anonymous) @ bit-submit.directive.ts:48 (anonymous) @ catchError.ts:117 o._error @ OperatorSubscriber.ts:79 t.error @ Subscriber.ts:91 (anonymous) @ innerFrom.ts:94 invoke @ zone.js:398 onInvoke @ ng_zone.ts:476 invoke @ zone.js:397 run @ zone.js:113 (anonymous) @ zone.js:2537 invokeTask @ zone.js:431 onInvokeTask @ ng_zone.ts:453 invokeTask @ zone.js:430 runTask @ zone.js:161 y @ zone.js:612 invokeTask @ zone.js:519 b @ zone.js:1141 w @ zone.js:1172 x @ zone.js:1205 ``` ### Screenshots or Videos _No response_ ### Additional Context I explored the error in file `organization-plans.component.ts` the browser, the error is caused by the function ```javascript get selectedPlan() { return this.passwordManagerPlans.find( (plan) => plan.type === this.formGroup.controls.plan.value, ); } ``` The problem is that the passwordManagerPlans is never initialized, causing errors, there are probably more actions affected. The corresponding lines have been commented: ```javascript /* no need to ask /api/plans because Vaultwarden only supports the free plan if (!this.selfHosted) { const plans = await this.apiService.getPlans(); this.passwordManagerPlans = plans.data.filter((plan) => !!plan.PasswordManager); this.secretsManagerPlans = plans.data.filter((plan) => !!plan.SecretsManager); if ( this.productTier === ProductTierType.Enterprise || this.productTier === ProductTierType.Teams ) { this.formGroup.controls.businessOwned.setValue(true); } } const milestone3FeatureEnabled = await this.configService.getFeatureFlag( FeatureFlag.PM26462_Milestone_3, ); this._familyPlan = milestone3FeatureEnabled ? PlanType.FamiliesAnnually : PlanType.FamiliesAnnually2025; if (this.currentPlan && this.currentPlan.productTier !== ProductTierType.Enterprise) { const upgradedPlan = this.passwordManagerPlans.find((plan) => this.currentPlan.productTier === ProductTierType.Free ? plan.type === this._familyPlan : plan.upgradeSortOrder == this.currentPlan.upgradeSortOrder + 1, ); this.plan = upgradedPlan.type; this.productTier = upgradedPlan.productTier; } if (this.hasProvider) { this.formGroup.controls.businessOwned.setValue(true); this.formGroup.controls.clientOwnerEmail.addValidators(Validators.required); this.changedOwnedBusiness(); this.provider = await this.providerApiService.getProvider(this.providerId); const providerDefaultPlan = this.passwordManagerPlans.find( (plan) => plan.type === PlanType.TeamsAnnually, ); this.plan = providerDefaultPlan.type; this.productTier = providerDefaultPlan.productTier; } end of asking /api/plans in Vaultwarden */ ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#175