Jump to content

Linux Setup


Luke

Recommended Posts

PhAzE

I had a quick look at this site:

 

http://www.mono-project.com/Guidelines:Application_Deployment

 

It seems to be a basic recommendation on packaging mono applications.  This also has some recommendations on the best way to call your data files:

Your C# should reference its data files using the following code snippet:
    string base_directory = System.AppDomain.CurrentDomain.BaseDirectory;

Then you can do things like:
   string splash_file = Path.Combine (base_directory, "splash.jpg");

I'm not sure if you already have mb3 programmed to call data files like that already, but this way a script can be made to invoke mono-service and MB3 and the only location that a prefix needs to be set is in that script, which can also export the install directory so the libraries can be found regardless of where the application is installed.

Edited by PhAzE
Link to comment
Share on other sites

I had a quick look at this site:

 

http://www.mono-project.com/Guidelines:Application_Deployment

 

It seems to be a basic recommendation on packaging mono applications.  This also has some recommendations on the best way to call your data files:

Your C# should reference its data files using the following code snippet:
    string base_directory = System.AppDomain.CurrentDomain.BaseDirectory;

Then you can do things like:
   string splash_file = Path.Combine (base_directory, "splash.jpg");

I'm not sure if you already have mb3 programmed to call data files like that already, but this way a script can be made to invoke mono-service and MB3 and the only location that a prefix needs to be set is in that script, which can also export the install directory so the libraries can be found regardless of where the application is installed.

 

All of our path references are designed that way.  Additionally, all file-system operations have been abstracted to layers that can be switched out for different platforms.

Link to comment
Share on other sites

yea i don't think our path combining is a problem. as far as source/binary distribution, i'm open to either.

Link to comment
Share on other sites

PhAzE

OK then likely the best way is to have a tarball created for both, one for source and one for binaries so the package maintainers can choose either one.

 

Can you post a link to the source files so I can try and figure out a good script to make the source tarball? I honestly don't know much about the autoconf and automake config files but I'll see if I can get a skeleton tarball for mono based products and merge the source code in so it can build properly.

 

I think dependencies should probably be listed but not necessarily included (like mono, sqlite3, and ffmpeg)

Link to comment
Share on other sites

buzzer87

Hmmm

Still get the same exception with the new version. Something about ffmpeg

Info, Main, Media Browser Server started
Info, Main, Command line: /opt/mediabrowser/MediaBrowser.Server.Mono.exe
Info, Main, Server: linaro-server
Info, Main, Operating system: Unix 3.8.13.18
appHost.Init
Info, App, Application Configuration:
        {"WeatherUnit":"Fahrenheit","EnableHttpLevelLogging":true,"EnableUPnP":true,"HttpServerPortNumber":8096,"LegacyWebSocketPortNumber":8945,"EnableInternetProviders":true,"SeasonZeroDisplayName":"Specials","MetadataRefreshDays":30,"SaveLocalMeta":false,"RefreshItemImages":false,"PreferredMetadataLanguage":"en","MetadataCountryCode":"US","SortReplaceCharacters":[".","+","%"],"SortRemoveCharacters":[",","&","-","{","}","'"],"SortRemoveWords":["the","a","an"],"ShowLogWindow":false,"MinResumePct":5,"MaxResumePct":90,"MinResumeDurationSeconds":300,"RealtimeMonitorDelay":30,"EnableDashboardResponseCaching":true,"EnableTvDbUpdates":false,"EnableTmdbUpdates":false,"EnableFanArtUpdates":false,"RequireMobileManualLogin":false,"RequireNonMobileManualLogin":false,"ImageSavingConvention":"Compatible","EnablePeoplePrefixSubFolders":true,"MediaEncodingQuality":"Auto","AllowVideoUpscaling":false,"EnableMovieChapterImageExtraction":true,"EnableEpisodeChapterImageExtraction":false,"EnableOtherVideoChapterImageExtraction":false,"MetadataOptions":[{"ItemType":"Book","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicAlbum","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicArtist","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Season","ImageOptions":[{"Type":"Backdrop","Limit":0,"MinWidth":1280}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]}],"EnableDebugEncodingLogging":false,"EnableAutomaticRestart":true,"TvFileOrganizationOptions":{"IsEnabled":false,"MinFileSizeMb":50,"LeftOverFileExtensionsToDelete":[],"WatchLocations":[],"SeasonFolderPattern":"Season %s","SeasonZeroFolderName":"Season 0","EpisodeNamePattern":"%sn - %sx%0e - %en.%ext","MultiEpisodeNamePattern":"%sn - %sx%0e-x%0ed - %en.%ext","OverwriteExistingEpisodes":false,"DeleteEmptyFolders":false,"CopyOriginalFile":false},"LiveTvOptions":{},"EnableRealtimeMonitor":true,"PathSubstitutions":[],"UICulture":"en-us","DlnaOptions":{"EnablePlayTo":true,"EnableServer":true,"EnableDebugLogging":false,"BlastAliveMessages":true,"ClientDiscoveryIntervalSeconds":60,"BlastAliveMessageIntervalSeconds":30},"DownMixAudioBoost":2,"NotificationOptions":{"Options":[{"Type":"TaskFailed","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"},{"Type":"ServerRestartRequired","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"},{"Type":"ApplicationUpdateAvailable","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"},{"Type":"ApplicationUpdateInstalled","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"},{"Type":"PluginUpdateInstalled","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"},{"Type":"PluginUninstalled","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"},{"Type":"InstallationFailed","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"},{"Type":"PluginInstalled","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"},{"Type":"PluginError","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"}]},"SubtitleOptions":{"SkipIfGraphicalSubtitlesPresent":false,"SkipIfAudioTrackMatches":true,"DownloadLanguages":[],"DownloadMovieSubtitles":false,"DownloadEpisodeSubtitles":false},"ManualLoginClients":[],"EnableDebugLevelLogging":false,"EnableAutoUpdate":true,"SystemUpdateLevel":"Release","LogFileRetentionDays":3,"RunAtStartup":false,"IsStartupWizardCompleted":false}
