openmediavault-emby plugin (formerly mediabrowser)

    • OMV 2.x
    • openmediavault-emby plugin (formerly mediabrowser)

      What changed is that the suse repo stopped being used. The entire server core has been rewritten and it’s no longer being hosted on the suse servers (probably some licensing technicalities).

      If you installed manually using a .deb file, it’s unlikely it ever updated by itself. So you must have used the repo and added to sources? If this was the case, there will never be any more updates to it. You can remove it and grab the latest deb from their download page and use that. When your Emby admin panel says there is an update, repeat.

      That is your only option now if you won’t use docker.

      Edit: bear in mind that I think Luke said it’s no a clean upgrade from old code to new, so backup your settings. You might be looking at a fresh install if you really are using the old mono code.

      Once installed, whenever your admin panel says there is an update:

      1. Browse to the downloads page copy link
      2. ssh to server
      3. wget [link]
      4. dpkg -i [filename of downloaded file]

      It’s a 60 second task.


      Sent from my iPhone using Tapatalk
    • Sorry, i deleted that, because it looks like you deleted your question.

      They must have moved it. My emby is in opt. I would say that pretty much confirms you are on the old version.

      Do this:

      Login to terminal:

      Source Code

      1. wget https://github.com/MediaBrowser/Emby.Releases/releases/download/3.4.1.0/emby-server-deb_3.4.1.0_amd64.deb


      Then


      Source Code

      1. sudo dpkg -i emby-server-deb_3.4.1.0_amd64.deb
      Please make sure you have backups. You may find you have to remove the old Emby first, I think I read somewhere.

      Edit: Urg... long day, making mistakes. Corrected dpkg command with just file name and not download link :P
    • Strange. It works here.

      Source Code

      1. emby-server-deb_3.4.1.0_amd64.deb 100%[===================================================================>] 48.37M 3.88MB/s in 18s
      2. 2018-05-13 23:00:41 (2.72 MB/s) - ‘emby-server-deb_3.4.1.0_amd64.deb’ saved [50719226/50719226]
      It's hosted on Amazon web services though, and the speed sucks and I'm on almost 400Mbit here.. only ~2.72MB/sec... try again in a minute.
    • I got Emby server installed in /opt.

      It seem that my old emby server isn't installed in /var/lib.



      Source Code

      1. /var/lib$ ls -la emby/
      2. total 48
      3. drwxr-xr-x 12 emby emby 4096 May 13 18:02 .
      4. drwxr-xr-x 45 root root 4096 May 13 18:02 ..
      5. drwxrwxr-x 5 emby emby 4096 May 12 21:38 cache
      6. drwxrwxr-x 4 emby emby 4096 May 11 21:39 config
      7. drwxrwxr-x 6 emby emby 4096 May 13 18:02 data
      8. drwxrwxr-x 3 emby emby 4096 Mar 3 16:42 ffmpeg
      9. drwxrwxr-x 2 emby emby 4096 Mar 3 16:42 localization
      10. drwxrwxr-x 2 emby emby 4096 May 13 18:02 logs
      11. drwxrwxr-x 6 emby emby 4096 Mar 3 18:46 metadata
      12. drwxr-xr-x 2 emby emby 4096 May 13 18:02 plugins
      13. drwxrwxr-x 3 emby emby 4096 Mar 3 16:42 root
      14. drwxr-xr-x 2 emby emby 4096 Mar 3 17:19 ssl
      15. ==========================
      16. /opt/emby-server/
      17. total 60
      18. drwxr-xr-x 8 emby users 4096 May 13 18:02 .
      19. drwxr-xr-x 8 root root 4096 May 13 18:03 ..
      20. drwxr-xr-x 2 emby users 4096 May 13 18:02 bin
      21. drwxr-xr-x 3 emby users 4096 May 13 18:02 etc
      22. drwxr-xr-x 4 emby users 20480 May 13 18:02 lib
      23. drwxr-xr-x 25 emby users 4096 May 13 18:02 licenses
      24. drwxr-xr-x 3 emby users 4096 May 13 18:02 share
      25. drwxr-xr-x 4 emby users 16384 May 13 18:02 system
      Display All
      OMV v4.0
      Asus Z97-A/3.1; i3-4370
      32GB RAM Corsair Vengeance Pro
      4x3TB RAID10
    • Source Code

      1. systemctl status emby-server
      2. ● emby-server.service - Emby Server is a personal media server with apps on just about every device.
      3. Loaded: loaded (/usr/lib/systemd/system/emby-server.service; enabled; vendor preset: enabled)
      4. Active: active (running) since Sun 2018-05-13 18:02:29 EDT; 11min ago
      5. Main PID: 26132 (EmbyServer)
      6. Tasks: 28 (limit: 4915)
      7. CGroup: /system.slice/emby-server.service
      8. └─26132 /opt/emby-server/system/EmbyServer -programdata /var/lib/emby -ffmpeg /opt/emby-server/bin/ffmpeg
      9. -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
      OMV v4.0
      Asus Z97-A/3.1; i3-4370
      32GB RAM Corsair Vengeance Pro
      4x3TB RAID10
    • Urgh.. this is probably upgrade incompatibilities. If you don't mind a fresh setup you'd probably be best starting from scratch. This kind of core rewrite probably isn't going to happen again for a long time. If you don't mind the setup, and you haven't got a lot of after the fact metadata changes, I'd be quite inclined to purge the lot. In fact, this is exactly what I did. I didn't try and upgrade. You might be able to do it, but you'd need to talk to the emby guys. If you don't mind purging and setting up again:

      Source Code

      1. sudo apt remove --purge emby-server


      Then dpkg again:


      Source Code

      1. sudo dpkg -i emby-server-deb_3.4.1.0_amd64.deb

      Then visit web portal and setup a fresh.

      Hang on, scratch that: Isn't that folder just a Photos folder? Do you use it? It's probably for mobile uploads? I don't know I don't use it.

      Hrm... looks like some have success some don't. The backup plugin helps if you had it: emby.media/community/index.php…ng-from-mono-to-net-core/

      emby.media/community/index.php…-core/page-80#entry517556

      The problem is a lot of configs that aren't replaced, that point to old locations. You'd probably spend more time fixing than you would setting up again.

      The post was edited 2 times, last by ellnic ().

    • I've wrote this script for Emby update.
      Feel free to use it.

      Note: shutdown your Emby server before run this script.

      Shell-Script

      1. #!/bin/bash
      2. # 5/13/18
      3. # Update Emby server
      4. read -p "Please enter the Emby version that you want to update:" version
      5. echo "$version"
      6. echo "Is that the correct version? (Y/N)" input
      7. if [[ "$input" == [y] || "$input" == [Y] ]]
      8. then
      9. cd /opt/
      10. echo "Download Emby version '$version'..."
      11. wget "https://github.com/MediaBrowser/Emby.Releases/releases/download/${version}/emby-server-deb_${version}_amd64.deb"
      12. echo "Installing Emby '$version'.."
      13. dpkg -i ${version}_amd64.deb
      14. rm ${version}_amd64.deb
      15. else
      16. exit 1
      17. fi
      18. echo "Emby has successfully installed."
      19. exit 0
      Display All
      OMV v4.0
      Asus Z97-A/3.1; i3-4370
      32GB RAM Corsair Vengeance Pro
      4x3TB RAID10

      The post was edited 1 time, last by tinh_x7 ().

    • I have a similar problem to tinh_7. My emby server is currently on version 3.3.1.0. I installed it ages ago using the command line (following a guide here), and used to be able to update it in the Update Management tab of the OMV GUI.

      That obviously won't be possible anymore. How should I update from now on? Docker, apttool or manually? What's the best option that doesn't involve me having to do a lot of work, or loosing my database and configs?
    • tinh_x7 wrote:

      Uninstall your Emby with the previous posts, and use the script that I've provided.

      Uninstall: sudo apt-get remove --purge emby-server
      Why would I want to uninstall Emby though?

      Anyway, I updated using:

      wget github.com/MediaBrowser/Emby.R…_3.4.1.0_amd64.debservice
      emby-server stop
      dpkg -i emby-server-deb_3.4.1.0_amd64.deb
      rm emby-server-deb_3.4.1.0_amd64.deb
      ln -s /var/lib/emby /var/lib/emby-server

      Haven't noticed any issues yet.

      The post was edited 1 time, last by TenaciousD ().