Jump to content

Linux Setup


Luke

Recommended Posts

i've reverted it to the beta from a few days prior while i test the issue

Cool! Thank you very much! We stay tuned and if you need some tester for verification, drop us an additional link and at least I'll take a shot at it ;-)

Link to comment
Share on other sites

I have an issue with the subtitles on the web-client for quite some times now.

 

Some lines are not displayed on the web-client, when I have no issue with the Theater version.

About ~1/4 of the lines are dropped (not prompted at all on screen).

 

Did anyone encounter this issue ?

 

Do you have any idea on where this issue come from Luke? like maybe from a broken packet or something.

Link to comment
Share on other sites

PaddyEire

This may help someone:

 

This is how I installed MB3 on Ubuntu 14.10 x64

 

sudo apt-get install build-essential
 
 
tar -xvf mono-3.6.0.tar.bz2
 
cd mono-3.6.0/
 
./configure --prefix=/usr/local
 
make
 
sudo make install
 
make get-monolite-latest
make EXTERNAL_MCS="${PWD}/mcs/class/lib/monolite/gmcs.exe"
 
sudo apt-get install libgdiplus
 
sudo apt-get install zip unzip
 
cd Downloads
unzip MBrowser
mono MediaBrowser.Server.Mono.exe
 
 
Hope this helps with the learning curve for some.
  • Like 2
Link to comment
Share on other sites

discinabq

Can some one please help me. I am running Debian 6. I have everything installed per the instructions but am getting this exception when i attempt to run the .exe via mono:

 

 

rob@prime:~$ mono MediaBrowser.Server.Mono.exe
Info, Main, Media Browser Server started
Info, Main, Command line: /home/rob/MediaBrowser.Server.Mono.exe
Info, Main, Server: prime
Info, Main, Operating system: Unix 3.2.0.4
appHost.Init
Info, App, Application version: 3.0.5363.32049
Info, App, Application configuration:
        {"EnableUPnP":true,"HttpServerPortNumber":8096,"EnableInternetProviders":true,"SeasonZeroDisplayName":"Specials","SaveLocalMeta":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,"ImageSavingConvention":"Compatible","EnablePeoplePrefixSubFolders":true,"MediaEncodingQuality":"Auto","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},{"Type":"Disc","Limit":0,"MinWidth":0}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicArtist","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Banner","Limit":0,"MinWidth":0},{"Type":"Art","Limit":0,"MinWidth":0}],"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,"EnableRealtimeMonitor":true,"PathSubstitutions":[],"UICulture":"en-us","DownMixAudioBoost":2,"DefaultMetadataSettingsApplied":false,"PeopleMetadataOptions":{"DownloadActorMetadata":true,"DownloadDirectorMetadata":true,"DownloadProducerMetadata":false,"DownloadWriterMetadata":false,"DownloadComposerMetadata":false,"DownloadOtherPeopleMetadata":false,"DownloadGuestStarMetadata":false},"SecureApps1":["Dashboard","MBKinect","NuVue","Media Browser Theater"],"SaveMetadataHidden":false,"EnableDebugLevelLogging":false,"EnableAutoUpdate":true,"SystemUpdateLevel":"Release","LogFileRetentionDays":3,"RunAtStartup":false,"IsStartupWizardCompleted":false}
