Seq Documentation and Support

Welcome to the Seq documentation hub. You'll find comprehensive guides and documentation to help you start working with Seq as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    
Ask A Question

Questions

8

Autofac.Core.DependencyResolutionException on startup

Hi, I'm running Seq on docker and recently getting an exception on startup. Any ideas? Here are the logs: ──────────────────────────────────────── Seq ♦ Machine data, for humans. ─────────── © 2019 Datalust Pty Ltd ──── Running as server; press Ctrl+C to exit. [18:15:16 INF] Seq "5.1.3118" running on OS "Linux 4.15.0-1055-azure #60-Ubuntu SMP Thu Aug 8 18:29:07 UTC 2019" [18:15:18 INF] Seq listening on ["http://localhost/", "http://localhost:5341/"] [18:15:18 INF] Seq using canonical URI "https://***/" [18:15:18 INF] Opening document store "/data/Documents/documents.lmdb" thread '<unnamed>' panicked at 'assertion failed: self.remaining() >= dst.len()', /rust/cargo/registry/src/github.com-1ecc6299db9ec823/bytes-0.4.12/src/buf/buf.rs:242:9note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace. [18:15:19 INF] Closing document store [18:15:19 ERR] Uncaught exception from worker "Start background processes" ("e9498c73-d8e8-40c5-b7c4-a95f7a1fb282") Autofac.Core.DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = TelemetryController (ReflectionActivator), Services = [Seq.Server.Features.Telemetry.TelemetryController], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = SystemSettings (ReflectionActivator), Services = [Seq.Server.Features.Settings.SystemSettings], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = IDocumentStore (DelegateActivator), Services = [Quince.IDocumentStore], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = StorageSubsystem (DelegateActivator), Services = [Seq.Server.Storage.StorageSubsystem], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> Flare native storage failed (InternalError), internal panic with 'assertion failed: self.remaining() >= dst.len()' (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) ---> Autofac.Core.DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = SystemSettings (ReflectionActivator), Services = [Seq.Server.Features.Settings.SystemSettings], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = IDocumentStore (DelegateActivator), Services = [Quince.IDocumentStore], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = StorageSubsystem (DelegateActivator), Services = [Seq.Server.Storage.StorageSubsystem], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> Flare native storage failed (InternalError), internal panic with 'assertion failed: self.remaining() >= dst.len()' (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) ---> Autofac.Core.DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = IDocumentStore (DelegateActivator), Services = [Quince.IDocumentStore], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = StorageSubsystem (DelegateActivator), Services = [Seq.Server.Storage.StorageSubsystem], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> Flare native storage failed (InternalError), internal panic with 'assertion failed: self.remaining() >= dst.len()' (See inner exception for details.) (See inner exception for details.) ---> Autofac.Core.DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = StorageSubsystem (DelegateActivator), Services = [Seq.Server.Storage.StorageSubsystem], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> Flare native storage failed (InternalError), internal panic with 'assertion failed: self.remaining() >= dst.len()' (See inner exception for details.) ---> System.Exception: Flare native storage failed (InternalError), internal panic with 'assertion failed: self.remaining() >= dst.len()' at Flare.Storage.Native.FlareResult.EnsureSuccess() at Flare.Storage.Store.Open(String path) at Flare.Storage.Native.FlareStorageExtent.OpenStore() at Flare.Storage.Native.FlareStorageExtent..ctor(IStorageEngine storageEngine, ExtentRange range, String dataFile) at Flare.Storage.Native.FlareStorageEngine.CreateExtent(ExtentRange range, String dataFile, String instanceName) at Flare.Storage.Extents.ExtentMap..ctor(IStorageEngine[] storageEngines, String extentsPath) at Flare.Events.EventStore..ctor(IStorageEngine[] storageEngines, String extentsPath, WorkerPool workerPool, MemoryThresholds memoryThresholds, BroadcastChannel broadcast, IClock clock) at Seq.Server.SeqServerModule.InitStorageSubsystem(IComponentContext c) at Autofac.Builder.RegistrationBuilder.<>c__DisplayClass0_0`1.<ForDelegate>b__0(IComponentContext c, IEnumerable`1 p) at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget) --- End of inner exception stack trace --- at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget) at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator) at Autofac.Core.Resolving.InstanceLookup.Execute() at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance) at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters) at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context, IEnumerable`1 parameters) at Seq.Server.SeqServerModule.<>c.<Load>b__14_10(IComponentContext c) at Autofac.Builder.RegistrationBuilder.<>c__DisplayClass0_0`1.<ForDelegate>b__0(IComponentContext c, IEnumerable`1 p) at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget) --- End of inner exception stack trace --- at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget) at Autofac.Core.Resolving.InstanceLookup.Execute() at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget) --- End of inner exception stack trace --- at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget) at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator) at Autofac.Core.Resolving.InstanceLookup.Execute() at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget) --- End of inner exception stack trace --- at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget) at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator) at Autofac.Core.Resolving.InstanceLookup.Execute() at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters) at Autofac.Features.LazyDependencies.LazyRegistrationSource.<>c__DisplayClass5_1`1.<CreateLazyRegistration>b__1() at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode) at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor) at System.Lazy`1.CreateValue() at Seq.Server.ServiceProcess.ServerService.<Start>b__13_0(CancellationToken cancel) at Flare.Workers.WorkerPool.<>c__DisplayClass4_0.<Run>g__DoWork|0()