Info, App, Loading MediaBrowser.Api, Version=3.0.5264.18817, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.WebDashboard, Version=3.0.5264.18816, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Model, Version=3.0.5264.18812, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Common, Version=3.0.5264.18812, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Controller, Version=3.0.5264.18813, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Providers, Version=3.0.5264.18814, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Common.Implementations, Version=3.0.5264.18813, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Server.Implementations, Version=3.0.5264.18815, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.MediaEncoding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Dlna, Version=3.0.5264.18817, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.IsoMounting.Linux, Version=1.0.5131.24779, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Server.Mono, Version=3.0.5264.18818, Culture=neutral, PublicKeyToken=null
Info, App, Version 3.0.5264.18818 initializing
Info, SqliteUserRepository, Opening /opt/mediabrowser/ProgramData-Server/data/users.db
Info, SqliteItemRepository, Opening /opt/mediabrowser/ProgramData-Server/data/chapters.db
Info, SqliteItemRepository, Opening /opt/mediabrowser/ProgramData-Server/data/mediainfo.db
Info, SqliteFileOrganizationRepository, Opening /opt/mediabrowser/ProgramData-Server/data/fileorganization.db
Error, Main, UnhandledException
        One or more errors occured
        System.AggregateException
          at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) [0x00000] in <filename unknown>:0
          at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks) [0x00000] in <filename unknown>:0
          at MediaBrowser.Server.Mono.MainClass.RunApplication (MediaBrowser.Server.Implementations.ServerApplicationPaths appPaths, ILogManager logManager) [0x00000] in <filename unknown>:0
          at MediaBrowser.Server.Mono.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0
        InnerException: System.ApplicationException
        Unable to download required components. Please try again later.
          at MediaBrowser.ServerApplication.FFMpeg.FFMpegDownloader+<DownloadFFMpeg>c__asyncF.MoveNext () [0x00000] in <filename unknown>:0
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0
          at MediaBrowser.ServerApplication.FFMpeg.FFMpegDownloader+<GetFFMpegInfo>c__asyncD.MoveNext () [0x00000] in <filename unknown>:0
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[MediaBrowser.ServerApplication.FFMpeg.FFMpegInfo].GetResult () [0x00000] in <filename unknown>:0
          at MediaBrowser.ServerApplication.ApplicationHost+<RegisterMediaEncoder>c__async2.MoveNext () [0x00000] in <filename unknown>:0
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0
          at MediaBrowser.ServerApplication.ApplicationHost+<RegisterResources>c__async1.MoveNext () [0x00000] in <filename unknown>:0
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0
          at MediaBrowser.Common.Implementations.BaseApplicationHost`1+<Init>c__async0[MediaBrowser.Server.Implementations.ServerApplicationPaths].MoveNext () [0x00000] in <filename unknown>:0

UnhandledException
One or more errors occured
System.AggregateException
  at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) [0x00000] in <filename unknown>:0
  at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks) [0x00000] in <filename unknown>:0
  at MediaBrowser.Server.Mono.MainClass.RunApplication (MediaBrowser.Server.Implementations.ServerApplicationPaths appPaths, ILogManager logManager) [0x00000] in <filename unknown>:0
  at MediaBrowser.Server.Mono.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0
InnerException: System.ApplicationException
Unable to download required components. Please try again later.
  at MediaBrowser.ServerApplication.FFMpeg.FFMpegDownloader+<DownloadFFMpeg>c__asyncF.MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0
  at MediaBrowser.ServerApplication.FFMpeg.FFMpegDownloader+<GetFFMpegInfo>c__asyncD.MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[MediaBrowser.ServerApplication.FFMpeg.FFMpegInfo].GetResult () [0x00000] in <filename unknown>:0
  at MediaBrowser.ServerApplication.ApplicationHost+<RegisterMediaEncoder>c__async2.MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0
  at MediaBrowser.ServerApplication.ApplicationHost+<RegisterResources>c__async1.MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0
  at MediaBrowser.Common.Implementations.BaseApplicationHost`1+<Init>c__async0[MediaBrowser.Server.Implementations.ServerApplicationPaths].MoveNext () [0x00000] in <filename unknown>:0

Link to comment
Share on other sites

 

Hmmm

Still get the same exception with the new version. Something about ffmpeg