Info, App, Loading MediaBrowser.Api, Version=3.0.5363.32045, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.WebDashboard, Version=3.0.5363.32044, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Model, Version=3.0.5363.32035, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Common, Version=3.0.5363.32035, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Controller, Version=3.0.5363.32039, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Providers, Version=3.0.5363.32041, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Common.Implementations, Version=3.0.5363.32038, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Server.Implementations, Version=3.0.5363.32042, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.MediaEncoding, Version=3.0.5363.32047, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Dlna, Version=3.0.5363.32046, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.LocalMetadata, Version=3.0.5363.32047, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.XbmcMetadata, Version=3.0.5363.32048, 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.5363.32049, Culture=neutral, PublicKeyToken=null
Info, SqliteUserRepository, Opening /home/rob/ProgramData-Server/data/users.db
Info, SqliteItemRepository, Opening /home/rob/ProgramData-Server/data/chapters.db
Info, SqliteItemRepository, Opening /home/rob/ProgramData-Server/data/mediainfo.db
Info, SqliteFileOrganizationRepository, Opening /home/rob/ProgramData-Server/data/fileorganization.db
Info, AuthenticationRepository, Opening /home/rob/ProgramData-Server/data/authentication.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.TypeInitializationException
        An exception was thrown by the type initializer for MediaBrowser.ServerApplication.FFMpeg.FFMpegDownloadInfo
          at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[MediaBrowser.ServerApplication.FFMpeg.FFMpegInfo].Start[<GetFFMpegInfo>c__async0] (MediaBrowser.ServerApplication.FFMpeg.<GetFFMpegInfo>c__async0& stateMachine) [0x00000] in <filename unknown>:0
          at MediaBrowser.ServerApplication.FFMpeg.FFMpegDownloader.GetFFMpegInfo (IProgress`1 progress) [0x00000] in <filename unknown>:0
          at MediaBrowser.ServerApplication.ApplicationHost+<RegisterMediaEncoder>c__async3.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__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.Common.Implementations.BaseApplicationHost`1+<Init>c__async0[MediaBrowser.Server.Implementations.ServerApplicationPaths].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+<Init>c__async1.MoveNext () [0x00000] in <filename unknown>:0
        InnerException: System.TypeInitializationException
        An exception was thrown by the type initializer for MediaBrowser.ServerApplication.FFMpeg.PlatformDetection
          at MediaBrowser.ServerApplication.FFMpeg.FFMpegDownloadInfo.ffmpegOsType (System.String arg) [0x00000] in <filename unknown>:0
          at MediaBrowser.ServerApplication.FFMpeg.FFMpegDownloadInfo..cctor () [0x00000] in <filename unknown>:0
        InnerException: System.TypeInitializationException
        An exception was thrown by the type initializer for Mono.Unix.Native.Syscall
          at MediaBrowser.ServerApplication.FFMpeg.PlatformDetection.GetUnixName () [0x00000] in <filename unknown>:0
          at MediaBrowser.ServerApplication.FFMpeg.PlatformDetection..cctor () [0x00000] in <filename unknown>:0
        InnerException: System.EntryPointNotFoundException
        Mono_Posix_Syscall_get_at_fdcwd
          at (wrapper managed-to-native) Mono.Unix.Native.Syscall:get_at_fdcwd ()
          at Mono.Unix.Native.Syscall..cctor () [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.TypeInitializationException
An exception was thrown by the type initializer for MediaBrowser.ServerApplication.FFMpeg.FFMpegDownloadInfo
  at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[MediaBrowser.ServerApplication.FFMpeg.FFMpegInfo].Start[<GetFFMpegInfo>c__async0] (MediaBrowser.ServerApplication.FFMpeg.<GetFFMpegInfo>c__async0& stateMachine) [0x00000] in <filename unknown>:0
  at MediaBrowser.ServerApplication.FFMpeg.FFMpegDownloader.GetFFMpegInfo (IProgress`1 progress) [0x00000] in <filename unknown>:0
  at MediaBrowser.ServerApplication.ApplicationHost+<RegisterMediaEncoder>c__async3.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__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.Common.Implementations.BaseApplicationHost`1+<Init>c__async0[MediaBrowser.Server.Implementations.ServerApplicationPaths].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+<Init>c__async1.MoveNext () [0x00000] in <filename unknown>:0
InnerException: System.TypeInitializationException
An exception was thrown by the type initializer for MediaBrowser.ServerApplication.FFMpeg.PlatformDetection
  at MediaBrowser.ServerApplication.FFMpeg.FFMpegDownloadInfo.ffmpegOsType (System.String arg) [0x00000] in <filename unknown>:0
  at MediaBrowser.ServerApplication.FFMpeg.FFMpegDownloadInfo..cctor () [0x00000] in <filename unknown>:0
InnerException: System.TypeInitializationException
An exception was thrown by the type initializer for Mono.Unix.Native.Syscall
  at MediaBrowser.ServerApplication.FFMpeg.PlatformDetection.GetUnixName () [0x00000] in <filename unknown>:0
  at MediaBrowser.ServerApplication.FFMpeg.PlatformDetection..cctor () [0x00000] in <filename unknown>:0
InnerException: System.EntryPointNotFoundException
Mono_Posix_Syscall_get_at_fdcwd
  at (wrapper managed-to-native) Mono.Unix.Native.Syscall:get_at_fdcwd ()
  at Mono.Unix.Native.Syscall..cctor () [0x00000] in <filename unknown>:0
Link to comment
Share on other sites

We'll just fix it with the next release, which will hopefully be in packaged form. You're running the previous beta which is fine. There was very little difference from beta to release.

Link to comment
Share on other sites

thefirstofthe300

OK.  Sounds good to me.

 

Just wanting to get an idea for whether this problem is being investigated.   :)

Link to comment
Share on other sites

I was able to make it work on an armv7 board similar to the raspberry Pi but more powerful. (cubox-i pro)

 

But I was having some issues 

 

I used raspbian mono-complete packages

mono --version
Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-4+rpi1)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
        TLS:           __thread
        SIGSEGV:       normal
        Notifications: epoll
        Architecture:  armel,vfp+hard
        Disabled:      none
        Misc:          softdebug
        LLVM:          supported, not enabled.
        GC:            sgen

I needed to replace the libwebp.so and sqlite3.so with the ones on my system because I was into a different Architechture.

 

I used my own ffmpeg that I linked into the ffmpeg/20140506  directory.

ffmpeg version N-66313-g22a20db Copyright (c) 2000-2014 the FFmpeg developers
  built on Sep 16 2014 22:52:20 with gcc 4.6 (Debian 4.6.3-14)
  configuration: --enable-gpl --enable-nonfree --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib --enable-postproc --enable-swscale --enable-pthreads --enable-version3
  libavutil      54.  7.100 / 54.  7.100
  libavcodec     56.  1.100 / 56.  1.100
  libavformat    56.  4.102 / 56.  4.102
  libavdevice    56.  0.100 / 56.  0.100
  libavfilter     5.  1.101 /  5.  1.101
  libswscale      3.  0.100 /  3.  0.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  0.100 / 53.  0.100
Hyper fast Audio and Video encoder

Here is the issues I get 

 

I am stil having the error about downloading ffmpeg, but instead it still load:

Error, App, Error downloading ffmpeg
	Unable to download required components. Please try again later.
	System.ApplicationException
	  at MediaBrowser.ServerApplication.FFMpeg.FFMpegDownloader+<DownloadFFMpeg>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.FFMpeg.FFMpegDownloader+<DownloadFFMpegInBackground>c__async1.MoveNext () [0x00000] in <filename unknown>:0

I was having an ffprobe exception when scanning my media, and no image were displaying in the browser

I was able to remove it by symlinking  ffmpeg to  the ffprobe in the ffmpeg/20140506 . I don't know why it works but it works.

FFProbe failed for file:"/mnt/Media/Movies/Movies/m4v/Shrek 2(2004).m4v"

  System.ApplicationException
    at MediaBrowser.MediaEncoding.Encoder.MediaEncoder+<GetMediaInfoInternal>c__async0.MoveNext () [0x00000] in <filename unknown>:

I'm having issues with the transcoder for the web interface I always get an error so I cannot play anything through the web interface. Transcoding for DLNA works but it's to slow

 

I would prefer having an option to direct stream tot he browser as my media is carefully encoded in mp4 with 2ch AAC as my server is not powerful enough to transcode realtime.

 

Is there a way to disable transcoding ?

 

Here is the error I get

ffmpeg version N-66313-g22a20db Copyright (c) 2000-2014 the FFmpeg developers
  built on Sep 16 2014 22:52:20 with gcc 4.6 (Debian 4.6.3-14)
  configuration: --enable-gpl --enable-nonfree --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib --enable-postproc --enable-swscale --enable-pthreads --enable-version3
  libavutil      54.  7.100 / 54.  7.100
  libavcodec     56.  1.100 / 56.  1.100
  libavformat    56.  4.102 / 56.  4.102
  libavdevice    56.  0.100 / 56.  0.100
  libavfilter     5.  1.101 /  5.  1.101
  libswscale      3.  0.100 /  3.  0.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  0.100 / 53.  0.100
Unrecognized option 'speed'.
Error splitting the argument list: Option not found

Thanks a lot for your help

Link to comment
Share on other sites

I was able to fix the ffmpeg missing option by recompiling it with libvpx.

 

But my server is to slow for transcoding   :(.

 

I still get the ffprobe error though :( on a lot of my medias

 

Edit:

I looks like the media probe is done with the ffmpeg path instead of the ffprobe path.

I put some logging and ffprobe is never called only ffmpeg which gives an error with the parameters sent.

 

Also when calling the probe you should add the flag -loglevel quiet, because parsing the json will fail as ffprobe headers are still shown when printing json.

Edited by inkubux
Link to comment
Share on other sites

mono has caused me many headaches, which version is recommended to use with Mediabrowser? Will 3.6 do?

 

3.6 should do nicely.  :)

 

In fact, any Mono >= 3.2.7 should work fine.

Link to comment
Share on other sites

I was able to fix the ffmpeg missing option by recompiling it with libvpx.

 

But my server is to slow for transcoding   :(.

 

I still get the ffprobe error though :( on a lot of my medias

 

Edit:

I looks like the media probe is done with the ffmpeg path instead of the ffprobe path.

I put some logging and ffprobe is never called only ffmpeg which gives an error with the parameters sent.

 

Also when calling the probe you should add the flag -loglevel quiet, because parsing the json will fail as ffprobe headers are still shown when printing json.

 

 

by the way, you can supply a custom ffmpeg path using -ffmpeg and -ffprobe command line options. probably better than replacing the internal versions.

Link to comment
Share on other sites

by the way, you can supply a custom ffmpeg path using -ffmpeg and -ffprobe command line options. probably better than replacing the internal versions.

 

I tried both of the commands below

mono MediaBrowser.Server.Mono.exe -ffmpeg /usr/local/bin/ffmpeg -ffprobe /usr/local/bin/ffprobe

AND

mono MediaBrowser.Server.Mono.exe -ffmpeg=/usr/local/bin/ffmpeg -ffprobe=/usr/local/bin/ffprobe

And I still get the unable to download ffmpeg error at startup


Info, Main, Media Browser Server started

Info, Main, Command line: /opt/mbserver/MediaBrowser.Server.Mono.exe -ffmpeg /usr/local/bin/ffmpeg -ffprobe /usr/local/bin/ffprobe

Info, Main, Server: cubox-i.localdomain

Info, Main, Operating system: Unix 3.10.48.0

appHost.Init

Info, App, Application version: 3.0.5363.32049

Info, App, Application configuration:

{"EnableUPnP":true,"HttpServerPortNumber":8096,"EnableInternetProviders":true,"SeasonZeroDisplayName":"Specials","SaveLocalMeta":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,"ImageSavingConvention":"Compatible","EnablePeoplePrefixSubFolders":true,"MediaEncodingQuality":"Auto","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},{"Type":"Disc","Limit":0,"MinWidth":0}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicArtist","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Banner","Limit":0,"MinWidth":0},{"Type":"Art","Limit":0,"MinWidth":0}],"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,"EnableRealtimeMonitor":true,"PathSubstitutions":[],"UICulture":"en-us","DownMixAudioBoost":2,"DefaultMetadataSettingsApplied":false,"PeopleMetadataOptions":{"DownloadActorMetadata":true,"DownloadDirectorMetadata":true,"DownloadProducerMetadata":false,"DownloadWriterMetadata":false,"DownloadComposerMetadata":false,"DownloadOtherPeopleMetadata":false,"DownloadGuestStarMetadata":false},"SecureApps1":["Dashboard","MBKinect","NuVue","Media Browser Theater"],"SaveMetadataHidden":false,"EnableDebugLevelLogging":false,"EnableAutoUpdate":true,"SystemUpdateLevel":"Release","LogFileRetentionDays":3,"RunAtStartup":false,"IsStartupWizardCompleted":false}

Info, App, Loading MediaBrowser.Api, Version=3.0.5363.32045, Culture=neutral, PublicKeyToken=null

Info, App, Loading MediaBrowser.WebDashboard, Version=3.0.5363.32044, Culture=neutral, PublicKeyToken=null

Info, App, Loading MediaBrowser.Model, Version=3.0.5363.32035, Culture=neutral, PublicKeyToken=null

Info, App, Loading MediaBrowser.Common, Version=3.0.5363.32035, Culture=neutral, PublicKeyToken=null

Info, App, Loading MediaBrowser.Controller, Version=3.0.5363.32039, Culture=neutral, PublicKeyToken=null

Info, App, Loading MediaBrowser.Providers, Version=3.0.5363.32041, Culture=neutral, PublicKeyToken=null

Info, App, Loading MediaBrowser.Common.Implementations, Version=3.0.5363.32038, Culture=neutral, PublicKeyToken=null

Info, App, Loading MediaBrowser.Server.Implementations, Version=3.0.5363.32042, Culture=neutral, PublicKeyToken=null

Info, App, Loading MediaBrowser.MediaEncoding, Version=3.0.5363.32047, Culture=neutral, PublicKeyToken=null

Info, App, Loading MediaBrowser.Dlna, Version=3.0.5363.32046, Culture=neutral, PublicKeyToken=null

Info, App, Loading MediaBrowser.LocalMetadata, Version=3.0.5363.32047, Culture=neutral, PublicKeyToken=null

Info, App, Loading MediaBrowser.XbmcMetadata, Version=3.0.5363.32048, 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.5363.32049, Culture=neutral, PublicKeyToken=null

Info, SqliteUserRepository, Opening /opt/mbserver/ProgramData-Server/data/users.db

Info, SqliteItemRepository, Opening /opt/mbserver/ProgramData-Server/data/chapters.db

Info, SqliteItemRepository, Opening /opt/mbserver/ProgramData-Server/data/mediainfo.db

Info, SqliteFileOrganizationRepository, Opening /opt/mbserver/ProgramData-Server/data/fileorganization.db

Info, AuthenticationRepository, Opening /opt/mbserver/ProgramData-Server/data/authentication.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__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.FFMpeg.FFMpegDownloader+<GetFFMpegInfo>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.ServerApplication.FFMpeg.FFMpegInfo].GetResult () [0x00000] in <filename unknown>:0 

  at MediaBrowser.ServerApplication.ApplicationHost+<RegisterMediaEncoder>c__async3.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__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.Common.Implementations.BaseApplicationHost`1+<Init>c__async0[MediaBrowser.Server.Implementations.ServerApplicationPaths].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+<Init>c__async1.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__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.FFMpeg.FFMpegDownloader+<GetFFMpegInfo>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.ServerApplication.FFMpeg.FFMpegInfo].GetResult () [0x00000] in <filename unknown>:0 

  at MediaBrowser.ServerApplication.ApplicationHost+<RegisterMediaEncoder>c__async3.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__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.Common.Implementations.BaseApplicationHost`1+<Init>c__async0[MediaBrowser.Server.Implementations.ServerApplicationPaths].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+<Init>c__async1.MoveNext () [0x00000] in <filename unknown>:0 

Link to comment
Share on other sites

Is this actively stopping the server (so is it returning to the shell) or does it simply print the error and goes on?

Edited by gsnerf
Link to comment
Share on other sites

Is this actively stopping the server (so is it returning to the shell) or does it simply print the error and goes on?

 

It stops the server and return to the shell.

Link to comment
Share on other sites

Try just providing the path, not the filename. If I see that right the code adds the filename on its own, so in your case it propably tries to find something like /usr/local/bin/ffmpegffmpeg

Link to comment
Share on other sites

Try just providing the path, not the filename. If I see that right the code adds the filename on its own, so in your case it propably tries to find something like /usr/local/bin/ffmpegffmpeg

 

Still no luck the same exception :(

 

Just as an FYI I downloaded the zip from master this morning

Link to comment
Share on other sites

this is the content of my server logs 

2014-09-29 19:04:41.1080 Info - Main: Media Browser Server started
2014-09-29 19:04:41.2295 Info - Main: Command line: /opt/mbserver/MediaBrowser.Server.Mono.exe -ffmpeg /usr/local/bin/ffmpeg -ffprobe /usr/local/bin/ffprobe
2014-09-29 19:04:41.2308 Info - Main: Server: cubox-i.localdomain
2014-09-29 19:04:41.2344 Info - Main: Operating system: Unix 3.10.48.0
2014-09-29 19:04:42.7700 Info - App: Application version: 3.0.5363.32049
2014-09-29 19:04:43.3526 Info - App: Application configuration:
        {"EnableUPnP":true,"HttpServerPortNumber":8096,"EnableInternetProviders":true,"SeasonZeroDisplayName":"Specials","SaveLocalMeta":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,"ImageSavingConvention":"Compatible","EnablePeoplePrefixSubFolders":true,"MediaEncodingQuality":"Auto","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},{"Type":"Disc","Limit":0,"MinWidth":0}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicArtist","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Banner","Limit":0,"MinWidth":0},{"Type":"Art","Limit":0,"MinWidth":0}],"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,"EnableRealtimeMonitor":true,"PathSubstitutions":[],"UICulture":"en-us","DownMixAudioBoost":2,"DefaultMetadataSettingsApplied":false,"PeopleMetadataOptions":{"DownloadActorMetadata":true,"DownloadDirectorMetadata":true,"DownloadProducerMetadata":false,"DownloadWriterMetadata":false,"DownloadComposerMetadata":false,"DownloadOtherPeopleMetadata":false,"DownloadGuestStarMetadata":false},"SecureApps1":["Dashboard","MBKinect","NuVue","Media Browser Theater"],"SaveMetadataHidden":false,"EnableDebugLevelLogging":false,"EnableAutoUpdate":true,"SystemUpdateLevel":"Release","LogFileRetentionDays":3,"RunAtStartup":false,"IsStartupWizardCompleted":false}
2014-09-29 19:04:43.3802 Info - App: Loading MediaBrowser.Api, Version=3.0.5363.32045, Culture=neutral, PublicKeyToken=null
2014-09-29 19:04:43.3806 Info - App: Loading MediaBrowser.WebDashboard, Version=3.0.5363.32044, Culture=neutral, PublicKeyToken=null
2014-09-29 19:04:43.3806 Info - App: Loading MediaBrowser.Model, Version=3.0.5363.32035, Culture=neutral, PublicKeyToken=null
2014-09-29 19:04:43.3817 Info - App: Loading MediaBrowser.Common, Version=3.0.5363.32035, Culture=neutral, PublicKeyToken=null
2014-09-29 19:04:43.3817 Info - App: Loading MediaBrowser.Controller, Version=3.0.5363.32039, Culture=neutral, PublicKeyToken=null
2014-09-29 19:04:43.3826 Info - App: Loading MediaBrowser.Providers, Version=3.0.5363.32041, Culture=neutral, PublicKeyToken=null
2014-09-29 19:04:43.3826 Info - App: Loading MediaBrowser.Common.Implementations, Version=3.0.5363.32038, Culture=neutral, PublicKeyToken=null
2014-09-29 19:04:43.3836 Info - App: Loading MediaBrowser.Server.Implementations, Version=3.0.5363.32042, Culture=neutral, PublicKeyToken=null
2014-09-29 19:04:43.3836 Info - App: Loading MediaBrowser.MediaEncoding, Version=3.0.5363.32047, Culture=neutral, PublicKeyToken=null
2014-09-29 19:04:43.3847 Info - App: Loading MediaBrowser.Dlna, Version=3.0.5363.32046, Culture=neutral, PublicKeyToken=null
2014-09-29 19:04:43.3847 Info - App: Loading MediaBrowser.LocalMetadata, Version=3.0.5363.32047, Culture=neutral, PublicKeyToken=null
2014-09-29 19:04:43.3857 Info - App: Loading MediaBrowser.XbmcMetadata, Version=3.0.5363.32048, Culture=neutral, PublicKeyToken=null
2014-09-29 19:04:43.3857 Info - App: Loading MediaBrowser.IsoMounting.Linux, Version=1.0.5131.24779, Culture=neutral, PublicKeyToken=null
2014-09-29 19:04:43.3866 Info - App: Loading MediaBrowser.Server.Mono, Version=3.0.5363.32049, Culture=neutral, PublicKeyToken=null
2014-09-29 19:04:44.6389 Info - SqliteUserRepository: Opening /opt/mbserver/ProgramData-Server/data/users.db
2014-09-29 19:04:44.9556 Info - SqliteItemRepository: Opening /opt/mbserver/ProgramData-Server/data/chapters.db
2014-09-29 19:04:44.9748 Info - SqliteItemRepository: Opening /opt/mbserver/ProgramData-Server/data/mediainfo.db
2014-09-29 19:04:45.0360 Info - SqliteFileOrganizationRepository: Opening /opt/mbserver/ProgramData-Server/data/fileorganization.db
2014-09-29 19:04:45.0733 Info - AuthenticationRepository: Opening /opt/mbserver/ProgramData-Server/data/authentication.db
2014-09-29 19:04:45.5019 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__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.FFMpeg.FFMpegDownloader+<GetFFMpegInfo>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.ServerApplication.FFMpeg.FFMpegInfo].GetResult () [0x00000] in <filename unknown>:0
          at MediaBrowser.ServerApplication.ApplicationHost+<RegisterMediaEncoder>c__async3.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__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.Common.Implementations.BaseApplicationHost`1+<Init>c__async0[MediaBrowser.Server.Implementations.ServerApplicationPaths].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+<Init>c__async1.MoveNext () [0x00000] in <filename unknown>:0

I use the version available from the download page in the manual section:

 

https://github.com/MediaBrowser/MediaBrowser.Resources/raw/master/Releases/Server/MBServer.Mono.zip

Link to comment
Share on other sites

Still no luck the same exception :(

 

Just as an FYI I downloaded the zip from master this morning

 

Which version did you try before? The version string in your log seems a bit older, it's possible that version didn't have the ffmpeg switch yet. Please post the error log for a current version (also please post the log from /opt/mbserver/ProgramData instead of the console output if awailable).

I've had a look at my setup and it seems you should indeed write the whole path including name of the file. Sorry for that mistake.

Link to comment
Share on other sites

I use the version available from the download page in the manual section:

 

https://github.com/MediaBrowser/MediaBrowser.Resources/raw/master/Releases/Server/MBServer.Mono.zip

 

Yea that version doesn't have the ffmpeg option yet. Either you build the current head from source yourself or better wait for a few days, a new beta is on the way :)

Link to comment
Share on other sites

I built the latest version with the linux build script and now the flags worked correctly, thanks you for your help.

 

Edit:

 

Well I thought everything was ok but the streaming is always failing after a couple of seconds. I think i'll wait for the next beta thanks

2014-09-29 21:54:38.8643 Info - ImageProcessor: Failed to read image header for /opt/MediaBrowser.Mono.3.0.5385.37065/ProgramData-Server/ImagesByName/Studio/Columbia Pictures/landscape.jpg. Doing it the slow way.
2014-09-29 21:55:02.3108 Info - App: StartupTrigger fired for task: Cache file cleanup
2014-09-29 21:55:02.3117 Info - App: Executing Cache file cleanup
2014-09-29 21:55:02.5741 Info - App: Cache file cleanup Completed after 0 minute(s) and 0 seconds
2014-09-29 21:55:02.5900 Info - ServerManager: Sending web socket message ScheduledTaskEnded
2014-09-29 21:55:16.3813 Info - App: HttpClientManager POST: http://www.mb3admin.com/admin/service/registration/ping
2014-09-29 21:55:27.0457 Error - HttpResultFactory: Error streaming data
        EndWrite failure
        System.IO.IOException
          at System.Net.Sockets.NetworkStream.EndWrite (IAsyncResult ar) [0x00000] in <filename unknown>:0
          at System.Threading.Tasks.TaskFactory+<FromAsync>c__AnonStorey8`3[System.Byte[],System.Int32,System.Int32].<>m__0 (IAsyncResult l) [0x00000] in <filename unknown>:0
          at System.Threading.Tasks.TaskFactory`1[System.Object].InnerInvoke (System.Threading.Tasks.TaskCompletionSource`1 tcs, System.Func`2 endMethod, IAsyncResult l) [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 WebSocketSharp.Net.ResponseStream+<InternalWriteAsync>d__1.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 WebSocketSharp.Net.ResponseStream+<WriteAsync>d__4.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 System.IO.Stream+<CopyToAsync>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+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0
          at MediaBrowser.Server.Implementations.HttpServer.StreamWriter+<WriteToAsync>c__async0.MoveNext () [0x00000] in <filename unknown>:0
        InnerException: System.Net.Sockets.SocketException
        The socket has been shut down
          at System.Net.Sockets.Socket.EndSend (IAsyncResult result) [0x00000] in <filename unknown>:0
          at System.Net.Sockets.NetworkStream.EndWrite (IAsyncResult ar) [0x00000] in <filename unknown>:0

2014-09-29 21:55:27.0697 Error - HttpAsyncTaskHandler: Error occured while Processing Request: Cannot be changed after headers are sent.
        Cannot be changed after headers are sent.
        System.InvalidOperationException
          at WebSocketSharp.Net.HttpListenerResponse.set_StatusCode (Int32 value) [0x00000] in <filename unknown>:0
          at MediaBrowser.Server.Implementations.HttpServer.SocketSharp.WebSocketSharpResponse.set_StatusCode (Int32 value) [0x00000] in <filename unknown>:0
          at ServiceStack.HttpResponseExtensionsInternal.WriteErrorToResponse (IResponse httpRes, IRequest httpReq, System.String contentType, System.String operationName, System.String errorMessage, System.Exception ex, Int32 statusCode) [0x00000] in <filename unknown>:0
          at ServiceStack.ServiceStackHost.OnUncaughtException (IRequest httpReq, IResponse httpRes, System.String operationName, System.Exception ex) [0x00000] in <filename unknown>:0
          at ServiceStack.HostContext.RaiseUncaughtException (IRequest httpReq, IResponse httpRes, System.String operationName, System.Exception ex) [0x00000] in <filename unknown>:0
          at ServiceStack.HttpResponseExtensionsInternal.WriteToResponse (IResponse response, System.Object result, ServiceStack.Web.ResponseSerializerDelegate defaultAction, IRequest request, System.Byte[] bodyPrefix, System.Byte[] bodySuffix) [0x00000] in <filename unknown>:0
          at ServiceStack.HttpResponseExtensionsInternal.WriteToResponse (IResponse httpRes, IRequest httpReq, System.Object result, System.Byte[] bodyPrefix, System.Byte[] bodySuffix) [0x00000] in <filename unknown>:0
          at ServiceStack.HttpResponseExtensionsInternal.WriteToResponse (IResponse httpRes, IRequest httpReq, System.Object result) [0x00000] in <filename unknown>:0
          at ServiceStack.Host.RestHandler+<>c__DisplayClass5.<ProcessRequestAsync>b__0 (System.Object response) [0x00000] in <filename unknown>:0
          at ServiceStack.Host.Handlers.ServiceStackHandlerBase.HandleResponse (System.Object response, System.Func`2 callback, System.Func`2 errorCallback) [0x00000] in <filename unknown>:0

2014-09-29 21:55:44.0397 Error - Main: UnhandledException
        The underlying Task is already in one of the three final states: RanToCompletion, Faulted, or Canceled.
        System.InvalidOperationException
          at System.Threading.Tasks.TaskCompletionSource`1[System.Object].ThrowInvalidException () [0x00000] in <filename unknown>:0
          at System.Threading.Tasks.TaskCompletionSource`1[System.Object].SetException (IEnumerable`1 exceptions) [0x00000] in <filename unknown>:0
          at System.Threading.Tasks.TaskCompletionSource`1[System.Object].SetException (System.Exception exception) [0x00000] in <filename unknown>:0
          at System.Threading.Tasks.TaskFactory`1[System.Object].InnerInvoke (System.Threading.Tasks.TaskCompletionSource`1 tcs, System.Func`2 endMethod, IAsyncResult l) [0x00000] in <filename unknown>:0
          at System.Threading.Tasks.TaskFactory`1+<FromAsyncBeginEnd>c__AnonStorey5`3[System.Object,System.Byte[],System.Int32,System.Int32].<>m__0 (IAsyncResult l) [0x00000] in <filename unknown>:0

I Attached the crash and the server logs

crash_23a51e14-1163-4a72-b24c-1ce5568b477f.txt

server-63547661010.txt

Edited by inkubux
  • Like 1
Link to comment
Share on other sites

We'll just fix it with the next release, which will hopefully be in packaged form. You're running the previous beta which is fine. There was very little difference from beta to release.

Hey Luke,  what kind of package form are you talking about here?  .deb and .rpm form? (if so, awesome!!) 

 

If you continue to upload the zip, any chance you could start numbering the zip file with the version of the mbserver?

 

Also (last question), were you ever able to add a version check to the command line, so it prints the current version then exits?

Link to comment
Share on other sites

Yes we're soon going to have both the numbered and non-numbered builds. We have a debian package:

 

http://mediabrowser.tv/community/index.php?/topic/10788-debian-package/

 

It will be up on the website soon in downloadable form. Next step after that is getting it into the PPA. I'll add your command line switch soon, for the next release.

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...