Search the Community
Showing results for tags 'nixos'.
-
Newer releases won't run on NixOS, System.IO.IOException: Read-only file system
jonasem posted a topic in Linux
I am unable to run 4.2.1.0 on NixOS. Last known running version is 4.0.1.0. I am getting the following error: Aug 14 18:42:31 nixos systemd[1]: Started Emby Media Server. Aug 14 18:42:31 nixos emby[13309]: Unhandled Exception: System.IO.IOException: Read-only file system Aug 14 18:42:31 nixos emby[13309]: at System.IO.FileSystem.CreateDirectory(String fullPath) Aug 14 18:42:31 nixos emby[13309]: at System.IO.Directory.CreateDirectory(String path) Aug 14 18:42:31 nixos emby[13309]: at EmbyServer.Support.ApplicationPathProvider.GetProgramDataPath(String applicationPath, IEnvironmentInfo environment) Aug 14 18:42:31 nixos emby[13309]: at EmbyServer.Support.ApplicationPathProvider.CreateApplicationPaths(String applicationPath, String programDataPath, IEnvironmentInfo environment) Aug 14 18:42:31 nixos emby[13309]: at EmbyServer.Program.Main(String[] args) Aug 14 18:42:31 nixos systemd[1]: emby.service: Main process exited, code=killed, status=6/ABRT Aug 14 18:42:31 nixos systemd[1]: emby.service: Failed with result 'signal'. Aug 14 18:42:31 nixos systemd[1]: emby.service: Service RestartSec=100ms expired, scheduling restart. Aug 14 18:42:31 nixos systemd[1]: emby.service: Scheduled restart job, restart counter is at 4. Aug 14 18:42:31 nixos systemd[1]: Stopped Emby Media Server. Has Emby started requiring write permissions in any other directory than the "-programdata"-directory? -
Hey guys, System : linux Nixos unstable 18.09pre149044.6afd19e699c (Jellyfish) Emby : emby-3.4.1.0 Mono : mono-4.6.2.16 Just installed Emby on Nixos unstable, and after the server start, I updated Opensubtitles plugin to the latest version, then tried to get some sub. However, either manually or through the scheduled activation, Emby doesn't download subtitles. Logs are filled with this error : 2018-08-20 22:21:15.658 Error App: Error downloading subtitles *** Error Report *** Version: 3.4.1.0 Command line: /nix/store/r0x1b5r1pzx6dlgl1m9svy0wm600i4mp-emby-3.4.1.0/bin/MediaBrowser.Server.Mono.exe -ffmpeg /nix/store/3x79jnw873iz7dvk5vjnndrf672y8zks-ffmpeg-3.4.4-bin/bin/ffmpeg -ffprobe /nix/store/3x79jnw873iz7dvk5vjnndrf672y8zks-ffmpeg-3.4.4-bin/bin/ffprobe Operating system: Unix 4.14.62.0 64-Bit OS: True 64-Bit Process: True User Interactive: False Mono: 4.6.2 (Stable 4.6.2.16/ac9e222 Tue Aug 7 21:30:57 UTC 2018) Processor count: 4 Program data path: /var/lib/emby/ProgramData-Server Application directory: /nix/store/r0x1b5r1pzx6dlgl1m9svy0wm600i4mp-emby-3.4.1.0/bin System.IO.FileNotFoundException: Could not load file or assembly or one of its dependencies. File name: 'System.IO.Compression, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' at OpenSubtitles.OpenSubtitleDownloader+<GetSubtitlesInternal>d__23.MoveNext () [0x001af] in <73f6d839a7164c41803da6f678f0b78e>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <fb768d43fe23485fbb071afcff849fe2>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <fb768d43fe23485fbb071afcff849fe2>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <fb768d43fe23485fbb071afcff849fe2>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <fb768d43fe23485fbb071afcff849fe2>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <fb768d43fe23485fbb071afcff849fe2>:0 at MediaBrowser.Providers.Subtitles.SubtitleManager+<DownloadSubtitles>d__18.MoveNext () [0x000db] in <0ce351e20fef483992a40df10c7c6183>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <fb768d43fe23485fbb071afcff849fe2>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <fb768d43fe23485fbb071afcff849fe2>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <fb768d43fe23485fbb071afcff849fe2>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <fb768d43fe23485fbb071afcff849fe2>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <fb768d43fe23485fbb071afcff849fe2>:0 at MediaBrowser.Api.Subtitles.SubtitleService+<>c__DisplayClass14_0+<<Post>b__0>d.MoveNext () [0x00099] in <05cb8e86881643b1a0a06329f1d5f9f1>:0 System.IO.FileNotFoundException at OpenSubtitles.OpenSubtitleDownloader+<GetSubtitlesInternal>d__23.MoveNext () [0x001af] in <73f6d839a7164c41803da6f678f0b78e>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <fb768d43fe23485fbb071afcff849fe2>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <fb768d43fe23485fbb071afcff849fe2>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <fb768d43fe23485fbb071afcff849fe2>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <fb768d43fe23485fbb071afcff849fe2>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <fb768d43fe23485fbb071afcff849fe2>:0 at MediaBrowser.Providers.Subtitles.SubtitleManager+<DownloadSubtitles>d__18.MoveNext () [0x000db] in <0ce351e20fef483992a40df10c7c6183>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <fb768d43fe23485fbb071afcff849fe2>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <fb768d43fe23485fbb071afcff849fe2>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <fb768d43fe23485fbb071afcff849fe2>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <fb768d43fe23485fbb071afcff849fe2>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <fb768d43fe23485fbb071afcff849fe2>:0 at MediaBrowser.Api.Subtitles.SubtitleService+<>c__DisplayClass14_0+<<Post>b__0>d.MoveNext () [0x00099] in <05cb8e86881643b1a0a06329f1d5f9f1>:0 I know that Nixos is not supported, but do you have any clue why this is crashing like that ? Thanks a lot for your help, Sterfield