Skip to content

Conversation

@j6js
Copy link

@j6js j6js commented Nov 29, 2025

Bitwarden renamed their Unified containers, from the image bitwarden/self-host to bitwarden/lite.

This renames all instances of bitwarden/self-host:beta to bitwarden/lite:beta, and fixes the links and text on the README.

This was done in the bitwarden/self-host repo with this commit.

@GieltjE
Copy link
Contributor

GieltjE commented Dec 5, 2025

Thanks for the update, hadn't noticed it yet.

Your patch changes the line endings in the build.ps1 from CRLF to LF which causes the change to masquerade what was changed.
As powershell studio maintains CRLF that has been the standard thus far.

@GieltjE
Copy link
Contributor

GieltjE commented Dec 5, 2025

Secondary note, think there is something wrong with our patch on the newest versions:

2025-12-05 13:46:36,521 WARN exited: api (terminated by SIGABRT (core dumped); not expected)
2025-12-05 13:46:36,834 WARN exited: identity (terminated by SIGABRT (core dumped); not expected)
2025-12-05 13:46:37,837 INFO spawned: 'identity' with pid 147
2025-12-05 13:46:37,839 INFO spawned: 'api' with pid 148
2025-12-05 13:46:39,714 WARN exited: api (terminated by SIGABRT (core dumped); not expected)
2025-12-05 13:46:39,715 WARN exited: identity (terminated by SIGABRT (core dumped); not expected)
2025-12-05 13:46:41,719 INFO spawned: 'identity' with pid 172
2025-12-05 13:46:41,721 INFO spawned: 'api' with pid 173
2025-12-05 13:46:43,674 WARN exited: identity (terminated by SIGABRT (core dumped); not expected)
2025-12-05 13:46:43,675 WARN exited: api (terminated by SIGABRT (core dumped); not expected)
2025-12-05 13:46:46,680 INFO spawned: 'identity' with pid 198
2025-12-05 13:46:46,682 INFO spawned: 'api' with pid 199
2025-12-05 13:46:48,564 WARN exited: identity (terminated by SIGABRT (core dumped); not expected)
2025-12-05 13:46:48,565 INFO gave up: identity entered FATAL state, too many start retries too quickly

Reverting back fixes the problem for now, will see if I can have a look at it tonight.

@GieltjE
Copy link
Contributor

GieltjE commented Dec 5, 2025

Since the "unified" naming scheme has completely been discontinued I think we should rename the branch too.
@jakeswenson Can we get this changed?

@j6js
Copy link
Author

j6js commented Dec 5, 2025

Hey @GieltjE, sorry I accidentally changed the line endings, I'm on a Mac and didn't realise that. My apologies!

Anyways, I've gone and changed them to CRLF now. Also, I do agree that the branch name should be changed.

@h44z
Copy link
Collaborator

h44z commented Dec 6, 2025

Since the "unified" naming scheme has completely been discontinued I think we should rename the branch too. @jakeswenson Can we get this changed?

@GieltjE we can rename the branch, but this would potentially break existing installations as a git pull would result in an error? If the branch is renamed, we somehow need to provide instructions to update the local branch:

git branch -m unified lite
git fetch origin
git branch -u origin/lite lite
git remote set-head origin -a

@GieltjE
Copy link
Contributor

GieltjE commented Dec 8, 2025

