Jump to content

Fedora/CentOS (RPM)


Recommended Posts

Posted

 

Hello,

 

please help how to fix this problem on centos 6 64bit server:

 

Error: Package: libmediainfo-0.7.76-1.el6.x86_64 (@epel)
           Requires: libtinyxml2.so.1()(64bit)
           Removing: tinyxml2-1.0.11-4.20130805git0323851.el6.x86_64 (@epel)
               libtinyxml2.so.1()(64bit)
           Updated By: tinyxml2-2.1.0-5.1.x86_64 (home_emby)
               Not found
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

 

 

Thanks for reporting this issue. This problem should be solved now.

 

Please notice that you may need to run "yum clean all" to clear all yum cached data before trying to update the system again or you may keep getting the error.

Posted

I'm not sure in which forum to address this issue:

 

My wife has lost about 95% of her sight since March this year. I am attempting to use Emby and Roku so she may listen to books in MP3 format. I noticed there is no guidence with respect to setting up a book library -  I have attempted to use 'music' without success: There are problems with adding a CentOS 6 mounted /media/bookdiskname to the Emby library (visible, but resets entry whenever 'added' - I can get as far as /media - and that's it). So access to the /media/diskname/book/chapter1.mp3, chapter2.mp3, ... chaptern.mp3 is naturally a problem.

 

Any suggestions?

Posted

Sorry to hear that about your wife. :(

Maybe you want to post this into the general Linux forum so more people see it and may help you with this. I'm not using audio books or books libraries so I can't really help.

 

 

Sent from my iPhone using Tapatalk

Posted

What is the character?

 

It may be that our web entry form isn't handling it properly.  Especially if it is something like a percent sign (%).

 

My apologies for the delay.

It's a bang. No problems with manually logging into the erver.

  • 2 weeks later...
Posted

I get the following errors when trying to install emby-server via yum following the instructions on the download page (CentOS 7 64b);

$ sudo yum install emby-server
.
.
.
--> Finished Dependency Resolution
Error: Package: ImageMagick-libs-6.9.1-29.1.x86_64 (home_emby)
           Requires: libIlmImf.so.6()(64bit)
Error: Package: ImageMagick-libs-6.9.1-29.1.x86_64 (home_emby)
           Requires: libgs.so.8()(64bit)
Error: Package: ImageMagick-libs-6.9.1-29.1.x86_64 (home_emby)
           Requires: libwebp.so.5()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

This is a fresh CentOS install with yum updates.

Posted

Did you add EPEL repo to your system? Is mandatory.

 

 

Sent from my iPhone using Tapatalk

Posted

Did you add EPEL repo to your system? Is mandatory.

Yes the EPEL repo has been added;

$ cat /etc/yum.repos.d/epel.repo
[epel]
name=Extra Packages for Enterprise Linux 7 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7

[epel-debuginfo]
name=Extra Packages for Enterprise Linux 7 - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch/debug
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
gpgcheck=1

[epel-source]
name=Extra Packages for Enterprise Linux 7 - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/7/SRPMS
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
gpgcheck=1

Posted (edited)

Can you run 'yum clean all' and then 'yum install emby-server'?

Please post both commands complete output not just the last few lines.

 

Thanks


Sent from my iPhone using Tapatalk

Edited by fc7
Posted

Just for the record I tried to install emby-server on a fresh CentOS 7.1 (minimal) install and also on a CentOS 7.2 (minimal) install updated from 7.1.

In both cases I didn't face any issues with the installation, nor with the package dependancies.

 

All the packages should come from Base, Update and EPEL.

Only exceptions are: sqlite, mono and ImageMagick, that should be retrieved from Emby repo.

 

It just works. Once you share the output of the commands I requested before, I will check it to try to find whats going on.

Posted

I don't know why but yesterday I tried to re-run "yum install emby-server" and it worked. I have no idea why it started working, thanks though.

Posted

I don't know why but yesterday I tried to re-run "yum install emby-server" and it worked. I have no idea why it started working, thanks though.

 

Good to hear that. A few changes are coming with the new beta including a big one. We will not require ImageMagick anymore, we will provide the needed libraries in a separate package that will not conflict with any distro stock ImageMagick package. :)

Posted

With the new stable release version of Emby, 3.0.5781.8, new packages with several important changes are available for Fedora/CentOS.

Including:

  • We created a new package called embymagick that provides the needed libraries from ImageMagick to run Emby . This package can be installed side-by-side with the stock ImageMagick included with all the distros so there should be no more conflicts. It's highly recommended that you uninstall the previous ImageMagick packages provided by us, and if needed, just install the stock ones included with the distro.
  • Ahead Of Time (AOT) code is included in the new package, hoping to increase performance by executing precompiled code instead of JIT.
  • The old, empty, emby-server.conf under /etc now includes some guidelines in case you need to override the defaults.
  • In previous versions, only the runas user (emby by default) was able to restart Emby when you pressed the restart button in the UI. Starting with this version, any user in emby group will be able to do so. If you change the default runas user, we will try to automatically add the new one to the emby group.

Hope you enjoy it and as always, any feedback is welcome.

Posted (edited)

I think you have a typo in emby-server.sh

 

It currently reads as:

exec su -s /bin/sh -c 'exec "$0" "$@"' $USER -- \
env $MONO_EXEC_ENV $MONO_EXEC $MONO_EXEC_OPTS $EMBY_EXEC $EMBY_OPTS > $LOG_FILE 2>&1

But I get this in /var/log/emby-server.log

su: user env does not exist

I had a feeling that's because $USER was blank (which that is indeed the case.) So I changed the line to:

exec su -s /bin/sh -c 'exec "$0" "$@"' $EMBY_USER -- \
env $MONO_EXEC_ENV $MONO_EXEC $MONO_EXEC_OPTS $EMBY_EXEC $EMBY_OPTS > $LOG_FILE 2>&1

Now it starts ok. Probably should be corrected though. :)

 