Info, Main, Media Browser Server started
Info, Main, Command line: /opt/mediabrowser/MediaBrowser.Server.Mono.exe
Info, Main, Server: linaro-server
Info, Main, Operating system: Unix 3.8.13.18
appHost.Init
Info, App, Application Configuration:
        {"WeatherUnit":"Fahrenheit","EnableHttpLevelLogging":true,"EnableUPnP":true,"HttpServerPortNumber":8096,"LegacyWebSocketPortNumber":8945,"EnableInternetProviders":true,"SeasonZeroDisplayName":"Specials","MetadataRefreshDays":30,"SaveLocalMeta":false,"RefreshItemImages":false,"PreferredMetadataLanguage":"en","MetadataCountryCode":"US","SortReplaceCharacters":[".","+","%"],"SortRemoveCharacters":[",","&","-","{","}","'"],"SortRemoveWords":["the","a","an"],"ShowLogWindow":false,"MinResumePct":5,"MaxResumePct":90,"MinResumeDurationSeconds":300,"RealtimeMonitorDelay":30,"EnableDashboardResponseCaching":true,"EnableTvDbUpdates":false,"EnableTmdbUpdates":false,"EnableFanArtUpdates":false,"RequireMobileManualLogin":false,"RequireNonMobileManualLogin":false,"ImageSavingConvention":"Compatible","EnablePeoplePrefixSubFolders":true,"MediaEncodingQuality":"Auto","AllowVideoUpscaling":false,"EnableMovieChapterImageExtraction":true,"EnableEpisodeChapterImageExtraction":false,"EnableOtherVideoChapterImageExtraction":false,"MetadataOptions":[{"ItemType":"Book","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicAlbum","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicArtist","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Season","ImageOptions":[{"Type":"Backdrop","Limit":0,"MinWidth":1280}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]}],"EnableDebugEncodingLogging":false,"EnableAutomaticRestart":true,"TvFileOrganizationOptions":{"IsEnabled":false,"MinFileSizeMb":50,"LeftOverFileExtensionsToDelete":[],"WatchLocations":[],"SeasonFolderPattern":"Season %s","SeasonZeroFolderName":"Season 0","EpisodeNamePattern":"%sn - %sx%0e - %en.%ext","MultiEpisodeNamePattern":"%sn - %sx%0e-x%0ed - %en.%ext","OverwriteExistingEpisodes":false,"DeleteEmptyFolders":false,"CopyOriginalFile":false},"LiveTvOptions":{},"EnableRealtimeMonitor":true,"PathSubstitutions":[],"UICulture":"en-us","DlnaOptions":{"EnablePlayTo":true,"EnableServer":true,"EnableDebugLogging":false,"BlastAliveMessages":true,"ClientDiscoveryIntervalSeconds":60,"BlastAliveMessageIntervalSeconds":30},"DownMixAudioBoost":2,"NotificationOptions":{"Options":[{"Type":"TaskFailed","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"},{"Type":"ServerRestartRequired","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"},{"Type":"ApplicationUpdateAvailable","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"},{"Type":"ApplicationUpdateInstalled","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"},{"Type":"PluginUpdateInstalled","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"},{"Type":"PluginUninstalled","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"},{"Type":"InstallationFailed","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"},{"Type":"PluginInstalled","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"},{"Type":"PluginError","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"}]},"SubtitleOptions":{"SkipIfGraphicalSubtitlesPresent":false,"SkipIfAudioTrackMatches":true,"DownloadLanguages":[],"DownloadMovieSubtitles":false,"DownloadEpisodeSubtitles":false},"ManualLoginClients":[],"EnableDebugLevelLogging":false,"EnableAutoUpdate":true,"SystemUpdateLevel":"Release","LogFileRetentionDays":3,"RunAtStartup":false,"IsStartupWizardCompleted":false}
Info, App, Loading MediaBrowser.Api, Version=3.0.5264.18817, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.WebDashboard, Version=3.0.5264.18816, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Model, Version=3.0.5264.18812, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Common, Version=3.0.5264.18812, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Controller, Version=3.0.5264.18813, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Providers, Version=3.0.5264.18814, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Common.Implementations, Version=3.0.5264.18813, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Server.Implementations, Version=3.0.5264.18815, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.MediaEncoding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Dlna, Version=3.0.5264.18817, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.IsoMounting.Linux, Version=1.0.5131.24779, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Server.Mono, Version=3.0.5264.18818, Culture=neutral, PublicKeyToken=null
Info, App, Version 3.0.5264.18818 initializing
Info, SqliteUserRepository, Opening /opt/mediabrowser/ProgramData-Server/data/users.db
Info, SqliteItemRepository, Opening /opt/mediabrowser/ProgramData-Server/data/chapters.db
Info, SqliteItemRepository, Opening /opt/mediabrowser/ProgramData-Server/data/mediainfo.db
Info, SqliteFileOrganizationRepository, Opening /opt/mediabrowser/ProgramData-Server/data/fileorganization.db
Error, Main, UnhandledException
        One or more errors occured
        System.AggregateException
          at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) [0x00000] in <filename unknown>:0
          at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks) [0x00000] in <filename unknown>:0
          at MediaBrowser.Server.Mono.MainClass.RunApplication (MediaBrowser.Server.Implementations.ServerApplicationPaths appPaths, ILogManager logManager) [0x00000] in <filename unknown>:0
          at MediaBrowser.Server.Mono.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0
        InnerException: System.ApplicationException
        Unable to download required components. Please try again later.
          at MediaBrowser.ServerApplication.FFMpeg.FFMpegDownloader+<DownloadFFMpeg>c__asyncF.MoveNext () [0x00000] in <filename unknown>:0
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0
          at MediaBrowser.ServerApplication.FFMpeg.FFMpegDownloader+<GetFFMpegInfo>c__asyncD.MoveNext () [0x00000] in <filename unknown>:0
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[MediaBrowser.ServerApplication.FFMpeg.FFMpegInfo].GetResult () [0x00000] in <filename unknown>:0
          at MediaBrowser.ServerApplication.ApplicationHost+<RegisterMediaEncoder>c__async2.MoveNext () [0x00000] in <filename unknown>:0
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0
          at MediaBrowser.ServerApplication.ApplicationHost+<RegisterResources>c__async1.MoveNext () [0x00000] in <filename unknown>:0
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0
          at MediaBrowser.Common.Implementations.BaseApplicationHost`1+<Init>c__async0[MediaBrowser.Server.Implementations.ServerApplicationPaths].MoveNext () [0x00000] in <filename unknown>:0

UnhandledException
One or more errors occured
System.AggregateException
  at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) [0x00000] in <filename unknown>:0
  at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks) [0x00000] in <filename unknown>:0
  at MediaBrowser.Server.Mono.MainClass.RunApplication (MediaBrowser.Server.Implementations.ServerApplicationPaths appPaths, ILogManager logManager) [0x00000] in <filename unknown>:0
  at MediaBrowser.Server.Mono.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0
InnerException: System.ApplicationException
Unable to download required components. Please try again later.
  at MediaBrowser.ServerApplication.FFMpeg.FFMpegDownloader+<DownloadFFMpeg>c__asyncF.MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0
  at MediaBrowser.ServerApplication.FFMpeg.FFMpegDownloader+<GetFFMpegInfo>c__asyncD.MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[MediaBrowser.ServerApplication.FFMpeg.FFMpegInfo].GetResult () [0x00000] in <filename unknown>:0
  at MediaBrowser.ServerApplication.ApplicationHost+<RegisterMediaEncoder>c__async2.MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0
  at MediaBrowser.ServerApplication.ApplicationHost+<RegisterResources>c__async1.MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0
  at MediaBrowser.Common.Implementations.BaseApplicationHost`1+<Init>c__async0[MediaBrowser.Server.Implementations.ServerApplicationPaths].MoveNext () [0x00000] in <filename unknown>:0

 