Agreed that it might brake some installations, but as BitWarden themselves have updated the product name and there probably are very few users of this branch (was utterly broken till my big commits a while back and is broken now due to something that needs to be fixed: #265 (comment)).
There is a strong case for fixing the naming now and confusing less people lateron.

@GieltjE
Copy link
Contributor

GieltjE commented Dec 8, 2025

licenseGen.ps1 has also been converted to LF instead of CRLF

@j6js
Copy link
Author

j6js commented Dec 8, 2025

I have made all ps1 files checkout as CRLF in the .gitattributes file now. Also, the licenseGen.ps1 was already in CRLF? (at least from what I can see)

@GieltjE
Copy link
Contributor

GieltjE commented Dec 8, 2025

When you look at the result commit only the changes should be visible, if all lines have changed something has gone wrong usualy.

@GieltjE
Copy link
Contributor

GieltjE commented Dec 8, 2025

Still trying to figure out why it breaks when I switch over to the new branch.

Does yours work?

-Update-
Ran a quick test:

docker run -d --name bitwarden -v /tmp/bwdata/:/etc/bitwarden -p 8011:8080 ghcr.io/bitwarden/lite

Which resulted in the same exceptions, don't think our work has anything to do with it.

@GieltjE
Copy link
Contributor

GieltjE commented Dec 8, 2025

Also should we move from "ghcr.io/bitwarden/lite:beta" to "ghcr.io/bitwarden/lite" as that's the one used by the official documentation?

@Jgigantino31
Copy link
Contributor

Should be :latest instead of :beta? I believe latest is assumed by docker if no tag is provided but it’s probably best to explicitly state that.

https://github.com/bitwarden/self-host/pkgs/container/lite/versions?filters%5Bversion_type%5D=tagged

@j6js
Copy link
Author

j6js commented Dec 8, 2025

@GieltjE I've just run the same tests, and there's no problem on my side, container runs fine.

@GieltjE
Copy link
Contributor

GieltjE commented Dec 8, 2025

@GieltjE I've just run the same tests, and there's no problem on my side, container runs fine.

Weird, tried multiple servers, even ones that have never had bitwarden on it, all fail with the same errors.

@j6js
Copy link
Author

j6js commented Dec 8, 2025

Could you show what the errors are? Is it from Docker or something else?

@GieltjE
Copy link
Contributor

GieltjE commented Dec 8, 2025

#265 (comment)

These just keep repeating.

warn: Microsoft.AspNetCore.Hosting.Diagnostics[15]
      Overriding HTTP_PORTS '8080' and HTTPS_PORTS ''. Binding to values defined by URLS instead 'http://+:5001'.
crit: Microsoft.AspNetCore.Hosting.Diagnostics[6]
      Application startup exception
      System.MissingMethodException: Method not found: 'Boolean Bit.Core.Settings.IGlobalSettings.get_UnifiedDeployment()'.
         at Bit.SharedWeb.Utilities.ServiceCollectionExtensions.UseForwardedHeaders(IApplicationBuilder app, IGlobalSettings globalSettings)
         at Bit.Api.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env, IHostApplicationLifetime appLifetime, GlobalSettings globalSettings, ILogger`1 logger) in /source/src/Api/Startup.cs:line 257
         at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
         at System.Reflection.MethodBaseInvoker.InvokeWithManyArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
         at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
         at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
2025-12-08 21:22:45.581 +00:00 [FTL] Application startup exception
System.MissingMethodException: Method not found: 'Boolean Bit.Core.Settings.IGlobalSettings.get_UnifiedDeployment()'.
   at Bit.SharedWeb.Utilities.ServiceCollectionExtensions.UseForwardedHeaders(IApplicationBuilder app, IGlobalSettings globalSettings)
   at Bit.Api.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env, IHostApplicationLifetime appLifetime, GlobalSettings globalSettings, ILogger`1 logger) in /source/src/Api/Startup.cs:line 257
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithManyArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
   at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
2025-12-08 21:22:45.624 +00:00 [ERR] Hosting failed to start
System.MissingMethodException: Method not found: 'Boolean Bit.Core.Settings.IGlobalSettings.get_UnifiedDeployment()'.
   at Bit.SharedWeb.Utilities.ServiceCollectionExtensions.UseForwardedHeaders(IApplicationBuilder app, IGlobalSettings globalSettings)
   at Bit.Api.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env, IHostApplicationLifetime appLifetime, GlobalSettings globalSettings, ILogger`1 logger) in /source/src/Api/Startup.cs:line 257
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithManyArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
   at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
   at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
urrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
Unhandled exception. System.MissingMethodException: Method not found: 'Boolean Bit.Core.Settings.IGlobalSettings.get_UnifiedDeployment()'.
   at Bit.SharedWeb.Utilities.ServiceCollectionExtensions.UseForwardedHeaders(IApplicationBuilder app, IGlobalSettings globalSettings)
   at Bit.Api.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env, IHostApplicationLifetime appLifetime, GlobalSettings globalSettings, ILogger`1 logger) in /source/src/Api/Startup.cs:line 257
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithManyArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
   at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
   at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
   at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
   at Bit.Api.Program.Main(String[] args) in /source/src/Api/Program.cs:line 14