Posted by Yohan Belval about a year ago

4

Docker image for Windows volume

This is a continuation of https://docs.datalust.co/discuss/5d49af3c1f12320049b6f48f I have the Seq server running in a Windows container but it can only run stateless, meaning the log data is stored inside the container and any logs and signals are lost when the container stops. I configured the Seq server to use `C:\Data` as the log directory and when I start the container with a volume mapping it works the first time but if I start a new container with a previous volume it doesn't start. Log messages are... ## First Time ``` Starting Seq... Installing service... Creating a new configuration file in C:\ProgramData\Seq\Seq.json... [SC] CreateService SUCCESS Setting service restart policy... [SC] ChangeServiceConfig2 SUCCESS Setting service description... [SC] ChangeServiceConfig2 SUCCESS Service installed successfully. Starting Seq... Waiting up to 15 seconds for the service to start (currently: Stopped)... Started. Startup logs: {"@t":"2019-08-22T18:32:47.8412725Z","@mt":"Seq {SeqVersion} running on OS {OSCaption}","SeqVersion":"5.1.3118","OSCaption":"Microsoft ","SourceContext":"Seq.Server.Features.Diagnostics.EnvironmentInformationWriter"} {"@t":"2019-08-22T18:32:47.9008277Z","@mt":"Running in Windows Service host"} {"@t":"2019-08-22T18:32:49.3225371Z","@mt":"Seq listening on {ListenUris}","ListenUris":["http://localhost:5341/"]} {"@t":"2019-08-22T18:32:49.3861789Z","@mt":"Opening document store {DatabasePath}","DatabasePath":"C:\\Data\\Documents\\default.quince","InstanceName":"Quince","SourceContext":"Quince.Storage.Esent.EsentDocumentStore"} {"@t":"2019-08-22T18:32:49.4467101Z","@mt":"Creating new data file at {DatabasePath}","DatabasePath":"C:\\Data\\Documents\\default.quince","InstanceName":"Quince","SourceContext":"Quince.Storage.Esent.EsentDocumentStore"} {"@t":"2019-08-22T18:32:49.6315457Z","@mt":"Opening event store at {ExtentsPath}","ExtentsPath":"C:\\Data\\Extents","SourceContext":"Flare.Events.EventStore"} {"@t":"2019-08-22T18:32:49.6320081Z","@mt":"Available storage engines in order of preference are {Engines}","Engines":["FLARE","ESENT","LMDB"],"SourceContext":"Flare.Events.EventStore"} {"@t":"2019-08-22T18:32:49.7645342Z","@mt":"Creating {SchemaVersions} table","SchemaVersions":"SchemaVersions","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:49.8057342Z","@mt":"Applying migration {MigrationName}","MigrationName":"Prevent unsupported v1.x upgrades","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:49.8277781Z","@mt":"Applying migration {MigrationName}","MigrationName":"Create the built-in roles","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:49.8550385Z","@mt":"Applying migration {MigrationName}","MigrationName":"Assign roles to existing users","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:49.8612245Z","@mt":"Applying migration {MigrationName}","MigrationName":"Check for App instances without Apps","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:49.8743253Z","@mt":"Applying migration {MigrationName}","MigrationName":"Create the server license","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:49.8815886Z","@mt":"Applying migration {MigrationName}","MigrationName":"Create the Administrator account","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:49.9062482Z","@mt":"Applying migration {MigrationName}","MigrationName":"Configure the public NuGet feed","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:49.9214646Z","@mt":"Applying migration {MigrationName}","MigrationName":"Store the default system configuration","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:49.9307087Z","@mt":"Applying migration {MigrationName}","MigrationName":"Ensure the license supports this version - 5.1.3118.0","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:49.9715524Z","@mt":"Applying migration {MigrationName}","MigrationName":"Ensure the default system configuration has an id","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:49.9787298Z","@mt":"Applying migration {MigrationName}","MigrationName":"Apply master key to app settings","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:49.9833334Z","@mt":"Applying migration {MigrationName}","MigrationName":"Re-encrypt NuGet feed passwords with portable key","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:49.9923523Z","@mt":"Applying migration {MigrationName}","MigrationName":"Configure default SQL queries","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.0199736Z","@mt":"Applying migration {MigrationName}","MigrationName":"Make default queries visible to all users","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.0522565Z","@mt":"Applying migration {MigrationName}","MigrationName":"Configure default signals","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.0691985Z","@mt":"Applying migration {MigrationName}","MigrationName":"Make default signals visible to all users","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.0892630Z","@mt":"Applying migration {MigrationName}","MigrationName":"Map user accounts to the default AD domain, if one is configured","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.0930953Z","@mt":"Applying migration {MigrationName}","MigrationName":"Check for early preview chart format and update","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.1002407Z","@mt":"Applying migration {MigrationName}","MigrationName":"Migrate charts to new dashboards","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.1104620Z","@mt":"Applying migration {MigrationName}","MigrationName":"Create the shared overview dashboard","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.1540764Z","@mt":"Applying migration {MigrationName}","MigrationName":"Create the default API key","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.1627956Z","@mt":"Applying migration {MigrationName}","MigrationName":"Migrate pins to permalinks","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.1660761Z","@mt":"Applying migration {MigrationName}","MigrationName":"Convert app instance input to signal expression","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.1818515Z","@mt":"Applying migration {MigrationName}","MigrationName":"Convert retention policy target to signal expression","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.1858537Z","@mt":"Applying migration {MigrationName}","MigrationName":"Convert dashboard chart signals to expressions","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.3422755Z","@mt":"Applying migration {MigrationName}","MigrationName":"Convert default signal ids to expression","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.3456080Z","@mt":"Applying migration {MigrationName}","MigrationName":"Apply groupings to initial signals","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.3786099Z","@mt":"Applying migration {MigrationName}","MigrationName":"Show built-in signals to new users upon creation","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.3915736Z","@mt":"Applying migration {MigrationName}","MigrationName":"Completely remove obsolete email app instances","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.3969741Z","@mt":"Applying migration {MigrationName}","MigrationName":"Rename `Signal.IsRestricted` to `IsProtected`","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.4144857Z","@mt":"Applying migration {MigrationName}","MigrationName":"Update existing API keys to store hashes","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.4215118Z","@mt":"Applying migration {MigrationName}","MigrationName":"Convert API key configuration to permissions","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.4459308Z","@mt":"Applying migration {MigrationName}","MigrationName":"Embed permalinked events in permalink documents","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.4506854Z","@mt":"Applying migration {MigrationName}","MigrationName":"Assign index ids to signals","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.4546186Z","@mt":"Applying migration {MigrationName}","MigrationName":"Pre-existing dashboards are protected by default","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.4634828Z","@mt":"Setting protected flag on {DashboardId}","DashboardId":"dashboard-14"} {"@t":"2019-08-22T18:32:50.4657854Z","@mt":"Applying migration {MigrationName}","MigrationName":"Create retention policy bookmarks","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.4692027Z","@mt":"Applying migration {MigrationName}","MigrationName":"User default workspace reflects earlier view","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.4735379Z","@mt":"Creating default workspace for {UserId}","UserId":"user-admin"} {"@t":"2019-08-22T18:32:50.4807465Z","@mt":"Applying migration {MigrationName}","MigrationName":"New user defaults include shared dashboards","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.4859938Z","@mt":"Applying migration {MigrationName}","MigrationName":"Update app invocation control properties","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.4908765Z","@mt":"Applying migration {MigrationName}","MigrationName":"Extend the built-in roles","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.4970124Z","@mt":"Applying migration {MigrationName}","MigrationName":"Set the default roles for new users","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.5012615Z","@mt":"Applying migration {MigrationName}","MigrationName":"Personal dashboards are never protected","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.5061623Z","@mt":"Storage subsystem available"} ``` ## Second Time ``` Starting Seq... Installing service... Creating a new configuration file in C:\ProgramData\Seq\Seq.json... [SC] CreateService SUCCESS Setting service restart policy... [SC] ChangeServiceConfig2 SUCCESS Setting service description... [SC] ChangeServiceConfig2 SUCCESS Service installed successfully. Starting Seq... Waiting up to 15 seconds for the service to start (currently: Stopped)... Started. Startup logs: {"@t":"2019-08-22T18:33:32.1290539Z","@mt":"Seq {SeqVersion} running on OS {OSCaption}","SeqVersion":"5.1.3118","OSCaption":"Microsoft ","SourceContext":"Seq.Server.Features.Diagnostics.EnvironmentInformationWriter"} {"@t":"2019-08-22T18:33:32.1920393Z","@mt":"Running in Windows Service host"} ```