what is the distro and architecture?

Link to comment
Share on other sites

ok. i think we just don't have an ffmpeg arm build yet. i'll try to look at that soon.

Link to comment
Share on other sites

Hi, I'm really looking forward to this. Just so you know I am currently having the same error as above about the FFMpeg download, except I'm on Arch ARM and armv5

 

Before that I was having problems because it was trying to load the x86_64 libsqlite3.so.0.8.6 I solved that by linking my ARM compiled .so form /usr/lib over the top of the versions provided by mediabrowser

 

here's the FFMpeg crash log:

2014-06-01 02:07:47.2393 Info - Main: Media Browser Server started
2014-06-01 02:07:47.4373 Info - Main: Command line: /opt/mediabrowser-server/MediaBrowser.Server.Mono.exe -programdata /var/opt/mediabrowser-server/
2014-06-01 02:07:47.4433 Info - Main: Server: Treebrary
2014-06-01 02:07:47.4518 Info - Main: Operating system: Unix 3.14.2.1
2014-06-01 02:07:52.3829 Info - App: Application Configuration:
        {"WeatherUnit":"Fahrenheit","EnableHttpLevelLogging":true,"EnableUPnP":true,"HttpServerPortNumber":8096,"LegacyWebSocketPortNumber":8945,"EnableInternetProviders":true,"SeasonZeroDisplayName":"Specials","MetadataRefreshDays":30,"SaveLocalMeta":false,"RefreshItemImages":false,"PreferredMetadataLanguage":"en","MetadataCountryCode":"US","SortReplaceCharacters":[".","+","%"],"SortRemoveCharacters":[",","&","-","{","}","'"],"SortRemoveWords":["the","a","an"],"ShowLogWindow":false,"MinResumePct":5,"MaxResumePct":90,"MinResumeDurationSeconds":300,"RealtimeMonitorDelay":30,"EnableDashboardResponseCaching":true,"EnableTvDbUpdates":false,"EnableTmdbUpdates":false,"EnableFanArtUpdates":false,"RequireMobileManualLogin":false,"RequireNonMobileManualLogin":false,"ImageSavingConvention":"Compatible","EnablePeoplePrefixSubFolders":true,"MediaEncodingQuality":"Auto","AllowVideoUpscaling":false,"EnableMovieChapterImageExtraction":true,"EnableEpisodeChapterImageExtraction":false,"EnableOtherVideoChapterImageExtraction":false,"MetadataOptions":[{"ItemType":"Book","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicAlbum","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicArtist","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Season","ImageOptions":[{"Type":"Backdrop","Limit":0,"MinWidth":1280}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]}],"EnableDebugEncodingLogging":false,"EnableAutomaticRestart":true,"TvFileOrganizationOptions":{"IsEnabled":false,"MinFileSizeMb":50,"LeftOverFileExtensionsToDelete":[],"WatchLocations":[],"SeasonFolderPattern":"Season %s","SeasonZeroFolderName":"Season 0","EpisodeNamePattern":"%sn - %sx%0e - %en.%ext","MultiEpisodeNamePattern":"%sn - %sx%0e-x%0ed - %en.%ext","OverwriteExistingEpisodes":false,"DeleteEmptyFolders":false,"CopyOriginalFile":false},"LiveTvOptions":{},"EnableRealtimeMonitor":true,"PathSubstitutions":[],"UICulture":"en-us","DlnaOptions":{"EnablePlayTo":true,"EnableServer":true,"EnableDebugLogging":false,"BlastAliveMessages":true,"ClientDiscoveryIntervalSeconds":60,"BlastAliveMessageIntervalSeconds":30},"DownMixAudioBoost":2,"NotificationOptions":{"Options":[{"Type":"TaskFailed","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"},{"Type":"ServerRestartRequired","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"},{"Type":"ApplicationUpdateAvailable","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"},{"Type":"ApplicationUpdateInstalled","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"},{"Type":"PluginUpdateInstalled","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"},{"Type":"PluginUninstalled","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"},{"Type":"InstallationFailed","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"},{"Type":"PluginInstalled","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"},{"Type":"PluginError","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"}]},"SubtitleOptions":{"SkipIfGraphicalSubtitlesPresent":false,"SkipIfAudioTrackMatches":true,"DownloadLanguages":[],"DownloadMovieSubtitles":false,"DownloadEpisodeSubtitles":false},"ManualLoginClients":[],"EnableDebugLevelLogging":false,"EnableAutoUpdate":true,"SystemUpdateLevel":"Release","LogFileRetentionDays":3,"RunAtStartup":false,"IsStartupWizardCompleted":false}