warn: Microsoft.AspNetCore.Hosting.Diagnostics[15]
      Overriding HTTP_PORTS '8080' and HTTPS_PORTS ''. Binding to values defined by URLS instead 'http://+:5001'.
crit: Microsoft.AspNetCore.Hosting.Diagnostics[6]
      Application startup exception
      System.MissingMethodException: Method not found: 'Boolean Bit.Core.Settings.IGlobalSettings.get_UnifiedDeployment()'.
         at Bit.SharedWeb.Utilities.ServiceCollectionExtensions.UseForwardedHeaders(IApplicationBuilder app, IGlobalSettings globalSettings)
         at Bit.Api.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env, IHostApplicationLifetime appLifetime, GlobalSettings globalSettings, ILogger`1 logger) in /source/src/Api/Startup.cs:line 257
         at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
         at System.Reflection.MethodBaseInvoker.InvokeWithManyArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
         at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
         at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
2025-12-08 21:22:52.025 +00:00 [FTL] Application startup exception
System.MissingMethodException: Method not found: 'Boolean Bit.Core.Settings.IGlobalSettings.get_UnifiedDeployment()'.
   at Bit.SharedWeb.Utilities.ServiceCollectionExtensions.UseForwardedHeaders(IApplicationBuilder app, IGlobalSettings globalSettings)
   at Bit.Api.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env, IHostApplicationLifetime appLifetime, GlobalSettings globalSettings, ILogger`1 logger) in /source/src/Api/Startup.cs:line 257
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithManyArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
   at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
2025-12-08 21:22:52.072 +00:00 [ERR] Hosting failed to start
System.MissingMethodException: Method not found: 'Boolean Bit.Core.Settings.IGlobalSettings.get_UnifiedDeployment()'.
   at Bit.SharedWeb.Utilities.ServiceCollectionExtensions.UseForwardedHeaders(IApplicationBuilder app, IGlobalSettings globalSettings)
   at Bit.Api.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env, IHostApplicationLifetime appLifetime, GlobalSettings globalSettings, ILogger`1 logger) in /source/src/Api/Startup.cs:line 257
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithManyArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
   at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
   at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
urrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
Unhandled exception. System.MissingMethodException: Method not found: 'Boolean Bit.Core.Settings.IGlobalSettings.get_UnifiedDeployment()'.
   at Bit.SharedWeb.Utilities.ServiceCollectionExtensions.UseForwardedHeaders(IApplicationBuilder app, IGlobalSettings globalSettings)
   at Bit.Api.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env, IHostApplicationLifetime appLifetime, GlobalSettings globalSettings, ILogger`1 logger) in /source/src/Api/Startup.cs:line 257
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithManyArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
   at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
   at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
   at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
   at Bit.Api.Program.Main(String[] args) in /source/src/Api/Program.cs:line 14
crit: Microsoft.AspNetCore.Hosting.Diagnostics[6]
      Application startup exception
      System.MissingMethodException: Method not found: 'Boolean Bit.Core.Settings.IGlobalSettings.get_UnifiedDeployment()'.
         at Bit.SharedWeb.Utilities.ServiceCollectionExtensions.UseForwardedHeaders(IApplicationBuilder app, IGlobalSettings globalSettings)
         at Bit.Identity.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env, IHostApplicationLifetime appLifetime, GlobalSettings globalSettings, ILogger`1 logger) in /source/src/Identity/Startup.cs:line 197
         at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
         at System.Reflection.MethodBaseInvoker.InvokeWithManyArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
         at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
         at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
2025-12-08 21:22:38.823 +00:00 [FTL] Application startup exception
System.MissingMethodException: Method not found: 'Boolean Bit.Core.Settings.IGlobalSettings.get_UnifiedDeployment()'.
   at Bit.SharedWeb.Utilities.ServiceCollectionExtensions.UseForwardedHeaders(IApplicationBuilder app, IGlobalSettings globalSettings)
   at Bit.Identity.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env, IHostApplicationLifetime appLifetime, GlobalSettings globalSettings, ILogger`1 logger) in /source/src/Identity/Startup.cs:line 197
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithManyArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
   at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