Posted by Brian Harwell about a year ago

1

seq does not satrtup

Hi, I have installed seq, but when i try to browse seq it tries to download a file 5341, i am not sure what i am missing here. here is the logs i get {"@t":"2019-08-12T15:10:31.7965882Z","@mt":"Seq {SeqVersion} running on OS {OSCaption}","SeqVersion":"5.1.3118","OSCaption":"Microsoft Windows 7 Enterprise ","SourceContext":"Seq.Server.Features.Diagnostics.EnvironmentInformationWriter"} {"@t":"2019-08-12T15:10:31.8495935Z","@mt":"Running in Windows Service host"} {"@t":"2019-08-12T15:10:32.7126798Z","@mt":"Seq listening on {ListenUris}","ListenUris":["http://localhost:5341/"]} {"@t":"2019-08-12T15:10:32.7366822Z","@mt":"Uncaught exception from worker {WorkDescription} ({WorkId})","@l":"Error","@x":"Autofac.Core.DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = TelemetryController (ReflectionActivator), Services = [Seq.Server.Features.Telemetry.TelemetryController], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = SystemSettings (ReflectionActivator), Services = [Seq.Server.Features.Settings.SystemSettings], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = IDocumentStore (DelegateActivator), Services = [Quince.IDocumentStore], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = StorageSubsystem (DelegateActivator), Services = [Seq.Server.Storage.StorageSubsystem], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> Unable to load DLL 'Native\\flare.dll' or one of its dependencies: The specified procedure could not be found. (Exception from HRESULT: 0x8007007F) (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) ---> Autofac.Core.DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = SystemSettings (ReflectionActivator), Services = [Seq.Server.Features.Settings.SystemSettings], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = IDocumentStore (DelegateActivator), Services = [Quince.IDocumentStore], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = StorageSubsystem (DelegateActivator), Services = [Seq.Server.Storage.StorageSubsystem], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> Unable to load DLL 'Native\\flare.dll' or one of its dependencies: The specified procedure could not be found. (Exception from HRESULT: 0x8007007F) (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) ---> Autofac.Core.DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = IDocumentStore (DelegateActivator), Services = [Quince.IDocumentStore], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = StorageSubsystem (DelegateActivator), Services = [Seq.Server.Storage.StorageSubsystem], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> Unable to load DLL 'Native\\flare.dll' or one of its dependencies: The specified procedure could not be found. (Exception from HRESULT: 0x8007007F) (See inner exception for details.) (See inner exception for details.) ---> Autofac.Core.DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = StorageSubsystem (DelegateActivator), Services = [Seq.Server.Storage.StorageSubsystem], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> Unable to load DLL 'Native\\flare.dll' or one of its dependencies: The specified procedure could not be found. (Exception from HRESULT: 0x8007007F) (See inner exception for details.) ---> System.DllNotFoundException: Unable to load DLL 'Native\\flare.dll' or one of its dependencies: The specified procedure could not be found. (Exception from HRESULT: 0x8007007F)\r\n at Flare.Storage.Native.Bindings.flare_init(IntPtr logPath, UIntPtr logPathLen)\r\n at Flare.Storage.Engine.Initialize(String logFilePath)\r\n at Seq.Server.SeqServerModule.InitStorageSubsystem(IComponentContext c)\r\n at Autofac.Builder.RegistrationBuilder.<>c__DisplayClass0_0`1.<ForDelegate>b__0(IComponentContext c, IEnumerable`1 p)\r\n at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)\r\n at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget)\r\n --- End of inner exception stack trace ---\r\n at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget)\r\n at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator)\r\n at Autofac.Core.Resolving.InstanceLookup.Execute()\r\n at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)\r\n at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)\r\n at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)\r\n at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context, IEnumerable`1 parameters)\r\n at Seq.Server.SeqServerModule.<>c.<Load>b__14_10(IComponentContext c)\r\n at Autofac.Builder.RegistrationBuilder.<>c__DisplayClass0_0`1.<ForDelegate>b__0(IComponentContext c, IEnumerable`1 p)\r\n at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)\r\n at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget)\r\n --- End of inner exception stack trace ---\r\n at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget)\r\n at Autofac.Core.Resolving.InstanceLookup.Execute()\r\n at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)\r\n at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()\r\n at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)\r\n at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget)\r\n --- End of inner exception stack trace ---\r\n at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget)\r\n at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator)\r\n at Autofac.Core.Resolving.InstanceLookup.Execute()\r\n at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)\r\n at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()\r\n at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)\r\n at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget)\r\n --- End of inner exception stack trace ---\r\n at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget)\r\n at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator)\r\n at Autofac.Core.Resolving.InstanceLookup.Execute()\r\n at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)\r\n at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters)\r\n at Autofac.Features.LazyDependencies.LazyRegistrationSource.<>c__DisplayClass5_1`1.<CreateLazyRegistration>b__1()\r\n at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)\r\n at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)\r\n at System.Lazy`1.CreateValue()\r\n at Seq.Server.ServiceProcess.ServerService.<Start>b__13_0(CancellationToken cancel)\r\n at Flare.Workers.WorkerPool.<>c__DisplayClass4_0.<Run>g__DoWork|0()","WorkDescription":"Start background processes","WorkId":"eaa2fad2-431d-4fe3-b7d2-67da6ee818a9","SourceContext":"Flare.Workers.WorkerPool"}