2014-06-01 02:07:52.4390 Info - App: Loading MediaBrowser.Api, Version=3.0.5264.18817, Culture=neutral, PublicKeyToken=null
2014-06-01 02:07:52.4421 Info - App: Loading MediaBrowser.WebDashboard, Version=3.0.5264.18816, Culture=neutral, PublicKeyToken=null
2014-06-01 02:07:52.4458 Info - App: Loading MediaBrowser.Model, Version=3.0.5264.18812, Culture=neutral, PublicKeyToken=null
2014-06-01 02:07:52.4486 Info - App: Loading MediaBrowser.Common, Version=3.0.5264.18812, Culture=neutral, PublicKeyToken=null
2014-06-01 02:07:52.4513 Info - App: Loading MediaBrowser.Controller, Version=3.0.5264.18813, Culture=neutral, PublicKeyToken=null
2014-06-01 02:07:52.4526 Info - App: Loading MediaBrowser.Providers, Version=3.0.5264.18814, Culture=neutral, PublicKeyToken=null
2014-06-01 02:07:52.4537 Info - App: Loading MediaBrowser.Common.Implementations, Version=3.0.5264.18813, Culture=neutral, PublicKeyToken=null
2014-06-01 02:07:52.4547 Info - App: Loading MediaBrowser.Server.Implementations, Version=3.0.5264.18815, Culture=neutral, PublicKeyToken=null
2014-06-01 02:07:52.4557 Info - App: Loading MediaBrowser.MediaEncoding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
2014-06-01 02:07:52.4566 Info - App: Loading MediaBrowser.Dlna, Version=3.0.5264.18817, Culture=neutral, PublicKeyToken=null
2014-06-01 02:07:52.4663 Info - App: Loading MediaBrowser.IsoMounting.Linux, Version=1.0.5131.24779, Culture=neutral, PublicKeyToken=null
2014-06-01 02:07:52.4672 Info - App: Loading MediaBrowser.Server.Mono, Version=3.0.5264.18818, Culture=neutral, PublicKeyToken=null
2014-06-01 02:07:52.6657 Info - App: Version 3.0.5264.18818 initializing
2014-06-01 02:07:54.3417 Info - SqliteUserRepository: Opening /var/opt/mediabrowser-server/data/users.db
2014-06-01 02:07:55.0984 Info - SqliteItemRepository: Opening /var/opt/mediabrowser-server/data/chapters.db
2014-06-01 02:07:55.1576 Info - SqliteItemRepository: Opening /var/opt/mediabrowser-server/data/mediainfo.db
2014-06-01 02:07:55.3230 Info - SqliteFileOrganizationRepository: Opening /var/opt/mediabrowser-server/data/fileorganization.db
2014-06-01 02:07:56.5306 Error - Main: UnhandledException
        One or more errors occured
        System.AggregateException
          at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) [0x00000] in <filename unknown>:0 
          at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks) [0x00000] in <filename unknown>:0 
          at MediaBrowser.Server.Mono.MainClass.RunApplication (MediaBrowser.Server.Implementations.ServerApplicationPaths appPaths, ILogManager logManager) [0x00000] in <filename unknown>:0 
          at MediaBrowser.Server.Mono.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0 
        InnerException: System.ApplicationException
        Unable to download required components. Please try again later.
          at MediaBrowser.ServerApplication.FFMpeg.FFMpegDownloader+<DownloadFFMpeg>c__asyncF.MoveNext () [0x00000] in <filename unknown>:0 
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
          at MediaBrowser.ServerApplication.FFMpeg.FFMpegDownloader+<GetFFMpegInfo>c__asyncD.MoveNext () [0x00000] in <filename unknown>:0 
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[MediaBrowser.ServerApplication.FFMpeg.FFMpegInfo].GetResult () [0x00000] in <filename unknown>:0 
          at MediaBrowser.ServerApplication.ApplicationHost+<RegisterMediaEncoder>c__async2.MoveNext () [0x00000] in <filename unknown>:0 
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
          at MediaBrowser.ServerApplication.ApplicationHost+<RegisterResources>c__async1.MoveNext () [0x00000] in <filename unknown>:0 
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
          at MediaBrowser.Common.Implementations.BaseApplicationHost`1+<Init>c__async0[MediaBrowser.Server.Implementations.ServerApplicationPaths].MoveNext () [0x00000] in <filename unknown>:0 
Link to comment
Share on other sites

 

Hi, I'm really looking forward to this. Just so you know I am currently having the same error as above about the FFMpeg download, except I'm on Arch ARM and armv5

 

Before that I was having problems because it was trying to load the x86_64 libsqlite3.so.0.8.6 I solved that by linking my ARM compiled .so form /usr/lib over the top of the versions provided by mediabrowser

 

here's the FFMpeg crash log:

2014-06-01 02:07:47.2393 Info - Main: Media Browser Server started
2014-06-01 02:07:47.4373 Info - Main: Command line: /opt/mediabrowser-server/MediaBrowser.Server.Mono.exe -programdata /var/opt/mediabrowser-server/
2014-06-01 02:07:47.4433 Info - Main: Server: Treebrary
2014-06-01 02:07:47.4518 Info - Main: Operating system: Unix 3.14.2.1
2014-06-01 02:07:52.3829 Info - App: Application Configuration:
        {"WeatherUnit":"Fahrenheit","EnableHttpLevelLogging":true,"EnableUPnP":true,"HttpServerPortNumber":8096,"LegacyWebSocketPortNumber":8945,"EnableInternetProviders":true,"SeasonZeroDisplayName":"Specials","MetadataRefreshDays":30,"SaveLocalMeta":false,"RefreshItemImages":false,"PreferredMetadataLanguage":"en","MetadataCountryCode":"US","SortReplaceCharacters":[".","+","%"],"SortRemoveCharacters":[",","&","-","{","}","'"],"SortRemoveWords":["the","a","an"],"ShowLogWindow":false,"MinResumePct":5,"MaxResumePct":90,"MinResumeDurationSeconds":300,"RealtimeMonitorDelay":30,"EnableDashboardResponseCaching":true,"EnableTvDbUpdates":false,"EnableTmdbUpdates":false,"EnableFanArtUpdates":false,"RequireMobileManualLogin":false,"RequireNonMobileManualLogin":false,"ImageSavingConvention":"Compatible","EnablePeoplePrefixSubFolders":true,"MediaEncodingQuality":"Auto","AllowVideoUpscaling":false,"EnableMovieChapterImageExtraction":true,"EnableEpisodeChapterImageExtraction":false,"EnableOtherVideoChapterImageExtraction":false,"MetadataOptions":[{"ItemType":"Book","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicAlbum","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicArtist","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Season","ImageOptions":[{"Type":"Backdrop","Limit":0,"MinWidth":1280}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]}],"EnableDebugEncodingLogging":false,"EnableAutomaticRestart":true,"TvFileOrganizationOptions":{"IsEnabled":false,"MinFileSizeMb":50,"LeftOverFileExtensionsToDelete":[],"WatchLocations":[],"SeasonFolderPattern":"Season %s","SeasonZeroFolderName":"Season 0","EpisodeNamePattern":"%sn - %sx%0e - %en.%ext","MultiEpisodeNamePattern":"%sn - %sx%0e-x%0ed - %en.%ext","OverwriteExistingEpisodes":false,"DeleteEmptyFolders":false,"CopyOriginalFile":false},"LiveTvOptions":{},"EnableRealtimeMonitor":true,"PathSubstitutions":[],"UICulture":"en-us","DlnaOptions":{"EnablePlayTo":true,"EnableServer":true,"EnableDebugLogging":false,"BlastAliveMessages":true,"ClientDiscoveryIntervalSeconds":60,"BlastAliveMessageIntervalSeconds":30},"DownMixAudioBoost":2,"NotificationOptions":{"Options":[{"Type":"TaskFailed","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"},{"Type":"ServerRestartRequired","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"},{"Type":"ApplicationUpdateAvailable","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"},{"Type":"ApplicationUpdateInstalled","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"},{"Type":"PluginUpdateInstalled","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"},{"Type":"PluginUninstalled","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"},{"Type":"InstallationFailed","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"},{"Type":"PluginInstalled","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"},{"Type":"PluginError","DisabledMonitorUsers":[],"SendToUsers":[],"Enabled":true,"DisabledServices":[],"SendToUserMode":"Admins"}]},"SubtitleOptions":{"SkipIfGraphicalSubtitlesPresent":false,"SkipIfAudioTrackMatches":true,"DownloadLanguages":[],"DownloadMovieSubtitles":false,"DownloadEpisodeSubtitles":false},"ManualLoginClients":[],"EnableDebugLevelLogging":false,"EnableAutoUpdate":true,"SystemUpdateLevel":"Release","LogFileRetentionDays":3,"RunAtStartup":false,"IsStartupWizardCompleted":false}
2014-06-01 02:07:52.4390 Info - App: Loading MediaBrowser.Api, Version=3.0.5264.18817, Culture=neutral, PublicKeyToken=null
2014-06-01 02:07:52.4421 Info - App: Loading MediaBrowser.WebDashboard, Version=3.0.5264.18816, Culture=neutral, PublicKeyToken=null
2014-06-01 02:07:52.4458 Info - App: Loading MediaBrowser.Model, Version=3.0.5264.18812, Culture=neutral, PublicKeyToken=null
2014-06-01 02:07:52.4486 Info - App: Loading MediaBrowser.Common, Version=3.0.5264.18812, Culture=neutral, PublicKeyToken=null
2014-06-01 02:07:52.4513 Info - App: Loading MediaBrowser.Controller, Version=3.0.5264.18813, Culture=neutral, PublicKeyToken=null
2014-06-01 02:07:52.4526 Info - App: Loading MediaBrowser.Providers, Version=3.0.5264.18814, Culture=neutral, PublicKeyToken=null
2014-06-01 02:07:52.4537 Info - App: Loading MediaBrowser.Common.Implementations, Version=3.0.5264.18813, Culture=neutral, PublicKeyToken=null
2014-06-01 02:07:52.4547 Info - App: Loading MediaBrowser.Server.Implementations, Version=3.0.5264.18815, Culture=neutral, PublicKeyToken=null
2014-06-01 02:07:52.4557 Info - App: Loading MediaBrowser.MediaEncoding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
2014-06-01 02:07:52.4566 Info - App: Loading MediaBrowser.Dlna, Version=3.0.5264.18817, Culture=neutral, PublicKeyToken=null
2014-06-01 02:07:52.4663 Info - App: Loading MediaBrowser.IsoMounting.Linux, Version=1.0.5131.24779, Culture=neutral, PublicKeyToken=null
2014-06-01 02:07:52.4672 Info - App: Loading MediaBrowser.Server.Mono, Version=3.0.5264.18818, Culture=neutral, PublicKeyToken=null
2014-06-01 02:07:52.6657 Info - App: Version 3.0.5264.18818 initializing
2014-06-01 02:07:54.3417 Info - SqliteUserRepository: Opening /var/opt/mediabrowser-server/data/users.db
2014-06-01 02:07:55.0984 Info - SqliteItemRepository: Opening /var/opt/mediabrowser-server/data/chapters.db
2014-06-01 02:07:55.1576 Info - SqliteItemRepository: Opening /var/opt/mediabrowser-server/data/mediainfo.db
2014-06-01 02:07:55.3230 Info - SqliteFileOrganizationRepository: Opening /var/opt/mediabrowser-server/data/fileorganization.db
2014-06-01 02:07:56.5306 Error - Main: UnhandledException
        One or more errors occured
        System.AggregateException
          at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) [0x00000] in <filename unknown>:0 
          at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks) [0x00000] in <filename unknown>:0 
          at MediaBrowser.Server.Mono.MainClass.RunApplication (MediaBrowser.Server.Implementations.ServerApplicationPaths appPaths, ILogManager logManager) [0x00000] in <filename unknown>:0 
          at MediaBrowser.Server.Mono.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0 
        InnerException: System.ApplicationException
        Unable to download required components. Please try again later.
          at MediaBrowser.ServerApplication.FFMpeg.FFMpegDownloader+<DownloadFFMpeg>c__asyncF.MoveNext () [0x00000] in <filename unknown>:0 
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
          at MediaBrowser.ServerApplication.FFMpeg.FFMpegDownloader+<GetFFMpegInfo>c__asyncD.MoveNext () [0x00000] in <filename unknown>:0 
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[MediaBrowser.ServerApplication.FFMpeg.FFMpegInfo].GetResult () [0x00000] in <filename unknown>:0 
          at MediaBrowser.ServerApplication.ApplicationHost+<RegisterMediaEncoder>c__async2.MoveNext () [0x00000] in <filename unknown>:0 
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
          at MediaBrowser.ServerApplication.ApplicationHost+<RegisterResources>c__async1.MoveNext () [0x00000] in <filename unknown>:0 
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
          at MediaBrowser.Common.Implementations.BaseApplicationHost`1+<Init>c__async0[MediaBrowser.Server.Implementations.ServerApplicationPaths].MoveNext () [0x00000] in <filename unknown>:0 

 