2025-12-08 21:22:38.866 +00:00 [ERR] Hosting failed to start
System.MissingMethodException: Method not found: 'Boolean Bit.Core.Settings.IGlobalSettings.get_UnifiedDeployment()'.
   at Bit.SharedWeb.Utilities.ServiceCollectionExtensions.UseForwardedHeaders(IApplicationBuilder app, IGlobalSettings globalSettings)
   at Bit.Identity.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env, IHostApplicationLifetime appLifetime, GlobalSettings globalSettings, ILogger`1 logger) in /source/src/Identity/Startup.cs:line 197
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithManyArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
   at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
   at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
urrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
Unhandled exception. System.MissingMethodException: Method not found: 'Boolean Bit.Core.Settings.IGlobalSettings.get_UnifiedDeployment()'.
   at Bit.SharedWeb.Utilities.ServiceCollectionExtensions.UseForwardedHeaders(IApplicationBuilder app, IGlobalSettings globalSettings)
   at Bit.Identity.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env, IHostApplicationLifetime appLifetime, GlobalSettings globalSettings, ILogger`1 logger) in /source/src/Identity/Startup.cs:line 197
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithManyArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
   at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
   at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
   at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
   at Bit.Identity.Program.Main(String[] args) in /source/src/Identity/Program.cs:line 13
warn: Microsoft.AspNetCore.Hosting.Diagnostics[15]
      Overriding HTTP_PORTS '8080' and HTTPS_PORTS ''. Binding to values defined by URLS instead 'http://+:5005'.
crit: Microsoft.AspNetCore.Hosting.Diagnostics[6]
      Application startup exception
      System.MissingMethodException: Method not found: 'Boolean Bit.Core.Settings.IGlobalSettings.get_UnifiedDeployment()'.
         at Bit.SharedWeb.Utilities.ServiceCollectionExtensions.UseForwardedHeaders(IApplicationBuilder app, IGlobalSettings globalSettings)
         at Bit.Identity.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env, IHostApplicationLifetime appLifetime, GlobalSettings globalSettings, ILogger`1 logger) in /source/src/Identity/Startup.cs:line 197
         at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
         at System.Reflection.MethodBaseInvoker.InvokeWithManyArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
         at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
         at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
2025-12-08 21:22:44.301 +00:00 [FTL] Application startup exception
System.MissingMethodException: Method not found: 'Boolean Bit.Core.Settings.IGlobalSettings.get_UnifiedDeployment()'.
   at Bit.SharedWeb.Utilities.ServiceCollectionExtensions.UseForwardedHeaders(IApplicationBuilder app, IGlobalSettings globalSettings)
   at Bit.Identity.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env, IHostApplicationLifetime appLifetime, GlobalSettings globalSettings, ILogger`1 logger) in /source/src/Identity/Startup.cs:line 197
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithManyArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
   at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
2025-12-08 21:22:44.344 +00:00 [ERR] Hosting failed to start
System.MissingMethodException: Method not found: 'Boolean Bit.Core.Settings.IGlobalSettings.get_UnifiedDeployment()'.
   at Bit.SharedWeb.Utilities.ServiceCollectionExtensions.UseForwardedHeaders(IApplicationBuilder app, IGlobalSettings globalSettings)
   at Bit.Identity.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env, IHostApplicationLifetime appLifetime, GlobalSettings globalSettings, ILogger`1 logger) in /source/src/Identity/Startup.cs:line 197
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithManyArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
   at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
   at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
urrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
Unhandled exception. System.MissingMethodException: Method not found: 'Boolean Bit.Core.Settings.IGlobalSettings.get_UnifiedDeployment()'.
   at Bit.SharedWeb.Utilities.ServiceCollectionExtensions.UseForwardedHeaders(IApplicationBuilder app, IGlobalSettings globalSettings)
   at Bit.Identity.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env, IHostApplicationLifetime appLifetime, GlobalSettings globalSettings, ILogger`1 logger) in /source/src/Identity/Startup.cs:line 197
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithManyArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
   at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
   at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
   at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
   at Bit.Identity.Program.Main(String[] args) in /source/src/Identity/Program.cs:line 13
warn: Microsoft.AspNetCore.Hosting.Diagnostics[15]
      Overriding HTTP_PORTS '8080' and HTTPS_PORTS ''. Binding to values defined by URLS instead 'http://+:5005'.