Posted by nitin about a year ago

8

Docker image for Windows

Hello, I am trying to create a Docker image for Windows. I can get Seq installed and if I exec into the container I can start Seq and it runs. If I try to run "seq.exe" using the CMD instruction it does not work. When I run seq.exe inside the container I get this... Running as server; press Ctrl+C to exit. [11:45:40 INF] Seq "5.1.3118" running on OS "Microsoft " [11:45:41 INF] Seq listening on ["http://localhost:5341/"] [11:45:41 INF] Opening document store "C:\\Data\\Documents\\default.quince" [11:45:41 INF] Creating new data file at "C:\\Data\\Documents\\default.quince" [11:45:41 INF] Opening event store at "C:\\Data\\Extents" [11:45:41 INF] Available storage engines in order of preference are ["FLARE", "ESENT", "LMDB"] [11:45:42 INF] Creating "SchemaVersions" table [11:45:42 INF] Applying migration "Prevent unsupported v1.x upgrades" [11:45:42 INF] Applying migration "Create the built-in roles" [11:45:42 INF] Applying migration "Assign roles to existing users" [11:45:42 INF] Applying migration "Check for App instances without Apps" [11:45:42 INF] Applying migration "Create the server license" [11:45:42 INF] Applying migration "Create the Administrator account" [11:45:42 INF] Applying migration "Configure the public NuGet feed" [11:45:42 INF] Applying migration "Store the default system configuration" [11:45:42 INF] Applying migration "Ensure the license supports this version - 5.1.3118.0" [11:45:42 INF] Applying migration "Ensure the default system configuration has an id" [11:45:42 INF] Applying migration "Apply master key to app settings" [11:45:42 INF] Applying migration "Re-encrypt NuGet feed passwords with portable key" [11:45:42 INF] Applying migration "Configure default SQL queries" [11:45:42 INF] Applying migration "Make default queries visible to all users" [11:45:42 INF] Applying migration "Configure default signals" [11:45:42 INF] Applying migration "Make default signals visible to all users" [11:45:42 INF] Applying migration "Map user accounts to the default AD domain, if one is configured" [11:45:42 INF] Applying migration "Check for early preview chart format and update" [11:45:42 INF] Applying migration "Migrate charts to new dashboards" [11:45:42 INF] Applying migration "Create the shared overview dashboard" [11:45:42 INF] Applying migration "Create the default API key" [11:45:42 INF] Applying migration "Migrate pins to permalinks" [11:45:42 INF] Applying migration "Convert app instance input to signal expression" [11:45:42 INF] Applying migration "Convert retention policy target to signal expression" [11:45:42 INF] Applying migration "Convert dashboard chart signals to expressions" [11:45:42 INF] Applying migration "Convert default signal ids to expression" [11:45:42 INF] Applying migration "Apply groupings to initial signals" [11:45:42 INF] Applying migration "Show built-in signals to new users upon creation" [11:45:42 INF] Applying migration "Completely remove obsolete email app instances" [11:45:42 INF] Applying migration "Rename `Signal.IsRestricted` to `IsProtected`" [11:45:42 INF] Applying migration "Update existing API keys to store hashes" [11:45:42 INF] Applying migration "Convert API key configuration to permissions" [11:45:42 INF] Applying migration "Embed permalinked events in permalink documents" [11:45:42 INF] Applying migration "Assign index ids to signals" [11:45:42 INF] Applying migration "Pre-existing dashboards are protected by default" [11:45:42 INF] Setting protected flag on "dashboard-14" [11:45:42 INF] Applying migration "Create retention policy bookmarks" [11:45:42 INF] Applying migration "User default workspace reflects earlier view" [11:45:42 INF] Creating default workspace for "user-admin" [11:45:42 INF] Applying migration "New user defaults include shared dashboards" [11:45:42 INF] Applying migration "Update app invocation control properties" [11:45:42 INF] Applying migration "Extend the built-in roles" [11:45:42 INF] Applying migration "Set the default roles for new users" [11:45:42 INF] Applying migration "Personal dashboards are never protected" [11:45:42 INF] Storage subsystem available If I run the SAME command and try to run the container detached I get this... Running as server; press Ctrl+C to exit. [11:46:44 INF] Seq "5.1.3118" running on OS "Microsoft " [11:46:45 INF] Seq listening on ["http://localhost:5341/"] And then the container exits.

Posted by Brian about a year ago