Jump to content

Recommended Posts

hurricanehrndz
Posted

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.

David69220
Posted

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 !

hooray4me
Posted

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

Posted

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

  • Like 1
hooray4me
Posted

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

hooray4me
Posted

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

clarkss12
Posted

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.

Posted

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

  • Like 1
hurricanehrndz
Posted

Updates are up.

Posted (edited)

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
schmitty
Posted

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

Posted

Not at this time, sorry

schmitty
Posted (edited)

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

 

 

Sent from my iPhone using Tapatalk

Edited by schmitty
ChristianC123
Posted

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

 

Posted

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

Posted (edited)
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
Posted

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.

Posted
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

Posted

Thanks for the feedback

Posted

@@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?

hurricanehrndz
Posted

@@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
Posted

@@hurricanehrndz thanks for the suggestion, I'm happy to report success! One step closer to full automation  :)

 

/etc/apt/apt.conf.d/50unattended-upgrades

Unattended-Upgrade::Allowed-Origins {
        "${distro_id}:${distro_codename}";
        "${distro_id}:${distro_codename}-security";
        "${distro_id}:${distro_codename}-updates";
        "${distro_id}:${distro_codename}-backports";
        "LP-PPA-ondrej-php:zesty";
        "LP-PPA-webupd8team-java:zesty";
        "LP-PPA-nginx-stable:zesty";
        "obs\://build.opensuse.org/home\:emby/xUbuntu_17.04:xUbuntu_17.04";
};
Posted

@@hurricanehrndz unfortunately the Ubuntu unattended updates still doesn't work despite the script no longer choking on the naming convention. It updates packages from every origin except Emby.

root@media:~# unattended-upgrade -d -v --apt-debug
Initial blacklisted packages:
Initial whitelisted packages:
Starting unattended upgrades script
Allowed origins are: ['o=Ubuntu,a=zesty', 'o=Ubuntu,a=zesty-security', 'o=Ubuntu,a=zesty-updates', 'o=Ubuntu,a=zesty-backports', 'o=LP-PPA-ondrej-php,a=zesty', 'o=LP-PPA-webupd8team-java,a=zesty', 'o=LP-PPA-nginx-stable,a=zesty', 'o=obs://build.opensuse.org/home:emby/xUbuntu_17.04,a=xUbuntu_17.04']
Checking: emby-server-beta ([<Origin component:'' archive:'' origin:'obs://build.opensuse.org/home:emby/xUbuntu_17.04' label:'home:emby' site:'download.opensuse.org' isTrusted:True>])
pkgs that look like they should be upgraded:
Fetched 0 B in 0s (0 B/s)
fetch.run() result: 0
blacklist: []
whitelist: []
No packages found that can be upgraded unattended and no pending auto-removals
root@media:~# apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  emby-server-beta
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.0 MB of archives.
After this operation, 5,120 B of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
Posted

What exactly is the problem?

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