note: It works OK if you run emby-server.sh from the command line, but it explodes when run via systemctl.

Edited by Doonga
Posted

I will look into it ASAP.

 

 

Sent from my iPhone using Tapatalk

Posted (edited)

I think you have a typo in emby-server.sh

 

It currently reads as:

exec su -s /bin/sh -c 'exec "$0" "$@"' $USER -- \
env $MONO_EXEC_ENV $MONO_EXEC $MONO_EXEC_OPTS $EMBY_EXEC $EMBY_OPTS > $LOG_FILE 2>&1

But I get this in /var/log/emby-server.log

su: user env does not exist

I had a feeling that's because $USER was blank (which that is indeed the case.) So I changed the line to:

exec su -s /bin/sh -c 'exec "$0" "$@"' $EMBY_USER -- \
env $MONO_EXEC_ENV $MONO_EXEC $MONO_EXEC_OPTS $EMBY_EXEC $EMBY_OPTS > $LOG_FILE 2>&1

Now it starts ok. Probably should be corrected though. :)

 

note: It works OK if you run emby-server.sh from the command line, but it explodes when run via systemctl.

 

A new package revision is out that should fix this problem.

Please try it out and let me know if it works for you (yum update emby-server).

Thanks.

Edited by fc7
Posted

A new package revision is out that should fix this problem.

Please try it out and let me know if it works for you (yum update emby-server).

Thanks.

 

 

Much better now! Thanks!

Posted

With the new Emby stable release 3.0.5782.0, also mono was updated from 4.0.3 to 4.2.1 for CentOS/Fedora (we are just replicating the Xamarin release, no modifications).

This change will bring support for IPv6  and many other improvements on the mono side.

 

As always any feedback will be welcome.

 

Enjoy

  • Like 1
Posted

I created an account just to come on here and thank whoever for creating embymagick and resolving the dependency issues. I am finally able to run Emby on my CentOS 7 box. Thank you!

  • Like 3
  • 2 weeks later...
Posted

Hello,
 
I would like to try emby on my VPS running CentOS 6.6
 
I get the following error when I try to install it:

Error: Package: emby-server-3.0.5607.2-Stable.21.1.noarch (home_jose-pr_Emby)
           Requires: sqlite >= 3.8.2
           Installed: sqlite-3.6.20-1.el6_7.2.i686 (@updates)
               sqlite = 3.6.20-1.el6_7.2
           Available: sqlite-3.6.20-1.el6.i686 (base)
               sqlite = 3.6.20-1.el6


Apparently there is no newer sqlite version available for me.
Any idea how i can fix this?

 

Thanks in advance

Posted (edited)

Hello,

 

I would like to try emby on my VPS running CentOS 6.6

 

I get the following error when I try to install it:

Apparently there is no newer sqlite version available for me.

Any idea how i can fix this?

 

Thanks in advance

 

Please read and follow the installation instructions in Emby website:

 

https://emby.media/downloads/linux-server/

Edited by fc7
  • Like 1
Posted

I feel so stupid now.

I followed the instructions but accidentally used the CentOS 7 Repo  :rolleyes:  

Posted

I feel so stupid now.

I followed the instructions but accidentally used the CentOS 7 Repo  :rolleyes:  

 

No worries. Enjoy Emby! :)

  • 2 months later...
  • 1 month later...
Posted

As of today the Fedora 23 repo is reporting a new update, but the rpm doesn't exist on the origin server?

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