-
Notifications
You must be signed in to change notification settings - Fork 153
Open
Description
Describe the bug
var license = File.ReadAllText(licensePath);
settings.WithLicense(license, eulaAccepted: true);
var ravenServer = builder
.AddRavenDB(name, settings)
I have verified that license is a valid license file and is valid json.
As a result of this code, the instance still has no license registered on startup.
Regression
No response
Steps to reproduce
Create settings
Use settings.WithLicense(string, true) passing in a valid license.
Call AddRavenDb(name, settings)
Expected behavior
The license should be registered.
Screenshots
No response
IDE and version
VS Code
IDE version
1.106
Nuget packages
CommunityToolkit.Aspire.Hosting.RavenDB
Additional context
I'd help with this, but I have never been able to figure out what the docker container is doing for licenses. I can't figure out where it looks for the license.json by default, I've never been able to, based on the documentation inject one as a file, nor pass it as an environment variable.
Help us help you
No, just wanted to report this
Metadata
Metadata
Assignees
Labels
No labels