Jump to content

Errors while installing on Rasbian(Jessie)


cabt

Recommended Posts

Hi,

I am trying to set up Emby on my Raspberry Pi Rev. B after the Tutorial posted by Luke in this section of the Forum. So what i tried was to follow these five instructions on my fresh installed version of Rasbian Jessie.

But this line:

 

sudo apt-get install mono-runtime mediainfo libsqlite3-dev imagemagick-6.q8 libmagickwand-6.q8-2 libmagickcore-6.q8-2

 

gives me this kind-of-errors I guess:

 

Creating config file /etc/papersize with new version
Setting up libwmf0.2-7:armhf (0.2.8.4-10.3+deb8u1) ...
Setting up binfmt-support (2.1.5-1) ...
update-binfmts: warning: /usr/share/bi

...

update-alternatives: using /usr/bin/mono to provide /usr/bin/cli (cli) in auto mode
Setting up libmono-corlib4.5-cil (4.0.3.20-0xamarin1) ...
Illegal instruction

...

Running hooks in /etc/ca-certificates/update.d....Updating Mono key store
Illegal instruction
Done
done.

 

 

and if i keep going with the next line

 

sudo apt-get install emby-server

 

 

I get a lot of messages like this one.

 

Setting up libnunit-core-interfaces2.6.3-cil (2.6.3+dfsg-1) ...
* Installing 1 assembly from libnunit-core-interfaces2.6.3-cil into Mono
Illegal instruction
Use of uninitialized value $_ in scalar chomp at /usr/share/cli-common/runtimes.d/mono line 275.
Use of uninitialized value $fullname in concatenation (.) or string at /usr/share/cli-common/runtimes.d/mono line 225.
Illegal instruction
E: installing Assembly /usr/lib/cli/nunit.core.interfaces-2.6.3/nunit.core.interfaces.dll failed
E: Installation of libnunit-core-interfaces2.6.3-cil with /usr/share/cli-common/runtimes.d/mono failed
dpkg: error processing package libnunit-core-interfaces2.6.3-cil (--configure):
 subprocess installed post-installation script returned error exit status 132
dpkg: dependency problems prevent configuration of libnunit-core2.6.3-cil:
 libnunit-core2.6.3-cil depends on libnunit-core-interfaces2.6.3-cil; however:
  Package libnunit-core-interfaces2.6.3-cil is not configured yet.

 

I tried it with and without the part which says "If running rasbian" But neither of it did work

Does anyone know why this is the way it is?

Edited by cabt
Link to comment
Share on other sites

hurricanehrndz

Okay after doing some more reading, it seems that raspberry pi does support hard float, its raspbian that does not. You will need to use another distro other than raspbian. 

 

https://www.raspberrypi.org/help/faqs/#generalSoCUsed

 

https://www.raspbian.org/RaspbianFAQ#What_do_you_mean_by_.22soft_float_ABI.22_and_.22hard_float_ABI.22.3F

Edited by hurricanehrndz
Link to comment
Share on other sites

Hi,

 

ok so I got an PI2. Installing worked fine on Raspbian.I added some mediafiles. I can access the webinterface and everything worked realy fine and smooth.

 

But when I try to play some media it does not work. If I hit play in the webinterface sometimes nothing happens and sometimes it switches to the player view but it keeps black and it won't start. (I tried it with serveral files)

 

I also tried the Windows client but there it won't start either.

 

Do I have to install something else? I read something about ffmpeg?

Link to comment
Share on other sites

hurricanehrndz

Yeah you would need ffmpeg installed, but if you are using a pi2 for serving I would not be using the trans-coding features of emby and expecting good results. Most users just use it as a way to serve up the files.

Link to comment
Share on other sites

but should Emby Theater not be able to play media anyway? If I start it and connect to the server and login. It shows me my media but when I click on a Episode of a Show for examble, it shows me all the details, description etc. but there is no play button.

 

Do I have to configure someting else in the Emby Theater?

Link to comment
Share on other sites

djonnie

It shows the Movie Description, but does it also show the length of the movie and the video and audio details? (Like bitrate, codec?)

 

If the server doesn't know these details your video won't play. Even if your client can.

 

In that case you need to compile ffmpeg yourself following these steps. On the PI2 it will take about 2-3 hours.

 

cd /usr/src

git clone git://git.videolan.org/x264

cd x264

sudo ./configure --host=arm-unknown-linux-gnueabi --enable-static --disable-opencl

sudo make

sudo make install

 

git clone git://source.ffmpeg.org/ffmpeg.git
cd ffmpeg

sudo ./configure --arch=armel --target-os=linux --enable-gpl --enable-libx264

sudo make

sudo make install

 

and then editing emby-server.sh to use this version of ffmpeg:

 

sudo nano /usr/lib/emby-server/emby-server.sh

 

Change:

 

# ffmpeg
FFMPEG_BIN=$(which ffmpeg)
[ -n "$FFMPEG_BIN" ] && FFMPEG_OPTS="-ffmpeg $FFMPEG_BIN"

# ffprobe
FFPROBE_BIN=$(which ffprobe)
[ -n "$FFPROBE_BIN" ] && FFPROBE_OPTS="-ffprobe $FFPROBE_BIN"
 

to...

 

# ffmpeg
#FFMPEG_BIN=$(which ffmpeg)
FFMPEG_BIN=/usr/local/bin/ffmpeg
[ -n "$FFMPEG_BIN" ] && FFMPEG_OPTS="-ffmpeg $FFMPEG_BIN"

# ffprobe
#FFPROBE_BIN=$(which ffprobe)
FFPROBE_BIN=/usr/local/bin/ffprobe
[ -n "$FFPROBE_BIN" ] && FFPROBE_OPTS="-ffprobe $FFPROBE_BIN"

Link to comment
Share on other sites

hurricanehrndz

I will try and get an ffmpeg for us that works and try and try and get the instructions as simple as possible. I will be working on this after the next docker update. 

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