Jump to content
Luke

Ubuntu

Recommended Posts

thatoneguy99

That is the same version I have. You didn't see any errors during the install? Maybe try "sudo apt-get remove --purge emby-server" then try to reinstall. I have the folder you're missing inside of /usr/lib/emby-server which makes me think something didn't happen right during install.

 

 

Sent from my phone!

Edited by thatoneguy99

Share this post


Link to post
Share on other sites
David69220

I removed with purge and reinstalled... Always the same issue.

 

Never mind, I stop now.

Edited by David69220

Share this post


Link to post
Share on other sites
thatoneguy99

Sorry about your luck. I did not have these problems. Maybe someone will come along with an answer.

Share this post


Link to post
Share on other sites
hurricanehrndz

Like this:

For xUbuntu 16.04 run the following:

sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/emby/xUbuntu_16.04/ /' > /etc/apt/sources.list.d/emby-server.list"

sudo apt-get update

sudo apt-get install emby-server

 

 

Do you need more detail ?

 

Thanks in advance.

Nope that is enough. Sorry for the delay in response. You need to ensure libembysqlite is installed, it should have been since it is a dependency.

Follow the Ubuntu instructions here.

Share this post


Link to post
Share on other sites
David69220

Nope that is enough. Sorry for the delay in response. You need to ensure libembysqlite is installed, it should have been since it is a dependency.

Follow the Ubuntu instructions here.

 

It works ! I removed / purged and reinstalled libembysqlite3.so.0 

 

Thank you very much !

Share this post


Link to post
Share on other sites
robrhedrick

I was trying to update to the latest 3.2.22 version on 16.04... apt told me

 

emby-server is already the newest version (3.2.20.0-43.1).

 

What am I missing...

Share this post


Link to post
Share on other sites
Luke

Some distros are temporarily paused. We'll have the update out soon. Thank you for your patience.

  • Like 1

Share this post


Link to post
Share on other sites
robrhedrick

np, thanks! just wanted to make sure I wasn't missing something.

Share this post


Link to post
Share on other sites
robrhedrick

When should I be able to update to 3.2.22? Repo is still telling me 3.2.20 is still the latest version.

Share this post


Link to post
Share on other sites
clarkss12

When should I be able to update to 3.2.22? Repo is still telling me 3.2.20 is still the latest version.

Same here.

Share this post


Link to post
Share on other sites
Luke

We'll have the update out soon. Thanks for your patience.

  • Like 1

Share this post


Link to post
Share on other sites
hurricanehrndz

Updates are up.

  • Like 1

Share this post


Link to post
Share on other sites
frankw

Hi guys,

 

I am currently running the beta channel, and have been trying to set up unattended updates for emby-server but have been unsuccessful due to an apparent incompatibility between the format of the origin name used by emby and the format of the name required by Ubuntu's unattended updates package. I believe the fix may be quite simple and perhaps bring the emby repo better aligned with Debian/Ubuntu practices, so allow me to explain.

 

The unattended upgrades package (/etc/apt/apt.conf.d/50unattended-upgrades) requires the origin to be specified in the format "${distro_id}:${distro_codename}".

 

Below are a few different Release files:

  1. http://download.opensuse.org/repositories/home:/emby/xUbuntu_17.04/Release
  2. http://ppa.launchpad.net/webupd8team/java/ubuntu/dists/zesty/Release
  3. http://ppa.launchpad.net/nginx/stable/ubuntu/dists/zesty/Release

I can add either of the above two repos to my unattended upgrades by entering:

        "LP-PPA-webupd8team-java:zesty";
        "LP-PPA-nginx-stable:zesty";
The output of the this script gives:
 
Allowed origins:
o=LP-PPA-nginx-stable,a=zesty
o=LP-PPA-ondrej-php,a=zesty
o=LP-PPA-webupd8team-java,a=zesty
o=Ubuntu,a=zesty
o=Ubuntu,a=zesty-backports
o=Ubuntu,a=zesty-security
o=Ubuntu,a=zesty-updates