crit: Microsoft.AspNetCore.Hosting.Diagnostics[6]
      Application startup exception
      System.MissingMethodException: Method not found: 'Boolean Bit.Core.Settings.IGlobalSettings.get_UnifiedDeployment()'.
         at Bit.SharedWeb.Utilities.ServiceCollectionExtensions.UseForwardedHeaders(IApplicationBuilder app, IGlobalSettings globalSettings)
         at Bit.Identity.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env, IHostApplicationLifetime appLifetime, GlobalSettings globalSettings, ILogger`1 logger) in /source/src/Identity/Startup.cs:line 197
         at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
         at System.Reflection.MethodBaseInvoker.InvokeWithManyArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
         at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
         at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
2025-12-08 21:22:50.886 +00:00 [FTL] Application startup exception
System.MissingMethodException: Method not found: 'Boolean Bit.Core.Settings.IGlobalSettings.get_UnifiedDeployment()'.
   at Bit.SharedWeb.Utilities.ServiceCollectionExtensions.UseForwardedHeaders(IApplicationBuilder app, IGlobalSettings globalSettings)
   at Bit.Identity.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env, IHostApplicationLifetime appLifetime, GlobalSettings globalSettings, ILogger`1 logger) in /source/src/Identity/Startup.cs:line 197
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithManyArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
   at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
2025-12-08 21:22:50.927 +00:00 [ERR] Hosting failed to start
System.MissingMethodException: Method not found: 'Boolean Bit.Core.Settings.IGlobalSettings.get_UnifiedDeployment()'.
   at Bit.SharedWeb.Utilities.ServiceCollectionExtensions.UseForwardedHeaders(IApplicationBuilder app, IGlobalSettings globalSettings)
   at Bit.Identity.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env, IHostApplicationLifetime appLifetime, GlobalSettings globalSettings, ILogger`1 logger) in /source/src/Identity/Startup.cs:line 197
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithManyArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
   at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
   at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
urrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
Unhandled exception. System.MissingMethodException: Method not found: 'Boolean Bit.Core.Settings.IGlobalSettings.get_UnifiedDeployment()'.
   at Bit.SharedWeb.Utilities.ServiceCollectionExtensions.UseForwardedHeaders(IApplicationBuilder app, IGlobalSettings globalSettings)
   at Bit.Identity.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env, IHostApplicationLifetime appLifetime, GlobalSettings globalSettings, ILogger`1 logger) in /source/src/Identity/Startup.cs:line 197
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithManyArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
   at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
   at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
   at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
   at Bit.Identity.Program.Main(String[] args) in /source/src/Identity/Program.cs:line 13

@j6js
Copy link
Author

j6js commented Dec 8, 2025

Oh, that's because there isn't env vars for it (or the env is invalid), I believe, at least from the shorter logs a bit earlier.

There's this example file.

bitwarden/server #2493

@GieltjE
Copy link
Contributor

GieltjE commented Dec 8, 2025

Oh, that's because there isn't env vars for it (or the env is invalid), I believe, at least from the shorter logs a bit earlier.

There's this example file.

bitwarden/server #2493

Yup, when launching it with the old data cleanly it works, just after patching it fails for some reason.
The weird part is that even when I disable the whole login in Program.cs it still fails (only rebuild the container).

@j6js
Copy link
Author

j6js commented Dec 8, 2025

I've just run another full test, and it runs and starts completely fine, no errors or warns on the container logs, and the whole container functions perfectly.

FYI, my test server is Ubuntu 25.10 aarch64, and both the official and patched containers work perfectly there.

@GieltjE
Copy link
Contributor

GieltjE commented Dec 8, 2025

Was being an idiot, was referencing some old cached files.

I'd say let's push this and get the branch renamed too while we're at it.

@h44z can you push this patchset through?

@h44z h44z merged commit f6d7470 into jakeswenson:unified Dec 8, 2025
1 check passed
@h44z
Copy link
Collaborator

h44z commented Dec 8, 2025

Should we rename the branch to lite?

@GieltjE
Copy link
Contributor

GieltjE commented Dec 8, 2025

Should we rename the branch to lite?

Yes, please rename it, no better time than now.
I'll whip up some patches redirecting people and add a notification on how to change branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants