Jump to content

Instability ever since emby


embyfan

Recommended Posts

jabbera

@@embyfan

 

Please provide a debug log file from when the issue occurs. I know you say the log stops, but it still helps. Also, if you can manually reproduce this issue, what two tasks are you running?

Link to comment
Share on other sites

kapitanrum

Hello,

 

I had a similar problem with play video in web browser after update Emby server to 3.0.5582.4 and Ubuntu to 14.04.2 LTS. I am fixed from information from this forum and Internet.

 

My fixed version:

Distribution:

    Distributor ID: Ubuntu
    Description:    Ubuntu 14.04.2 LTS
    Release:        14.04
    Codename:       trusty


EMBY versions:

2015-04-18 19:10:39.6043 Info - Main: Emby
        Command line: /opt/mediabrowser/MediaBrowser.Server.Mono.exe -programdata /var/lib/mediabrowser
        Operating system: Unix 3.13.0.49
        Processor count: 4
        64-Bit OS: True
        64-Bit Process: True
        Program data path: /var/lib/mediabrowser
        Mono: 3.12.1 (tarball Fri Mar  6 19:12:47 UTC 2015)
        Application Path: /opt/mediabrowser/MediaBrowser.Server.Mono.exe

2015-04-18 19:10:39.7616 Info - App: Application version: 3.0.5582.4
2015-04-18 19:10:39.8240 Info - App: Loading MediaBrowser.Api, Version=3.0.5582.4, Culture=neutral, PublicKeyToken=null
2015-04-18 19:10:39.8240 Info - App: Loading MediaBrowser.WebDashboard, Version=3.0.5582.4, Culture=neutral, PublicKeyToken=null
2015-04-18 19:10:39.8240 Info - App: Loading MediaBrowser.Model, Version=3.0.5582.4, Culture=neutral, PublicKeyToken=null
2015-04-18 19:10:39.8240 Info - App: Loading MediaBrowser.Common, Version=3.0.5582.4, Culture=neutral, PublicKeyToken=null
2015-04-18 19:10:39.8240 Info - App: Loading MediaBrowser.Controller, Version=3.0.5582.4, Culture=neutral, PublicKeyToken=null
2015-04-18 19:10:39.8240 Info - App: Loading MediaBrowser.Providers, Version=3.0.5582.4, Culture=neutral, PublicKeyToken=null
2015-04-18 19:10:39.8240 Info - App: Loading MediaBrowser.Common.Implementations, Version=3.0.5582.4, Culture=neutral, PublicKeyToken=null
2015-04-18 19:10:39.8240 Info - App: Loading MediaBrowser.Server.Implementations, Version=3.0.5582.4, Culture=neutral, PublicKeyToken=null
2015-04-18 19:10:39.8240 Info - App: Loading MediaBrowser.MediaEncoding, Version=3.0.5582.4, Culture=neutral, PublicKeyToken=null
2015-04-18 19:10:39.8240 Info - App: Loading MediaBrowser.Dlna, Version=3.0.5582.4, Culture=neutral, PublicKeyToken=null
2015-04-18 19:10:39.8240 Info - App: Loading MediaBrowser.LocalMetadata, Version=3.0.5582.4, Culture=neutral, PublicKeyToken=null
2015-04-18 19:10:39.8240 Info - App: Loading MediaBrowser.XbmcMetadata, Version=3.0.5582.4, Culture=neutral, PublicKeyToken=null
2015-04-18 19:10:39.8240 Info - App: Loading MediaBrowser.IsoMounting.Linux, Version=1.0.5131.24779, Culture=neutral, PublicKeyToken=null
2015-04-18 19:10:39.8240 Info - App: Loading MediaBrowser.Server.Mono, Version=3.0.5582.4, Culture=neutral, PublicKeyToken=null
2015-04-18 19:10:39.8240 Info - App: Loading MediaBrowser.Server.Startup.Common, Version=3.0.5582.4, Culture=neutral, PublicKeyToken=null
2015-04-18 19:10:39.9341 Info - SqliteUserRepository: Sqlite 3.8.2 opening /var/lib/mediabrowser/data/users.db
2015-04-18 19:10:39.9704 Info - SqliteItemRepository: Sqlite 3.8.2 opening /var/lib/mediabrowser/data/chapters.db
2015-04-18 19:10:39.9750 Info - SqliteItemRepository: Sqlite 3.8.2 opening /var/lib/mediabrowser/data/mediainfo.db
2015-04-18 19:10:39.9820 Info - SqliteFileOrganizationRepository: Sqlite 3.8.2 opening /var/lib/mediabrowser/data/fileorganization.db
2015-04-18 19:10:39.9874 Info - AuthenticationRepository: Sqlite 3.8.2 opening /var/lib/mediabrowser/data/authentication.db
2015-04-18 19:10:39.9953 Info - SyncRepository: Sqlite 3.8.2 opening /var/lib/mediabrowser/data/sync14.db
2015-04-18 19:10:40.0351 Info - ImageMagick: ImageMagick version: ImageMagick 6.9.0-10 Q8 x86_64 2015-03-17 http://www.imagemagick.org
2015-04-18 19:10:40.0888 Info - App: FFMpeg: /var/lib/mediabrowser/ffmpeg/20150331/ffmpeg
2015-04-18 19:10:40.0888 Info - App: FFProbe: /var/lib/mediabrowser/ffmpeg/20150331/ffprobe
2015-04-18 19:10:40.0939 Info - ActivityRepository: Sqlite 3.8.2 opening /var/lib/mediabrowser/data/activitylog.db
2015-04-18 19:10:40.1019 Info - SqliteDisplayPreferencesRepository: Sqlite 3.8.2 opening /var/lib/mediabrowser/data/displaypreferences.db
2015-04-18 19:10:40.1049 Info - SqliteItemRepository: Sqlite 3.8.2 opening /var/lib/mediabrowser/data/library.db
2015-04-18 19:10:40.1097 Info - SqliteProviderInfoRepository: Sqlite 3.8.2 opening /var/lib/mediabrowser/data/refreshinfo.db
2015-04-18 19:10:40.1152 Info - SqliteUserDataRepository: Sqlite 3.8.2 opening /var/lib/mediabrowser/data/userdata_v2.db
2015-04-18 19:10:40.1199 Info - SqliteNotificationsRepository: Sqlite 3.8.2 opening /var/lib/mediabrowser/data/notifications.db
2015-04-18 19:10:40.2747 Info - HttpServer: Calling ServiceStack AppHost.Init

