diff --git a/src/ServiceControl/Infrastructure/RavenDB/RavenBootstrapper.cs b/src/ServiceControl/Infrastructure/RavenDB/RavenBootstrapper.cs index 9dac14d825..b3534c263c 100644 --- a/src/ServiceControl/Infrastructure/RavenDB/RavenBootstrapper.cs +++ b/src/ServiceControl/Infrastructure/RavenDB/RavenBootstrapper.cs @@ -47,6 +47,8 @@ public static string ReadLicense() public void StartRaven(EmbeddableDocumentStore documentStore, Settings settings, MarkerFileService markerFileService, bool maintenanceMode) { + Settings = settings; + Directory.CreateDirectory(settings.DbPath); documentStore.Listeners.RegisterListener(new SubscriptionsLegacyAddressConverter());