System package origins:
o=, l=, a=now, c=now, site=, n=
o=LP-PPA-deluge-team, l=PPA for Deluge Team, a=zesty, c=main, site=ppa.launchpad.net, n=zesty
o=LP-PPA-ondrej-php, l=***** The main PPA for PHP (5.6, 7.0, 7.1) with many PECL extensions *****, a=zesty, c=main, site=ppa.launchpad.net, n=zesty
o=LP-PPA-transmissionbt, l=Stable builds, a=zesty, c=main, site=ppa.launchpad.net, n=zesty
o=LP-PPA-webupd8team-java, l=Oracle Java (JDK) 8 / 9 Installer PPA, a=zesty, c=main, site=ppa.launchpad.net, n=zesty
<snip>
o=nginx, l=nginx, a=stable, c=nginx, site=nginx.org, n=zesty
o=obs://build.opensuse.org/home:emby/xUbuntu_17.04, l=home:emby, a=, c=, site=download.opensuse.org, n=xUbuntu_17.04

As you can see, the emby repo has some colons already in the origin name and is missing the "a" property, meaning it is not possible to add it to unattended upgrades. Attempting to do so gives an error:

root@media:/home/frank# unattended-upgrade –dry-run –debug
Traceback (most recent call last):
  File "/usr/bin/unattended-upgrade", line 1550, in <module>
    main(options)
  File "/usr/bin/unattended-upgrade", line 1214, in main
    allowed_origins = get_allowed_origins()
  File "/usr/bin/unattended-upgrade", line 345, in get_allowed_origins
    allowed_origins = get_allowed_origins_legacy()
  File "/usr/bin/unattended-upgrade", line 326, in get_allowed_origins_legacy
    (distro_id, distro_codename) = re.split(r'(?<!\\):', s)
ValueError: too many values to unpack (expected 2)

Any chance we can update the Release file to try and fix this? From my comparison of the Release files, it appears the origin needs updating to remove colons, and Archive possibly renamed to Suite? Anyway, any suggestions greatly appreciated. Thanks.

 

https://wiki.debian.org/DebianRepository/Format#Origin

Edited by frankw

Share this post


Link to post
Share on other sites
schmitty

Hi @@Luke,

 

Is there a manual/portable install for ubuntu? I would prefer to run it from /srv/emby-server and the beta from /srv/emby-server-beta

Share this post


Link to post
Share on other sites
Luke

Not at this time, sorry

Share this post


Link to post
Share on other sites
schmitty

@@Luke Can you install the beta side by side with the main version?

 

 

Sent from my iPhone using Tapatalk

Edited by schmitty

Share this post


Link to post
Share on other sites
ChristianC123

I tried to install and ia m getting lot of dependencies errors,.I tries sudo apt-get update command ,but its still showing same prob

 

Regards,

Christian

 

Share this post


Link to post
Share on other sites
Luke

@@ChristianC123 can you please tell us exactly what errors you are seeing? thanks !

Share this post


Link to post
Share on other sites
lamero
Ubuntu 16.04
 
# date
Mon 24 Jul 13:22:36 CEST 2017
 

# apt-get update

Err:7 http://download.opensuse.org/repositories/home:/emby/xUbuntu_16.04  Release.gpg
  The following signatures were invalid: KEYEXPIRED 1500755520
Fetched 104 kB in 1s (85.3 kB/s)
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://download.opensuse.org/repositories/home:/emby/xUbuntu_16.04  Release: The following signatures were invalid: KEYEXPIRED 1500755520
W: Failed to fetch http://download.opensuse.org/repositories/home:/emby/xUbuntu_16.04/Release.gpg  The following signatures were invalid: KEYEXPIRED 1500755520
W: Some index files failed to download. They have been ignored, or old ones used instead.
Edited by lamero

Share this post


Link to post
Share on other sites
Luke

OBS keys expire every two years so what you will need to do is go back to the download page of our website and do the first part of the installation process again, the part where you setup an OBS key. After that you will be able to update. Thanks.

Share this post


Link to post
Share on other sites
lamero
wget -nv http://download.opensuse.org/repositories/home:emby/xUbuntu_16.10/Release.key -O Release.key
sudo apt-key add - < Release.key
sudo apt-get update

Works

Share this post


Link to post
Share on other sites
Luke

Thanks for the feedback

Share this post


Link to post
Share on other sites
frankw

@@Luke @@hurricanehrndz so updated the keys and all is working again now, thank you.

 

But still am not able to use unattended-updates as per my post here, which could seemingly be fixed by a simple change to the origin name within the repository Release file to remove colons. Any thoughts?

Share this post


Link to post
Share on other sites
hurricanehrndz

@@frankw

 

The colons are part of the nomenclature of openSUSE repositories. This would mean us abandoning  obs. Have you tried escaping the colons?

  • Like 1

Share this post


Link to post
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...