DocumentationDiscussions
DocumentationDiscussions

Discussions

Ask a Question
Back to All

Problem installing using docker container

Hi all. I am trying to use seq in ubuntu(not snap actually installed normally). Here is the command I am using.

sudo docker run --name seq -d --restart unless-stopped -e ACCEPT_EULA=Y -e SEQ_FIRSTRUN_ADMINPASSWORDHASH="$PH" -v ~/Docker/Seq/Data/Dev/data -p 82:80 -p 5341:5341 datalust/seq

The container starts, and image is downloaded, but I can't connect to it, or curl -i Get -x localhost:82 it.
I get this in the logs

────────────────────────────────────────
Seq ♦ Machine data, for humans.
─────────── © 2020 Datalust Pty Ltd ────

Running as server; press Ctrl+C to exit.

[22:09:57 INF] Seq "2020.5.5163" running on OS "Linux 5.8.0-38-generic #43-Ubuntu SMP Tue Jan 12 12:42:13 UTC 2021"
[22:09:57 INF] Seq detected 8344.461312 MB of RAM
[22:09:58 INF] Seq listening on ["http://localhost/", "http://localhost:5341/"]
[22:09:58 INF] Opening event store at "/data/Stream/stream.flare"
[22:09:58 INF] Opening metastore "/data/Documents/documents.lmdb"
[22:09:58 INF] Initializing a new metastore
[22:09:58 INF] Enabling username/password authentication, and using the supplied default admin password or hash
[22:09:58 INF] Closing metastore
[22:09:58 INF] Closing event store
[22:09:58 ERR] Uncaught exception from worker "Start background processes" ("c3463719-ef8e-49f0-990b-8f23d7315396")
Autofac.Core.DependencyResolutionException: An exception was thrown while activating Seq.Server.Web.Authentication.SeqOidcAuthenticationScheme -> Seq.Server.Features.Settings.SystemSettings -> λ:Quince.DocumentStore -> λ:Seq.Server.StorageSubsystem.
---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Seq.Server.Config.Encoding.Base64SaltedHashEncoding.FromBase64(String base64)
at Seq.Server.Data.Users.Migrations.CreateAdminUser.Apply(DocumentSession session)
at Quince.Storage.Lmdb.LmdbDocumentStore.Migrate(IEnumerable1 migrations) at Seq.Server.StorageSubsystem.Initialize(IComponentContext ctx, SeqConfig config, String instanceName, String storageRootPath, String nodeStateFilePath, String streamPath, String documentsPath) at Seq.Server.SeqServerModule.<Load>b__14_7(IComponentContext c) at Autofac.RegistrationExtensions.<>c__DisplayClass4_01.b0(IComponentContext c, IEnumerable`1 p)
at Autofac.Builder.RegistrationBuilder.<>c
DisplayClass0_01.<ForDelegate>b__0(IComponentContext c, IEnumerable1 p)
at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable1 parameters) at Autofac.Core.Resolving.InstanceLookup.CreateInstance(IEnumerable1 parameters)
--- End of inner exception stack trace ---
at Autofac.Core.Resolving.InstanceLookup.CreateInstance(IEnumerable1 parameters) at Autofac.Core.Resolving.InstanceLookup.<Execute>b__8_0() at Autofac.Core.Lifetime.LifetimeScope.CreateSharedInstance(Guid id, Func1 creator)
at Autofac.Core.Lifetime.LifetimeScope.CreateSharedInstance(Guid primaryId, Nullable1 qualifyingId, Func1 creator)
at Autofac.Core.Resolving.InstanceLookup.Execute()
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request)
at Autofac.Core.Resolving.ResolveOperation.ResolveComponent(ResolveRequest request)
at Autofac.Core.Resolving.ResolveOperation.Execute(ResolveRequest request)
at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(ResolveRequest request)
at Autofac.Features.LazyDependencies.LazyRegistrationSource.<>cDisplayClass5_1`1.b1()
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) at System.Lazy1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
at System.Lazy1.CreateValue() at System.Lazy1.get_Value()
at Seq.Server.ServiceProcess.SystemServices.Start(CancellationToken& cancel)
at Seq.Server.ServiceProcess.ServerService.b8_0(CancellationToken cancel)
at Flare.Workers.WorkerPool.<>c
DisplayClass6_0.b0(CancellationToken ct)
at Flare.Workers.WorkerPool.<>c
DisplayClass7_0`1.g__DoWork|0()

if I use just 80:80 I can access it from lan, but once I change it to 82:80 I can only get it from localhost