Skip to content

Unable to install on docker compose #591

@fireheadman

Description

@fireheadman

Using this very basic docker compose from documenation...

name: immichframe
services:
  immichframe:
    container_name: immichframe
    image: ghcr.io/immichframe/immichframe:latest
    restart: on-failure
    volumes:
      - /volume2/immich/immich-frame/config/:/app/Config
    ports:
      - "2284:8080"
    environment:
      TZ: "America/Denver"

I have immich server running perfectly fine.
Something with this docker container doesn't like permissions...
Verified the volume location exists

Any suggestions are welcome... was looking forward to using this.

Getting this in the logs:

[fireheadman@merlin ~ 3444]$ sudo docker logs -f immichframe

 _                     _      _    ______
(_)                   (_)    | |   |  ___|
 _ _ __ ___  _ __ ___  _  ___| |__ | |_ _ __ __ _ _ __ ___   ___
| | '_ ` _ \| '_ ` _ \| |/ __| '_ \|  _| '__/ _` | '_ ` _ \ / _ \
| | | | | | | | | | | | | (__| | | | | | | | (_| | | | | | |  __/
|_|_| |_| |_|_| |_| |_|_|\___|_| |_\_| |_|  \__,_|_| |_| |_|\___| Version 1.0.31.0

LogLevel: Information
26-02-09 20:17:39 warn: Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository[50] Using an in-memory repository. Keys will not be persisted to storage.
26-02-09 20:17:39 warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[59] Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits.
26-02-09 20:17:39 warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] No XML encryptor configured. Key {26252104-725d-43f1-85e9-389ad2fd9006} may be persisted to storage in unencrypted form.
26-02-09 20:17:39 info: Microsoft.Hosting.Lifetime[14] Now listening on: http://[::]:8080
26-02-09 20:17:39 info: Microsoft.Hosting.Lifetime[0] Application started. Press Ctrl+C to shut down.
26-02-09 20:17:39 info: Microsoft.Hosting.Lifetime[0] Hosting environment: Production
26-02-09 20:17:39 info: Microsoft.Hosting.Lifetime[0] Content root path: /app
26-02-09 20:17:59 fail: Microsoft.AspNetCore.Server.Kestrel[13] Connection id "0HNJ8318R7ND0", Request id "0HNJ8318R7ND0:00000001": An unhandled exception was thrown by the application. System.UnauthorizedAccessException: Access to the path '/app/Config' is denied.  ---> System.IO.IOException: Permission denied    --- End of inner exception stack trace ---    at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)    at System.IO.Enumeration.FileSystemEnumerator`1.Init()    at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)    at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles(String directory, String expression, EnumerationOptions options)    at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)    at ImmichFrame.WebApi.Helpers.Config.ConfigLoader.FindConfigFile(String dir, String[] fileNames) in /source/ImmichFrame.WebApi/Helpers/Config/ConfigLoader.cs:line 19    at ImmichFrame.WebApi.Helpers.Config.ConfigLoader.LoadConfigRaw(String configPath) in /source/ImmichFrame.WebApi/Helpers/Config/ConfigLoader.cs:line 31    at ImmichFrame.WebApi.Helpers.Config.ConfigLoader.LoadConfig(String configPath) in /source/ImmichFrame.WebApi/Helpers/Config/ConfigLoader.cs:line 25    at Program.<>c__DisplayClass0_0.<<Main>$>b__2(IServiceProvider srv) in /source/ImmichFrame.WebApi/Program.cs:line 54    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitDisposeCache(ServiceCallSite transientCallSite, RuntimeResolverContext context)    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)    at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)    at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope)    at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType)    at Microsoft.AspNetCore.Authentication.AuthenticationHandlerProvider.GetHandlerAsync(HttpContext context, String authenticationScheme)    at Microsoft.AspNetCore.Authentication.AuthenticationService.AuthenticateAsync(HttpContext context, String scheme)    at CustomAuthenticationMiddleware.InvokeAsync(HttpContext context) in /source/ImmichFrame.WebApi/Helpers/CustomAuthenticationMiddleware.cs:line 14    at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions