Jump to content

Emby won't start and broken dependencies (CentOS 7)


Recommended Posts

Posted

Hello,

 

2 or 3 months ago i'd installed emby on my centos7 everything worked but for some reason i removed it and today i want to reinstall it but when i want to start the service via systemd i've a fail

 

 

emby-server.service - Emby Media Server
   Loaded: loaded (/usr/lib/systemd/system/emby-server.service; disabled)
   Active: failed (Result: exit-code) since Tue 2015-09-08 09:54:46 CEST; 18min ago
  Process: 4754 ExecStopPost=/usr/lib/emby-server/emby-server.sh clear (code=exited, status=0/SUCCESS)
  Process: 4728 ExecStart=/usr/lib/emby-server/emby-server.sh start (code=exited, status=134)
 Main PID: 4728 (code=exited, status=134)

Sep 08 09:54:45 server systemd[1]: Started Emby Media Server.
Sep 08 09:54:45 server su[4728]: (to emby) root on none
Sep 08 09:54:46 server systemd[1]: emby-server.service: main process exited, code=exited, status=134/n/a
Sep 08 09:54:46 server systemd[1]: Unit emby-server.service entered failed state.

 

emby-server.log

 

Can't find custom attr constructor image: /usr/lib/emby-server/bin/NLog.dll mtoken: 0x0a000359
Can't find custom attr constructor image: /usr/lib/emby-server/bin/NLog.dll mtoken: 0x0a000359
Can't find custom attr constructor image: /usr/lib/emby-server/bin/NLog.dll mtoken: 0x0a000359
Can't find custom attr constructor image: /usr/lib/emby-server/bin/NLog.dll mtoken: 0x0a000359
Can't find custom attr constructor image: /usr/lib/emby-server/bin/NLog.dll mtoken: 0x0a000359
Can't find custom attr constructor image: /usr/lib/emby-server/bin/NLog.dll mtoken: 0x0a000359
Can't find custom attr constructor image: /usr/lib/emby-server/bin/NLog.dll mtoken: 0x0a000359
Can't find custom attr constructor image: /usr/lib/emby-server/bin/NLog.dll mtoken: 0x0a000359
Can't find custom attr constructor image: /usr/lib/emby-server/bin/NLog.dll mtoken: 0x0a000359
* Assertion at loader.c:1153, condition `!mono_loader_get_last_error ()' not met

Stacktrace:

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.MonoCustomAttrs.IsDefinedInternal (System.Reflection.ICustomAttributeProvider,System.Type) <0xffffffff>
* Assertion at class.c:5753, condition `!mono_loader_get_last_error ()' not met

Aborted (core dumped)

 

so i've tried a yum update but with the emby repo i've broken dependencies :

 

 

# yum update
Loaded plugins: fastestmirror, langpacks, remove-with-leaves
Webmin                                                                                                                                                                                                                                                   | 1.0 kB  00:00:00     
base                                                                                                                                                                                                                                                     | 3.6 kB  00:00:00     
epel/x86_64/metalink                                                                                                                                                                                                                                     |  13 kB  00:00:08     
epel                                                                                                                                                                                                                                                     | 4.3 kB  00:00:00     
extras                                                                                                                                                                                                                                                   | 3.4 kB  00:00:00     
home_emby                                                                                                                                                                                                                                                | 1.2 kB  00:00:00     
home_paolorotolo_numix                                                                                                                                                                                                                                   | 1.6 kB  00:00:00     
home_satya164_elegance-colors                                                                                                                                                                                                                            | 1.6 kB  00:00:00     
nux-dextop                                                                                                                                                                                                                                               | 2.9 kB  00:00:00     
rpmforge                                                                                                                                                                                                                                                 | 1.9 kB  00:00:00     
updates                                                                                                                                                                                                                                                  | 3.4 kB  00:00:00     
epel/x86_64/updateinfo         FAILED                                                                                     0% [                                                                                                                ]  0.0 B/s |    0 B  --:--:-- ETA
http://archive.linux.duke.edu/pub/epel/7/x86_64/repodata/2c17dad24b2f96866b643bc3d4ce432833ca592ecf1af495e2b3a2361cf7ceab-updateinfo.xml.bz2: [Errno 14] HTTP Error 404 - Not Found                                                           ]  0.0 B/s |    0 B  --:--:-- ETA
Trying other mirror.
(1/11): epel/x86_64/group_gz                                                                                                                                                                                                                             | 169 kB  00:00:00     
(2/11): epel/x86_64/primary_db                                                                                                                                                                                                                           | 3.5 MB  00:00:02     
(3/11): home_emby/primary                                                                                                                                                                                                                                |  40 kB  00:00:01     
(4/11): home_satya164_elegance-colors/primary                                                                                                                                                                                                            | 1.6 kB  00:00:00     
(5/11): home_paolorotolo_numix/primary                                                                                                                                                                                                                   | 1.4 kB  00:00:00     
(6/11): nux-dextop/x86_64/primary_db                                                                                                                                                                                                                     | 1.3 MB  00:00:00     
(7/11): epel/x86_64/updateinfo                                                                                                                                                                                                                           | 349 kB  00:00:01     
(8/11): base/7/x86_64/group_gz                                                                                                                                                                                                                           | 154 kB  00:00:16     
(9/11): extras/7/x86_64/primary_db                                                                                                                                                                                                                       |  74 kB  00:00:15     
(10/11): base/7/x86_64/primary_db                                                                                                                                                                                                                        | 5.1 MB  00:00:17     
(11/11): updates/7/x86_64/primary_db                                                                                                                                                                                                                     | 3.3 MB  00:00:17     
(1/2): Webmin/primary                                                                                                                                                                                                                                    |  27 kB  00:00:00     
(2/2): rpmforge/primary_db                                                                                                                                                                                                                               | 125 kB  00:00:01     
Determining fastest mirrors
 * base: mirrors.advancedhosters.com
 * epel: mirrors.mit.edu
 * extras: mirrors.advancedhosters.com
 * nux-dextop: mirror.li.nux.ro
 * rpmforge: ftp.nluug.nl
 * updates: mirrors.advancedhosters.com
Webmin                                                                                                                                                                                                                                                                  220/220
home_emby                                                                                                                                                                                                                                                                 69/69
home_paolorotolo_numix                                                                                                                                                                                                                                                      6/6
home_satya164_elegance-colors                                                                                                                                                                                                                                               5/5
Resolving Dependencies
--> Running transaction check
---> Package ImageMagick.x86_64 0:6.9.0-26.1 will be updated
---> Package ImageMagick.x86_64 0:6.9.1-13.1 will be an update
---> Package ImageMagick-libs.x86_64 0:6.9.0-26.1 will be updated
---> Package ImageMagick-libs.x86_64 0:6.9.1-13.1 will be an update
---> Package libwebp.x86_64 0:0.3.0-3.el7 will be updated
--> Processing Dependency: libwebp.so.4()(64bit) for package: webkitgtk3-2.0.4-6.el7_0.1.x86_64
---> Package libwebp.x86_64 0:0.4.3-9.3 will be an update
---> Package sqlite.x86_64 0:3.8.2-3.1 will be updated
---> Package sqlite.x86_64 0:3.8.2-4.1 will be an update
---> Package sqlite-devel.x86_64 0:3.8.2-3.1 will be updated
---> Package sqlite-devel.x86_64 0:3.8.2-4.1 will be an update
---> Package tinyxml2.x86_64 0:2.1.0-2.20140406git6ee53e7.el7 will be updated
---> Package tinyxml2.x86_64 0:2.1.0-5.1 will be an update
--> Finished Dependency Resolution
Error: Package: webkitgtk3-2.0.4-6.el7_0.1.x86_64 (@updates)
           Requires: libwebp.so.4()(64bit)
           Removing: libwebp-0.3.0-3.el7.x86_64 (@anaconda)
               libwebp.so.4()(64bit)
           Updated By: libwebp-0.4.3-9.3.x86_64 (home_emby)
              ~libwebp.so.5()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

 

There's no new package installed since the last working installation of emby, months ago

 

What should i do ?

Posted (edited)

You may want to have a look at this thread:

 

http://emby.media/community/index.php?/topic/24149-centos-7-new-packages-erro/?hl=webkit&do=findComment&comment=236871

 

We need a newer libwebp for our newer ImageMagick package. So you will need to remove webkitgtk3.

 

On the other hand if you are using your CentOS server for other things than Emby and you need webkitgtk3 you can always give Docker a try.

Docker package is part of CentOS and there is an Emby server container already available.

This will save you from solving any possible dependencie problem since the container already includes all Emby deps.

 

Hope it helps.

 

PS: the NLog.dll errors are probably caused by different old mono packages still installed on your system. You may want to uninstall every mono related package and reinstall mono and Emby again.

Edited by fc7
Posted

Yep, i've removed all mono package and downgrade all deps updated by the old MediaBrowserServer repo to the base repo

 

but can't get ride of the broken deps for webkitgtk3, so i've installed docker and it works

 

thank you

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