Basically the same response as to the previous poster. we don't currently have an ffmpeg build for arm. i'll look into it when i can.

Link to comment
Share on other sites

buzzer87

I just build ffmpeg and link the version to the ffmpeg-mediabrowser directory. Working fine now ^^

 

P.S. Do mediabrowser downloads more dependencies or is ffmpeg and ffprobe enough?

Link to comment
Share on other sites

I just build ffmpeg and link the version to the ffmpeg-mediabrowser directory. Working fine now ^^

 

P.S. Do mediabrowser downloads more dependencies or is ffmpeg and ffprobe enough?

 

oh, so I should be able to do the same thing I did with sqlite3 and link my system ffmpeg into the directory? thanks. what files specifically need to be linked where if you could tell me?

 

EDIT: figured it out, made a folder mediabrowser/ffmpeg/20140506 and system linked ffmpeg and ffprobe into it.. seems to be up and running now

Edited by Ryex
Link to comment
Share on other sites

buzzer87

Hmm I think something is wrong with my setup. The "Media Info" is empty

 

 

538c26447a578_test.jpg

/opt/mediabrowser/ProgramData-Server/ffmpeg/linux_x86_64_20140506/ffprobe /media/storage/series/sickbeard/Penny\ Dreadful/Season\ 01/penny.dreadful.s01e04.720p.hdtv.x264-killers.mkv
ffprobe version 2.2.2-static Copyright (c) 2007-2014 the FFmpeg developers
  built on May 31 2014 19:33:13 with gcc 4.8 (Ubuntu/Linaro 4.8.2-19ubuntu1)
  configuration: --prefix=/root/ffmpeg/target --extra-cflags='-I/root/ffmpeg/target/include -static' --extra-ldflags='-L/root/ffmpeg/target/lib -lm -static' --extra-version=static --disable-debug --disable-shared --enable-static --extra-cflags=--static --disable-ffplay --disable-ffserver --disable-doc --enable-gpl --enable-pthreads --enable-postproc --enable-gray --enable-runtime-cpudetect --enable-libfaac --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-bzlib --enable-zlib --enable-nonfree --enable-version3 --enable-libvpx --disable-devices
  libavutil      52. 66.100 / 52. 66.100
  libavcodec     55. 52.102 / 55. 52.102
  libavformat    55. 33.100 / 55. 33.100
  libavdevice    55. 10.100 / 55. 10.100
  libavfilter     4.  2.100 /  4.  2.100
  libswscale      2.  5.102 /  2.  5.102
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
Input #0, matroska,webm, from '/media/storage/series/sickbeard/Penny Dreadful/Season 01/penny.dreadful.s01e04.720p.hdtv.x264-killers.mkv':
  Metadata:
    encoder         : libebml v1.3.0 + libmatroska v1.4.0
    creation_time   : 2014-06-02 05:15:26
  Duration: 00:59:28.77, start: 0.000000, bitrate: 2638 kb/s
    Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709), 1280x720, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default)

