When using the linuxserver/jackett docker image on Synogoly, I'm getting high CPU usage, and Jackett isn't available on the port. Looking at the logs it says Access to the path \"/config/Jackett\" is denied..
I've provided the -e PGID=1024 -e PUID=100 flags, and looking at the logs I see:
User uid: 100
User gid: 102
Could it have something to do with an incorrect gid, messing up the permissions?
Part of the logs:
-------------------------------------
_ _ _
| |___| (_) ___
| / __| | |/ _ \
| \__ \ | | (_) |
|_|___/ |_|\___/
|_|
Brought to you by linuxserver.io
We gratefully accept donations at:
https://www.linuxserver.io/donations/
-------------------------------------
GID/UID
-------------------------------------
User uid: 100
User gid: 102
-------------------------------------
[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-config: executing...
[cont-init.d] 30-config: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
12-16 16:29:00 Error Top level exception Autofac.Core.DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = ServerService (ReflectionActivator), Services = [Jackett.Services.Interfaces.IServerService], 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 = IndexerManagerService (ReflectionActivator), Services = [Jackett.Services.Interfaces.IIndexerManagerService], 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 = IndexerConfigurationService (ReflectionActivator), Services = [Jackett.Services.Interfaces.IIndexerConfigurationService], 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 = ConfigurationService (ReflectionActivator), Services = [Jackett.Services.Interfaces.IConfigurationService], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> An exception was thrown while invoking the constructor 'Void .ctor(ISerializeService, IProcessService, Logger, RuntimeSettings)' on type 'ConfigurationService'. ---> Could not create settings directory. Access to the path "/config/Jackett" is denied. (See inner exception for details.) (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 = IndexerManagerService (ReflectionActivator), Services = [Jackett.Services.Interfaces.IIndexerManagerService], 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 = IndexerConfigurationService (ReflectionActivator), Services = [Jackett.Services.Interfaces.IIndexerConfigurationService], 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 = ConfigurationService (ReflectionActivator), Services = [Jackett.Services.Interfaces.IConfigurationService], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> An exception was thrown while invoking the constructor 'Void .ctor(ISerializeService, IProcessService, Logger, RuntimeSettings)' on type 'ConfigurationService'. ---> Could not create settings directory. Access to the path "/config/Jackett" is denied. (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 = IndexerConfigurationService (ReflectionActivator), Services = [Jackett.Services.Interfaces.IIndexerConfigurationService], 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 = ConfigurationService (ReflectionActivator), Services = [Jackett.Services.Interfaces.IConfigurationService], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> An exception was thrown while invoking the constructor 'Void .ctor(ISerializeService, IProcessService, Logger, RuntimeSettings)' on type 'ConfigurationService'. ---> Could not create settings directory. Access to the path "/config/Jackett" is denied. (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 = ConfigurationService (ReflectionActivator), Services = [Jackett.Services.Interfaces.IConfigurationService], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> An exception was thrown while invoking the constructor 'Void .ctor(ISerializeService, IProcessService, Logger, RuntimeSettings)' on type 'ConfigurationService'. ---> Could not create settings directory. Access to the path "/config/Jackett" is denied. (See inner exception for details.) (See inner exception for details.) ---> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(ISerializeService, IProcessService, Logger, RuntimeSettings)' on type 'ConfigurationService'. ---> Could not create settings directory. Access to the path "/config/Jackett" is denied. (See inner exception for details.) ---> System.Exception: Could not create settings directory. Access to the path "/config/Jackett" is denied.
When using the
linuxserver/jackett
docker image on Synogoly, I'm getting high CPU usage, and Jackett isn't available on the port. Looking at the logs it saysAccess to the path \"/config/Jackett\" is denied.
.Synology: DS218+
To create the docker container:
I've provided the
-e PGID=1024 -e PUID=100
flags, and looking at the logs I see:Could it have something to do with an incorrect
gid
, messing up the permissions?Part of the logs: