Luke 36884 Posted April 26, 2016 Author Share Posted April 26, 2016 hello after the update i have problems Snapshot of MediaBrowser.WebDashboard.Api.GetDashboardResource generated by ServiceStack on 04/26/2016 11:19:42 Response Status Error Code Exception Message Error trying to resolve Service 'MediaBrowser.WebDashboard.Api.DashboardService' or one of its autowired dependencies (see inner exception for details). Stack Trace at Funq.Container.ResolveImpl[TService] (System.String name, Boolean throwIfMissing) in :0 at Funq.Container.ResolveNamed[TService] (System.String name) in :0 at Funq.Container.Resolve[TService] () in :0 at (wrapper dynamic-method) System.Object:lambda_method (System.Runtime.CompilerServices.Closure,Funq.Container) at ServiceStack.Host.ContainerResolveCache.CreateInstance (System.Type type, Boolean tryResolve) in :0 at ServiceStack.Host.ContainerResolveCache.CreateInstance (System.Type type) in :0 at ServiceStack.Host.ServiceController+c__DisplayClassf.b__d (IRequest requestContext, System.Object dto) in :0 at ServiceStack.Host.ServiceController.Execute (System.Object requestDto, IRequest req) in :0 at ServiceStack.HostContext.ExecuteService (System.Object request, IRequest httpReq) in :0 at ServiceStack.Host.Handlers.ServiceStackHandlerBase.ExecuteService (System.Object request, IRequest httpReq) in :0 at ServiceStack.Host.RestHandler.GetResponse (IRequest request, System.Object requestDto) in :0 at ServiceStack.Host.RestHandler.ProcessRequestAsync (IRequest httpReq, IResponse httpRes, System.String operationName) in :0 Hi there, welcome. can you please describe your problem in your own words with a detailed description? Thanks. Link to comment Share on other sites More sharing options...
Simba 0 Posted April 27, 2016 Share Posted April 27, 2016 Hi there, welcome. can you please describe your problem in your own words with a detailed description? Thanks. Sorry but i find the problem wen i made the installation i user another imagemagick and thats wy this error but now i solve the problem tanks Link to comment Share on other sites More sharing options...
Luke 36884 Posted April 27, 2016 Author Share Posted April 27, 2016 Well done. 1 Link to comment Share on other sites More sharing options...
2010 1 Posted April 30, 2016 Share Posted April 30, 2016 I am utterly confused by this thread. Are the instructions in the OP upto date and do they work in DSM6? For example it mentions installing ffmpeg manually - but i notice this is now in the community repo. I see some say it does work and some say it doesnt' and some say to install in docker. Is there official update guidance / community package i can install that does it all? I have to concur with this, I was using emby with my windows based server but when I replaced that with a Synology I had to return to Plex, I come by here from time to to see the progress of the Synology builds but it seems very disorganised and still cobbled together. Don't take this as a criticism, I'm sure it's far from easy supporting so many different architectures & maybe emby will improve given time but the current situation will put many new users off imo. Link to comment Share on other sites More sharing options...
Bigjohns97 2 Posted May 2, 2016 Share Posted May 2, 2016 I have to concur with this, I was using emby with my windows based server but when I replaced that with a Synology I had to return to Plex, I come by here from time to to see the progress of the Synology builds but it seems very disorganised and still cobbled together. Don't take this as a criticism, I'm sure it's far from easy supporting so many different architectures & maybe emby will improve given time but the current situation will put many new users off imo. One of the issues i have with plex is the fact that it always has to transcode, and the majority of my viewing comes from media center installs so i don't transcode and i access the files directly in those situations. What synology do you have, I am concened about multiple 1080p transcodes at the same time. Link to comment Share on other sites More sharing options...
baskient 1 Posted May 3, 2016 Share Posted May 3, 2016 (edited) Emby on DSM 6 so i extracted all off the useful information on this forum and managed to create a package that installs and most of all runs on my DS215j. So here's what is different between the package in the first post and the one in here: I changed the start-stop-status script in the scripts folder to refer to the working Mono package from Xamarin. (MONO_PATH="/volume1/@appstore/Mono/usr/bin") I changed the INFO file to depend on the correct Mono package from Xamarin (Mono instead of mono). I removed the dependency of the FFMPEG package in the INFO file. So just follow the guide in the first post but instead of installing the mono package from the community install the one of xamarin in Package Center > Developer Tools Then instead of installing the emby package from the first post install this on: emby It's worth mentioning that I started from scratch (so i first removed all the emby related software). that's it. Hope this helps! Edited May 3, 2016 by baskient 1 Link to comment Share on other sites More sharing options...
solabc16 379 Posted May 3, 2016 Share Posted May 3, 2016 Evening - I've posted some notes here on updating Emby on DSM6 - http://emby.media/community/index.php?/topic/34516-updating-emby-on-dsm6-systems/?p=326672 - James 1 Link to comment Share on other sites More sharing options...
solabc16 379 Posted May 3, 2016 Share Posted May 3, 2016 Pre-installation Package center-->Settings-->General choose-Trust Level any publisher Package center-->Settings-->Beta choose-Yes, I want to see beta version! Add http://packages.synocommunity.com/ and http://cytec.us/spk/ to Package center -->Package Source Check the what CPU/architecture you have in your synology https://github.com/S...r-Synology-mode so you can use the right Package for your base install.(#Shell command uname -a) Installation Install Mono from Package center --> Community Tab Install Mediainfo from Package center --> Community Tab Install ImageMagick using the build attached to this post (see instructions below) Download and Install ffmpeg from here: http://cytec.us/syno/test-spk/ffmpeg/ Download and Install emby from here: http://cytec.us/syno/test-spk/emby/ How to Install ImageMagick SSH to your Synology NAS as 'root'. You should be in /root, check with 'pwd'. Backup the currently installed version 'mv /volume1/@appstore/imagemagick /volume1/@appstore/_pkgcenter_imagemagick'. Extract the files from the downloaded ImageMagick archive 'tar -xvf imagemagick-6.9.3-7_Q8.tar.gz -C /volume1/@appstore/'. Updating 1. Download Emby.Mono.zip from here: https://github.com/MediaBrowser/Emby/releases/latest 2. Extract the zip file into a folder 2. Download and install winSCP http://winscp.net/eng/download.php login as root to synology 3. Make sure the Emby service is stopped 4. Copy the contents of the zip file into /volume1/@appstore/emby/share/emby (or wherever it has been installed, the contents of the zip should look like the contents of the folder you are copying into) 5. Start Emby Notes for updating ImageMagick on DSM6 here - http://emby.media/community/index.php?/topic/32321-getting-the-coverart-plugin-working/?p=326416. Luke, you may want to incorporate into headline post. - James 1 Link to comment Share on other sites More sharing options...
Abobader 2934 Posted May 4, 2016 Share Posted May 4, 2016 Notes for updating ImageMagick on DSM6 here - http://emby.media/community/index.php?/topic/32321-getting-the-coverart-plugin-working/?p=326416. Luke, you may want to incorporate into headline post. - James Well done. For DSM 6 system, dose fresh install of emby server have the same steps? I am new to Synology system: http://emby.media/community/index.php?/topic/34060-synology-ds3615xs/ Link to comment Share on other sites More sharing options...
solabc16 379 Posted May 4, 2016 Share Posted May 4, 2016 Evening You shouldn't have any issues on DSM6 (v6.0-7321 Update 3). The initial install should be possible using the steps idenified under the Installation heading, at the top of this thread. You can then update ImageMagick using the procedure I detailed above for DSM6. I've got a DS1815+ here running Emby under DSM6. Just watch out for https when configuring the cytec source:- If you work through the steps as detailed, post back here if you run into any issues and we'll take it from there. - James Link to comment Share on other sites More sharing options...
KRULL 8 Posted May 7, 2016 Share Posted May 7, 2016 Thanks for that James, that was the most painless update I have done. My only suggestion is to put quotation marks around the exact text. You finish some commands with a period, and that through me off once, so may get others. So - Grab the latest server release, e.g. wget https://github.com/MediaBrowser/Emby/releases/download/3.0.5934/Emby.Mono.zip. Would be - Grab the latest server release, e.g. "wget https://github.com/MediaBrowser/Emby/releases/download/3.0.5934/Emby.Mono.zip" If you could provide similar steps to copy/edit the INFO file to update the version name to show to show correctly in Package Center, that would be awesome. Link to comment Share on other sites More sharing options...
solabc16 379 Posted May 7, 2016 Share Posted May 7, 2016 (edited) Afternoon @@KRULL Thanks for the feedback and a good spot, I do normally do that so will get that updated now. I hadn't considered the Package Center information, as I've probably seen it so often now I've become blind to it being wrong. But I do agree, it would be nice if it was correct, so I'll have look over the weekend. - James Edited May 9, 2016 by solabc16 Link to comment Share on other sites More sharing options...
solabc16 379 Posted May 9, 2016 Share Posted May 9, 2016 Updated instruction here http://emby.media/community/index.php?/topic/34516-updating-emby-on-dsm6-systems/?p=326672 now include a step for updating the version number. - James Link to comment Share on other sites More sharing options...
2010 1 Posted May 14, 2016 Share Posted May 14, 2016 One of the issues i have with plex is the fact that it always has to transcode, and the majority of my viewing comes from media center installs so i don't transcode and i access the files directly in those situations. What synology do you have, I am concened about multiple 1080p transcodes at the same time. I have a DS215J which in hindsight I would not have bought, Emby didn't have any Synology builds at the time but it was supported by Plex without transcoding which I don't use anyway, even on this modest hardware multiple HD streams are fine. Link to comment Share on other sites More sharing options...
2010 1 Posted May 14, 2016 Share Posted May 14, 2016 (edited) Emby on DSM 6 so i extracted all off the useful information on this forum and managed to create a package that installs and most of all runs on my DS215j. So here's what is different between the package in the first post and the one in here: I changed the start-stop-status script in the scripts folder to refer to the working Mono package from Xamarin. (MONO_PATH="/volume1/@appstore/Mono/usr/bin") I changed the INFO file to depend on the correct Mono package from Xamarin (Mono instead of mono). I removed the dependency of the FFMPEG package in the INFO file. So just follow the guide in the first post but instead of installing the mono package from the community install the one of xamarin in Package Center > Developer Tools Then instead of installing the emby package from the first post install this on: emby It's worth mentioning that I started from scratch (so i first removed all the emby related software). that's it. Hope this helps! Have you had any issues whilst using this? I'm tempted to try it as I do prefer Emby but what would I have to do in regards to future releases? Edited May 14, 2016 by 2010 Link to comment Share on other sites More sharing options...
solabc16 379 Posted May 16, 2016 Share Posted May 16, 2016 Evening @@2010 What packages are you having a problem with and stopping you following the installation instructions at the top of this thread? Hopefully we can help you out and get you going. We're in the process of building an updated installer for Synology, that will make installation and updating much easier. For now, once you've got Emby installed and running, on DSM6 you can update it following the instructions here: http://emby.media/community/index.php?/topic/34516-updating-emby-on-dsm6-systems/?p=326672 - James Link to comment Share on other sites More sharing options...
to.gu.de 0 Posted May 17, 2016 Share Posted May 17, 2016 Hello, I need help, I am stuck with Emby on DSM6. What I did so far: Installed Mono (Xamarin) Installed Mediainfo Installed ImageMagic Replaced ImageMagic with the version attached at the top of this topic (imagemagick-6.9.3-7_Q8) Installed ffmpeg Installed emby but was refused to the depency to "mono" Installed mono (SynoCommunity) restarted NAS: all installed packages up & running installed emby: everytime I want to start emby, emby stops immediatly edited /var/packages/emby/scripts: MONO_PATH="/usr/local/Mono/usr/bin" instead of "/usr/local/mono/bin" restarted NAS: emby still stopping immediatly after (manual) start So I have no idea where to look to find out what is going wrong. Every help is welcome. Thanks, Tom What is running: DSM 6.0-7321 Update 6 (on DS213j) Mono 4.2.1-0088 (Xamarin) mono 4.2.2.30-7 (SynoCommunity) Mediainfo 0.7.73-2 (SynoCommunity) ImageMagic (imagemagick-6.9.3-7_Q8.tar.gz) ffmpeg 2.6-3 emby 3.0.5724.5-5 Link to comment Share on other sites More sharing options...
solabc16 379 Posted May 17, 2016 Share Posted May 17, 2016 Evening @to.gu.de The installation, at the moment, is based on the SynoCommunity release of Mono. Are you using the Xamarin build for anything specific, or are you able to remove it? We are working right now on an updated and maintained package for the DSM platform, but the manual instructions here should be good for DSM6; there shouldn't be any need to edit the scripts. Can you take a look in '/usr/local/emby/var/logs' and see if you have any server logs there, if so please can you post them with your reply. Best -James Link to comment Share on other sites More sharing options...
to.gu.de 0 Posted May 18, 2016 Share Posted May 18, 2016 Hello James, thanks for your fast reply. And no, there are only to files in /usr/local/emby/var: -rw-r--r-- 1 root root 6 May 18 11:00 emby.pid-rw-r--r-- 1 root root 64 May 17 21:24 install.log Is there a way to enable logging? Regarding Mono: no, I only need mono for Emby. So it work on DSM5 with mono from the community. After upgrading onto DSM6 Emby refused to start. So what I did now: removed emby (because start-stop-status script) removed mono & Mono removed Imagemagic restarted Diskstation installed mono (community), then Imagemagic (community), then emby (3.0.5724.5-5) Emby is still not starting. Link to comment Share on other sites More sharing options...
solabc16 379 Posted May 18, 2016 Share Posted May 18, 2016 Afternoon Tom Although I don't suspect it to be the issue, it would be good to have the latest version of Emby installed, so we're at a known good baseline. Instructions are here http://emby.media/community/index.php?/topic/34516-updating-emby-on-dsm6-systems/?p=326672, let me know if you need any assistance. Basic logging will happen by default. I'll be able to post some more tests to try a little later, let me know how you get on after updating the software. - James Link to comment Share on other sites More sharing options...
to.gu.de 0 Posted May 18, 2016 Share Posted May 18, 2016 Good evening, instructions for updating you mentioned worked like a charm. Thanks to solabc16. What I did not: updating the package information ("sed -i.bak 's/....) Bad news: same behavior as before - emby does not start. Is there a chance to start on command line to see where it struggles? - Tom Link to comment Share on other sites More sharing options...
to.gu.de 0 Posted May 18, 2016 Share Posted May 18, 2016 Oh, interesting but overseen: James = solabc16. Sorry for this. - Tom Link to comment Share on other sites More sharing options...
solabc16 379 Posted May 18, 2016 Share Posted May 18, 2016 Evening Tom Ok, thanks for the update, at least we can cross that off. We will get this sorted, and it will certainly be useful information as we work on an updated and maintained Synology package for Emby. Here are some next steps, let's start with checking everything is available and where we expect it:- - SSH to your Synology box and login as 'admin'. - Switch to root with 'sudo -i'. - Run '/usr/local/mono/bin/mono --version' - Run '/usr/local/ffmpeg/bin/ffmpeg -version' - Run '/usr/local/ffmpeg/bin/ffprobe -version' - Run '/usr/local/imagemagick/bin/identify -version' If you can reply with the output of the above, we'll take it from there - and yes, we'll try starting it from the command line as part of this. - James Link to comment Share on other sites More sharing options...
solabc16 379 Posted May 18, 2016 Share Posted May 18, 2016 Once you've worked through the above, here are the instructions to get things going from the command line:- - SSH to your Synology box and login as 'admin'. - Switch to root with 'sudo -i'. - Switch to emby with 'su - emby'. - Run '/usr/local/mono/bin/mono /usr/local/emby/share/emby/MediaBrowser.Server.Mono.exe -programdata /usr/local/emby/var -ffmpeg /usr/local/ffmpeg/bin/ffmpeg -ffprobe /usr/local/ffmpeg/bin/ffprobe' Let me know what happens and post the output you see on the console. - James Link to comment Share on other sites More sharing options...
to.gu.de 0 Posted May 18, 2016 Share Posted May 18, 2016 Hi, here the results from checking the versions and running emby from the console: root@DiskStation:~# /usr/local/mono/bin/mono --version Segmentation fault (core dumped) root@DiskStation:~# /usr/local/ffmpeg/bin/ffmpeg -version ffmpeg version 2.6 Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.6.4 (Linaro GCC branch-4.6.4. Marvell GCC Dev 201310-2126.3d181f66 64K MAXPAGESIZE ALIGN) configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-cross-compile --enable-rpath --target-os=linux --cross-prefix=/home/cytec/syno/toolchains/syno-armada370-5.1/work/arm-marvell-linux-gnueabi/bin/arm-marvell-linux-gnueabi- --prefix=/usr/local/ffmpeg --extra-cflags=-I/home/cytec/syno/spk/ffmpeg/work-armada370-5.1/install/usr/local/ffmpeg/include --extra-ldflags=-L/home/cytec/syno/spk/ffmpeg/work-armada370-5.1/install/usr/local/ffmpeg/lib --extra-libs='-lxml2 -ldl' --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --pkg-config=/usr/bin/pkg-config --enable-pic --disable-debug --enable-pthreads --enable-thumb --enable-libx264 --enable-libmp3lame --enable-libfdk-aac --enable-libspeex --enable-openssl --enable-libvorbis --enable-gpl --enable-nonfree --enable-libass --enable-libbluray --enable-libopenjpeg --enable-libopus --enable-libtheora --enable-librtmp --enable-fontconfig --enable-libfreetype --enable-libvpx --arch=arm --disable-neon --disable-armv6 --disable-armv6t2 --disable-vfp --disable-armv5te --disable-yasm --disable-asm libavutil 54. 20.100 / 54. 20.100 libavcodec 56. 26.100 / 56. 26.100 libavformat 56. 25.101 / 56. 25.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 11.102 / 5. 11.102 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 3.100 / 53. 3.100 root@DiskStation:~# /usr/local/ffmpeg/bin/ffprobe -version ffprobe version 2.6 Copyright (c) 2007-2015 the FFmpeg developers built with gcc 4.6.4 (Linaro GCC branch-4.6.4. Marvell GCC Dev 201310-2126.3d181f66 64K MAXPAGESIZE ALIGN) configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-cross-compile --enable-rpath --target-os=linux --cross-prefix=/home/cytec/syno/toolchains/syno-armada370-5.1/work/arm-marvell-linux-gnueabi/bin/arm-marvell-linux-gnueabi- --prefix=/usr/local/ffmpeg --extra-cflags=-I/home/cytec/syno/spk/ffmpeg/work-armada370-5.1/install/usr/local/ffmpeg/include --extra-ldflags=-L/home/cytec/syno/spk/ffmpeg/work-armada370-5.1/install/usr/local/ffmpeg/lib --extra-libs='-lxml2 -ldl' --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --pkg-config=/usr/bin/pkg-config --enable-pic --disable-debug --enable-pthreads --enable-thumb --enable-libx264 --enable-libmp3lame --enable-libfdk-aac --enable-libspeex --enable-openssl --enable-libvorbis --enable-gpl --enable-nonfree --enable-libass --enable-libbluray --enable-libopenjpeg --enable-libopus --enable-libtheora --enable-librtmp --enable-fontconfig --enable-libfreetype --enable-libvpx --arch=arm --disable-neon --disable-armv6 --disable-armv6t2 --disable-vfp --disable-armv5te --disable-yasm --disable-asm libavutil 54. 20.100 / 54. 20.100 libavcodec 56. 26.100 / 56. 26.100 libavformat 56. 25.101 / 56. 25.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 11.102 / 5. 11.102 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 3.100 / 53. 3.100 root@DiskStation:~# /usr/local/imagemagick/bin/identify -version Version: ImageMagick 6.9.1-4 Q16 arm 2015-06-05 http://www.imagemagick.org Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC License: http://www.imagemagick.org/script/license.php Features: Cipher DPC Delegates (built-in): freetype jng jpeg png tiff zlib root@DiskStation:~# su - emby emby@DiskStation:~$ /usr/local/mono/bin/mono /usr/local/emby/share/emby/MediaBrowser.Server.Mono.exe -programdata /usr/local/emby/var -ffmpeg /usr/local/ffmpeg/bin/ffmpeg -ffprobe /usr/local/ffmpeg/bin/ffprobe Segmentation fault emby@DiskStation:~$ It seems there is "bad" mistake. - Tom Link to comment Share on other sites More sharing options...
Recommended Posts