but manually using ffprobe is working

Edited by buzzer87
Link to comment
Share on other sites

buzzer87

I get this error message. Somebody knows what's up with ffprobe?

2014-06-02 15:33:48.4011 Error - App: Error in ffprobe
        FFProbe failed for file:"/media/storage/series/sickbeard/Penny Dreadful/Season 01/penny.dreadful.s01e04.720p.hdtv.x264-killers.mkv"
        System.ApplicationException
          at MediaBrowser.MediaEncoding.Encoder.MediaEncoder+<GetMediaInfoInternal>c__async0.MoveNext () [0x00000] in <filename unknown>:0
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[MediaBrowser.Controller.MediaEncoding.InternalMediaInfoResult].GetResult () [0x00000] in <filename unknown>:0
          at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo+<GetMediaInfo>c__async1C.MoveNext () [0x00000] in <filename unknown>:0
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[MediaBrowser.Controller.MediaEncoding.InternalMediaInfoResult].GetResult () [0x00000] in <filename unknown>:0
          at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo+<ProbeVideo>c__async1B`1[MediaBrowser.Controller.Entities.TV.Episode].MoveNext () [0x00000] in <filename unknown>:0
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[MediaBrowser.Controller.Library.ItemUpdateType].GetResult () [0x00000] in <filename unknown>:0
          at MediaBrowser.Providers.Manager.MetadataService`2+<RunCustomProvider>c__async2[MediaBrowser.Controller.Entities.TV.Episode,MediaBrowser.Controller.Providers.EpisodeInfo].MoveNext () [0x00000] in <filename unknown>:0