gcc --version
gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2

My repair procedure:

#reinstallation
rm /etc/apt/sources.list.d/mono-xamarin.list
rm /etc/apt/sources.list.d/mediabrowser.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
echo "deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list
echo 'deb http://ppa.launchpad.net/apps-z/mediabrowser/ubuntu trusty main' > /etc/apt/sources.list.d/mediabrowser.list
apt-get update
apt-get install mono-complete --reinstall
apt-get install wget --reinstall
apt-get install sqlite3 --reinstall
apt-get install sqlite3-dev --reinstall
apt-get install libsqlite3-dev --reinstall
apt-get install libdevel --reinstall
apt-get install libc6-dev-amd64 --reinstall
apt-get install libc6-dev --reinstall
apt-get install imagemagick-6.q8 --reinstall
apt-get install imagemagick-6.q8-amd64 --reinstall
apt-get install webp --reinstall
apt-get install mediabrowser --reinstall

#Fix permissions
chown -R mediabrowser:mediabrowser /var/lib/mediabrowser
chown -R mediabrowser:mediabrowser /opt/mediabrowser
find /var/lib/mediabrowser -type d -exec chmod 755 {} +
find /opt/mediabrowser -type d -exec chmod 755 {} +

#Start server
service mediabrowser start

This problem was very hard for my weak knowledge about Emby server, but solved :).

 

 

 

 

 

Link to comment
Share on other sites

  • 4 weeks later...
Glen Stewart

Kipitanrum's post made things seem simpler than they really were (on Mythbuntu 14.04.2, anyway).  There was some kind of dependency conflict that came up...

 

 mediabrowser depends on libmono-sharpzip2.84-cil (>= 1.0); however:
  Package libmono-sharpzip2.84-cil is not installed.
 mediabrowser depends on libmono-system-data2.0-cil (>= 3.0.6); however:
  Package libmono-system-data2.0-cil is not installed.
 

I ended up downloading the latest Emby, and installing using dpkg with an override on dependencies, as it seemed the newer Mono 4.0 this "fix" installs simply has newer libraries that cover the requirements in ways the Emby packager didn't anticipate.

 

dpkg --force-all -i mediabrowser_3.0.5607.2-0.bzr3778*.deb

 

However, after testing, streaming seems to be completely broken with this approach.

Edited by Glen Stewart
Link to comment
Share on other sites

hurricanehrndz

@hurricanhernandez

 

Could something in the build have gotten screwed up? If the new ImageMagickSharp DLL fixed the problem, I think we need to take a loom at the possibility of the build getting messed up.

Nope, nothing wrong with the build process. There is something wrong with Imagemagick in the meidabrowser ppa. It has the multiprocessing enable that caused issue with the qnap devices. I have compiled a new one and will copy into the ppa soon. 

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