Both jackett and jellyfin broken

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
sfh1975
Posts: 4
Joined: Sun Nov 03, 2019 12:22 pm

Both jackett and jellyfin broken

Post by sfh1975 »

Any help is appreciated. Part of the log file looks like this:
root@DietPi:/var/log# cat daemon.log
Dec 25 23:17:04 DietPi jellyfin[2143]: Unhandled Exception: System.UnauthorizedAccessException: Access to the path '/var/log/jellyfin' is denied. ---> System.IO.IOException: Permission denied
Dec 25 23:17:04 DietPi jellyfin[2143]: --- End of inner exception stack trace ---
Dec 25 23:17:04 DietPi jellyfin[2143]: at System.IO.FileSystem.CreateDirectory(String fullPath)
Dec 25 23:17:04 DietPi jellyfin[2143]: at System.IO.Directory.CreateDirectory(String path)
Dec 25 23:17:04 DietPi jellyfin[2143]: at Jellyfin.Server.Program.CreateApplicationPaths(StartupOptions options)
Dec 25 23:17:04 DietPi jellyfin[2143]: at Jellyfin.Server.Program.StartApp(StartupOptions options)
Dec 25 23:17:04 DietPi jellyfin[2143]: at Jellyfin.Server.Program.<Main>(String[] args)
Dec 25 23:17:04 DietPi systemd[1]: jellyfin.service: Main process exited, code=killed, status=6/ABRT
Dec 25 23:17:04 DietPi systemd[1]: jellyfin.service: Failed with result 'signal'.
Dec 25 23:17:04 DietPi systemd[1]: jellyfin.service: Service RestartSec=100ms expired, scheduling restart.
Dec 25 23:17:04 DietPi systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 46.
Dec 25 23:17:04 DietPi systemd[1]: Stopped Jellyfin Media Server.
Dec 25 23:17:04 DietPi systemd[1]: Started Jellyfin Media Server.
Dec 25 23:17:06 DietPi systemd[1]: jackett.service: Service RestartSec=5s expired, scheduling restart.
Dec 25 23:17:06 DietPi systemd[1]: jackett.service: Scheduled restart job, restart counter is at 12.
Dec 25 23:17:06 DietPi systemd[1]: Stopped Jackett Daemon (DietPi).
Dec 25 23:17:06 DietPi systemd[1]: Started Jackett Daemon (DietPi).
Dec 25 23:17:06 DietPi jellyfin[2209]: Unhandled Exception: System.UnauthorizedAccessException: Access to the path '/var/log/jellyfin' is denied. ---> System.IO.IOException: Permission denied
Dec 25 23:17:06 DietPi jellyfin[2209]: --- End of inner exception stack trace ---
Dec 25 23:17:06 DietPi jellyfin[2209]: at System.IO.FileSystem.CreateDirectory(String fullPath)
Dec 25 23:17:06 DietPi jellyfin[2209]: at System.IO.Directory.CreateDirectory(String path)
Dec 25 23:17:06 DietPi jellyfin[2209]: at Jellyfin.Server.Program.CreateApplicationPaths(StartupOptions options)
Dec 25 23:17:06 DietPi jellyfin[2209]: at Jellyfin.Server.Program.StartApp(StartupOptions options)
Dec 25 23:17:06 DietPi jellyfin[2209]: at Jellyfin.Server.Program.<Main>(String[] args)
Dec 25 23:17:06 DietPi systemd[1]: jellyfin.service: Main process exited, code=killed, status=6/ABRT
Dec 25 23:17:06 DietPi systemd[1]: jellyfin.service: Failed with result 'signal'.
Dec 25 23:17:07 DietPi systemd[1]: jellyfin.service: Service RestartSec=100ms expired, scheduling restart.
Dec 25 23:17:07 DietPi systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 47.
Dec 25 23:17:07 DietPi systemd[1]: Stopped Jellyfin Media Server.
Dec 25 23:17:07 DietPi systemd[1]: Started Jellyfin Media Server.
Dec 25 23:17:09 DietPi jellyfin[2217]: Unhandled Exception: System.UnauthorizedAccessException: Access to the path '/var/log/jellyfin' is denied. ---> System.IO.IOException: Permission denied
Dec 25 23:17:09 DietPi jellyfin[2217]: --- End of inner exception stack trace ---
Dec 25 23:17:09 DietPi jellyfin[2217]: at System.IO.FileSystem.CreateDirectory(String fullPath)
Dec 25 23:17:09 DietPi jellyfin[2217]: at System.IO.Directory.CreateDirectory(String path)
Dec 25 23:17:09 DietPi jellyfin[2217]: at Jellyfin.Server.Program.CreateApplicationPaths(StartupOptions options)
Dec 25 23:17:09 DietPi jellyfin[2217]: at Jellyfin.Server.Program.StartApp(StartupOptions options)
Dec 25 23:17:09 DietPi jellyfin[2217]: at Jellyfin.Server.Program.<Main>(String[] args)
Dec 25 23:17:09 DietPi systemd[1]: jellyfin.service: Main process exited, code=killed, status=6/ABRT
Dec 25 23:17:09 DietPi systemd[1]: jellyfin.service: Failed with result 'signal'.
Dec 25 23:17:09 DietPi systemd[1]: jellyfin.service: Service RestartSec=100ms expired, scheduling restart.
Dec 25 23:17:09 DietPi systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 48.
Dec 25 23:17:09 DietPi systemd[1]: Stopped Jellyfin Media Server.
Dec 25 23:17:09 DietPi systemd[1]: Started Jellyfin Media Server.
Dec 25 23:17:10 DietPi jackett[2216]: 12-25 23:17:10 Info Starting Jackett v0.12.1115.0
Dec 25 23:17:11 DietPi jackett[2216]: 12-25 23:17:11 Error System.BadImageFormatException: Could not load file or assembly 'Microsoft.AspNetCore.DataProtection, Version=3.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The module was expected to contain an assembly manifest.
Dec 25 23:17:11 DietPi jackett[2216]: File name: 'Microsoft.AspNetCore.DataProtection, Version=3.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'
Dec 25 23:17:11 DietPi jackett[2216]: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
Dec 25 23:17:11 DietPi jackett[2216]: at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
Dec 25 23:17:11 DietPi jackett[2216]: at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.InvokeCore(Object instance, IServiceCollection services)
Dec 25 23:17:11 DietPi jackett[2216]: at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.<>c__DisplayClass9_0.<Invoke>g__Startup|0(IServiceCollection serviceCollection)
Dec 25 23:17:11 DietPi jackett[2216]: at Microsoft.AspNetCore.Hosting.StartupLoader.ConfigureServicesDelegateBuilder`1.<>c__DisplayClass15_0.<BuildStartupServicesFilterPipeline>g__RunPipeline|0(IServiceCollection services)
Dec 25 23:17:11 DietPi jackett[2216]: at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.Invoke(Object instance, IServiceCollection services)
Dec 25 23:17:11 DietPi jackett[2216]: at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.<>c__DisplayClass8_0.<Build>b__0(IServiceCollection services)
Dec 25 23:17:11 DietPi jackett[2216]: at Microsoft.AspNetCore.Hosting.StartupLoader.ConfigureServicesDelegateBuilder`1.<>c__DisplayClass14_0.<ConfigureServices>g__ConfigureServicesWithContainerConfiguration|0(IServiceCollection services)
Dec 25 23:17:11 DietPi jackett[2216]: at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.ConfigureServices(IServiceCollection services)
Dec 25 23:17:11 DietPi jackett[2216]: at Microsoft.AspNetCore.Hosting.WebHost.EnsureApplicationServices()
Dec 25 23:17:11 DietPi jackett[2216]: at Microsoft.AspNetCore.Hosting.WebHost.Initialize()
Dec 25 23:17:11 DietPi jackett[2216]: at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()
Dec 25 23:17:11 DietPi jackett[2216]: at Jackett.Server.Program.Main(String[] args)
Dec 25 23:17:11 DietPi jackett[2216]: System.BadImageFormatException: Could not load file or assembly 'Microsoft.AspNetCore.DataProtection, Version=3.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The module was expected to contain an assembly manifest.
Dec 25 23:17:11 DietPi jackett[2216]: File name: 'Microsoft.AspNetCore.DataProtection, Version=3.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'
Dec 25 23:17:11 DietPi jackett[2216]: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
Dec 25 23:17:11 DietPi jackett[2216]: at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
Dec 25 23:17:11 DietPi jackett[2216]: at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.InvokeCore(Object instance, IServiceCollection services)
Dec 25 23:17:11 DietPi jackett[2216]: at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.<>c__DisplayClass9_0.<Invoke>g__Startup|0(IServiceCollection serviceCollection)
Dec 25 23:17:11 DietPi jackett[2216]: at Microsoft.AspNetCore.Hosting.StartupLoader.ConfigureServicesDelegateBuilder`1.<>c__DisplayClass15_0.<BuildStartupServicesFilterPipeline>g__RunPipeline|0(IServiceCollection services)
Dec 25 23:17:11 DietPi jackett[2216]: at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.Invoke(Object instance, IServiceCollection services)
Dec 25 23:17:11 DietPi jackett[2216]: at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.<>c__DisplayClass8_0.<Build>b__0(IServiceCollection services)
Dec 25 23:17:11 DietPi jackett[2216]: at Microsoft.AspNetCore.Hosting.StartupLoader.ConfigureServicesDelegateBuilder`1.<>c__DisplayClass14_0.<ConfigureServices>g__ConfigureServicesWithContainerConfiguration|0(IServiceCollection services)
Dec 25 23:17:11 DietPi jackett[2216]: at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.ConfigureServices(IServiceCollection services)
Dec 25 23:17:11 DietPi jackett[2216]: at Microsoft.AspNetCore.Hosting.WebHost.EnsureApplicationServices()
Dec 25 23:17:11 DietPi jackett[2216]: at Microsoft.AspNetCore.Hosting.WebHost.Initialize()
Dec 25 23:17:11 DietPi jackett[2216]: at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()
Dec 25 23:17:11 DietPi jackett[2216]: at Jackett.Server.Program.Main(String[] args)
Dec 25 23:17:11 DietPi jackett[2216]: Unhandled exception. System.BadImageFormatException: Could not load file or assembly 'Microsoft.AspNetCore.DataProtection, Version=3.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The module was expected to contain an assembly manifest.
Dec 25 23:17:11 DietPi jackett[2216]: File name: 'Microsoft.AspNetCore.DataProtection, Version=3.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'
Dec 25 23:17:11 DietPi jackett[2216]: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
Dec 25 23:17:11 DietPi jackett[2216]: at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
Dec 25 23:17:11 DietPi jackett[2216]: at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.InvokeCore(Object instance, IServiceCollection services)
Dec 25 23:17:11 DietPi jackett[2216]: at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.<>c__DisplayClass9_0.<Invoke>g__Startup|0(IServiceCollection serviceCollection)
Dec 25 23:17:11 DietPi jackett[2216]: at Microsoft.AspNetCore.Hosting.StartupLoader.ConfigureServicesDelegateBuilder`1.<>c__DisplayClass15_0.<BuildStartupServicesFilterPipeline>g__RunPipeline|0(IServiceCollection services)
Dec 25 23:17:11 DietPi jackett[2216]: at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.Invoke(Object instance, IServiceCollection services)
Dec 25 23:17:11 DietPi jackett[2216]: at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.<>c__DisplayClass8_0.<Build>b__0(IServiceCollection services)
Dec 25 23:17:11 DietPi jackett[2216]: at Microsoft.AspNetCore.Hosting.StartupLoader.ConfigureServicesDelegateBuilder`1.<>c__DisplayClass14_0.<ConfigureServices>g__ConfigureServicesWithContainerConfiguration|0(IServiceCollection services)
Dec 25 23:17:11 DietPi jackett[2216]: at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.ConfigureServices(IServiceCollection services)
sfh1975
Posts: 4
Joined: Sun Nov 03, 2019 12:22 pm

Re: Both jackett and jellyfin broken

Post by sfh1975 »

OK a quick update. I created a folder /var/log/jellfin and made jellyfin the owner. Jellyfin is up and running.
Jackett still not working. I have reinstalled it a few times in the past but it breaks every few days. Not sure why.
In addition, deluge seems to have died too :( Trying to figure out why.
Indigo
Posts: 5
Joined: Wed Nov 27, 2019 3:52 pm

Re: Both jackett and jellyfin broken

Post by Indigo »

...i get the same error for Jackett, fyi i think it's this issue/fix: https://github.com/MichaIng/DietPi/issues/3194
Post Reply