Link to comment
Share on other sites

Azor

Hello everyone,

 

I'm trying to give mediabrowser a try, but I'm having a couple of issues, the webapp seems to be loading really slow sometimes, and I can't get any images on my library. (Looking at the logs, it seems to be an issue with libgdiplus, even though I installed it along with mono).
Every pictures are saved in my library, under ProgramData-Server/ImagesByName

 

Screenshot : mj5YoTQ.png?1

 

Mono version :

Mono JIT compiler version 3.4.1 (master/adcc774 Mon Jun  2 14:47:12 CEST 2014)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
        TLS:           __thread
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  amd64
        Disabled:      none
        Misc:          softdebug
        LLVM:          supported, not enabled.
        GC:            sgen

Linux version :


cat /etc/issue
Debian GNU/Linux 7.1
Linux myhostname.kimsufi.com 3.8.13-xxxx-grs-ipv6-64 #4 SMP Mon Aug 5 14:37:04 CEST 2013 x86_64 GNU/Linux

The log file :

http://pastebin.com/8H1CJzQX

 

 

Please note that I am running mediabrowser on a dedicated server (I'm using this setup with Plex, and considering moving from Plex to Mediabrowser!)

If anyone got any idea where those bugs come from, MB3 seems really appealing coming from Plex.

 

(Please excuse my English)

 

 

 

 

 

 

Edit : The image bug seems to be resolved, it seems that libgdiplus wasn't working as intended, looks better now.

MB3 stills is really slow for now, maybe because it's still buffering every pictures and so on.

 

Edit 2 : I Chrome (last version) looks to be the issue, MB3 is running smoothly in Firefox.

Edited by Azor
Link to comment
Share on other sites

Azor

An update is out to match the windows update.

Great!

 

 

Working way fasterwith Chrome right now! (Still a little slower than FF, and some pages aren't loading)

Plex is not running on my server anymore :D, long live MB3!

Edited by Azor
Link to comment
Share on other sites

Cool, although that's odd. I wouldn't have expected that to change. 

Link to comment
Share on other sites

buzzer87

I finally found the problem. :)

Mediabrowser is somehow using the ffmpeg path to retrieve the media info. So I moved ffmpeg and linked ffprobe with ffmpeg and tada it worked.

But thats only a bad workaround, because I have to revert the change everytime for transcoding.

 

And why i'm the only one with this problem ^^. But at least it's finally working

Link to comment
Share on other sites

a3gill

Hello,

 

Anyone bumped into someone working toward a build meant to be deployed as a 2nd gen DroboApp (or, those apps meant for Drobo 5N and beyond)?

 

I have no clue of the effort needed, just that I would like to move my MB server over to run on the Drobo with the standard usenet bundle (SB, CB, SAB, etc...). While I tend to prefer Windows, in this case it's about consolidation of public facing services, or more simply put, the number of machines needing to be up and available 'round the clock.

 

I'm not sure that it could even run efficiently given the limited "umph" of an ARM proc'd NAS, but just from personal observation, it would appear to have resources to burn. Also, I am not running a bunch of junk on it, nor am I spending cycles on tinkering.

 

If anyone has heard anything, I'd be interested to know of it.

 

Much appreciated,

Andy

Edited by a3gill
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...