Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prowlarr 1.4.0 - /config not writeable #681

Closed
shadofall opened this issue Jul 8, 2021 · 6 comments
Closed

Prowlarr 1.4.0 - /config not writeable #681

shadofall opened this issue Jul 8, 2021 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@shadofall
Copy link
Contributor

shadofall commented Jul 8, 2021

Decided to take prowlerr out for a test spin as a possible replacement to hydra. and it fails to start

/config not writeable

all default options for install

log

2021-07-08 17:52:37.645860+00:00[Info] Bootstrap: Starting Prowlarr - /app/Prowlarr - Version 0.1.0.595 
2021-07-08 17:52:37.659711+00:00[Debug] Bootstrap: Console selected 
2021-07-08 17:52:37.662390+00:00[Info] AppFolderInfo: Data directory is being overridden to [/config] 
2021-07-08 17:52:37.850274+00:00[Debug] Microsoft.Extensions.Hosting.Internal.Host: Hosting starting 
2021-07-08 17:52:37.860073+00:00[Warn] Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository: Using an in-memory repository. Keys will not be persisted to storage. 
2021-07-08 17:52:37.860546+00:00[Warn] Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager: Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits. 
2021-07-08 17:52:37.867265+00:00[Info] AppFolderInfo: Data directory is being overridden to [/config] 
2021-07-08 17:52:37.914883+00:00[Warn] Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager: No XML encryptor configured. Key {f968de75-9eda-4bf8-b551-91b9cc5103f6} may be persisted to storage in unencrypted form. 
2021-07-08 17:52:37.959329+00:00[Trace] **DiskProviderBase: Directory '/config' isn't writable. Access to the path '/config/prowlarr_write_test.txt' is denied.** 
2021-07-08 17:52:37.998828+00:00[Fatal] Microsoft.AspNetCore.Hosting.Diagnostics: Application startup exception 
2021-07-08 17:52:37.998882+00:002021-07-08T17:52:37.998882814Z
2021-07-08 17:52:37.998893+00:00[v0.1.0.595] NzbDrone.Common.Exceptions.ProwlarrStartupException: **Prowlarr failed to start: AppFolder /config is not writable**
2021-07-08 17:52:37.998931+00:00at NzbDrone.Common.EnvironmentInfo.AppFolderFactory.Register() in D:\a\1\s\src\NzbDrone.Common\EnvironmentInfo\AppFolderFactory.cs:line 58
2021-07-08 17:52:37.998948+00:00at NzbDrone.Host.Startup.Configure(IApplicationBuilder app, IStartupContext startupContext, Lazy`1 mainDatabaseFactory, Lazy`1 logDatabaseFactory, DatabaseTarget dbTarget, ISingleInstancePolicy singleInstancePolicy, InitializeLogger initializeLogger, ReconfigureLogging reconfigureLogging, IAppFolderFactory appFolderFactory, IProvidePidFile pidFileProvider, IConfigFileProvider configFileProvider, IRuntimeInfo runtimeInfo, IFirewallAdapter firewallAdapter, ProwlarrErrorPipeline errorHandler) in D:\a\1\s\src\NzbDrone.Host\Startup.cs:line 131
2021-07-08 17:52:37.998970+00:00at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
2021-07-08 17:52:37.998988+00:00at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
2021-07-08 17:52:37.998998+00:00at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
2021-07-08 17:52:37.999008+00:00at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.<Build>b__0(IApplicationBuilder builder)
2021-07-08 17:52:37.999027+00:00at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass15_0.<UseStartup>b__1(IApplicationBuilder app)
2021-07-08 17:52:37.999037+00:00at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.<Configure>g__MiddlewareFilterBuilder|0(IApplicationBuilder builder)
2021-07-08 17:52:37.999056+00:00at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
2021-07-08 17:52:37.999066+00:002021-07-08T17:52:37.999066349Z
2021-07-08 17:52:37.999075+00:002021-07-08T17:52:37.999075546Z
2021-07-08 17:52:38.011003+00:002021-07-08T17:52:38.011003902Z
2021-07-08 17:52:38.011054+00:002021-07-08T17:52:38.011054547Z
2021-07-08 17:52:38.012831+00:00[Fatal] ConsoleApp: EPIC FAIL! 
2021-07-08 17:52:38.012857+00:002021-07-08T17:52:38.012857231Z
2021-07-08 17:52:38.012867+00:00[v0.1.0.595] NzbDrone.Common.Exceptions.ProwlarrStartupException: Prowlarr failed to start: AppFolder /config is not writable
2021-07-08 17:52:38.012887+00:00at NzbDrone.Common.EnvironmentInfo.AppFolderFactory.Register() in D:\a\1\s\src\NzbDrone.Common\EnvironmentInfo\AppFolderFactory.cs:line 58
2021-07-08 17:52:38.012916+00:00at NzbDrone.Host.Startup.Configure(IApplicationBuilder app, IStartupContext startupContext, Lazy`1 mainDatabaseFactory, Lazy`1 logDatabaseFactory, DatabaseTarget dbTarget, ISingleInstancePolicy singleInstancePolicy, InitializeLogger initializeLogger, ReconfigureLogging reconfigureLogging, IAppFolderFactory appFolderFactory, IProvidePidFile pidFileProvider, IConfigFileProvider configFileProvider, IRuntimeInfo runtimeInfo, IFirewallAdapter firewallAdapter, ProwlarrErrorPipeline errorHandler) in D:\a\1\s\src\NzbDrone.Host\Startup.cs:line 131
2021-07-08 17:52:38.012938+00:00at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
2021-07-08 17:52:38.012948+00:00at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
2021-07-08 17:52:38.012967+00:00at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
2021-07-08 17:52:38.012977+00:00at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.<Build>b__0(IApplicationBuilder builder)
2021-07-08 17:52:38.012987+00:00at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass15_0.<UseStartup>b__1(IApplicationBuilder app)
2021-07-08 17:52:38.013007+00:00at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.<Configure>g__MiddlewareFilterBuilder|0(IApplicationBuilder builder)
2021-07-08 17:52:38.013017+00:00at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
2021-07-08 17:52:38.013036+00:00at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
2021-07-08 17:52:38.013046+00:00at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
2021-07-08 17:52:38.013057+00:00at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
2021-07-08 17:52:38.013076+00:00at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
2021-07-08 17:52:38.013086+00:00at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in D:\a\1\s\src\NzbDrone.Host\Bootstrap.cs:line 74
2021-07-08 17:52:38.013097+00:00at NzbDrone.Console.ConsoleApp.Main(String[] args) in D:\a\1\s\src\NzbDrone.Console\ConsoleApp.cs:line 43
2021-07-08 17:52:38.013118+00:002021-07-08T17:52:38.013118121Z
2021-07-08 17:52:38.013128+00:002021-07-08T17:52:38.013128471Z
2021-07-08 17:52:38.022699+00:00Press enter to exit...
2021-07-08 17:52:39.023004+00:00Non-recoverable failure, waiting for user intervention...
@shadofall shadofall added the bug Something isn't working label Jul 8, 2021
@shadofall shadofall changed the title Prowlarr - /config not writeable Prowlarr 1.4.0 - /config not writeable Jul 8, 2021
@Ornias1993
Copy link
Member

Thanks for your report.
Sadly enough this is an incubator app without maintainer so a fix would take some time.

@Simoneu01
Copy link
Contributor

i am using this app, and i set the config to hostpath
no problem of permissions found atm

@Ornias1993
Copy link
Member

@shadofall as with all bugs we still need screenshots for this one from the config you entered into the SCALE GUI.

@shadofall
Copy link
Contributor Author

Screenshots
image
image
image
image

@Ornias1993
Copy link
Member

I see.
It should've been set with fsgroup and securitycontext instead of PGID and PUID.

@truecharts-admin
Copy link
Collaborator

This issue is locked to prevent necro-posting on closed issues. Please create a new issue or contact staff on discord of the problem persists

@truecharts truecharts locked and limited conversation to collaborators Feb 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants