Jump to content


Photo

New QNAP Package for Testing


  • Please log in to reply
833 replies to this topic

#1 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 129329 posts
  • Local time: 05:39 AM

Posted 29 September 2017 - 05:47 PM

Download qpkg:

 

Please see our download page: https://emby.media/download

 

What is This?

 

This is a QNAP package that will be developed by the Emby team and after a brief testing period will be made available for download on our website. This is completely separate from the QNAP package that is available in the QNAP community, and thus will be a new installation.

 

Advantages over Current Package on QNAP Forums

  • Built with .NET Core, which is smaller and faster than the mono runtime, with major performance improvements.
  • Everything is self contained, no more qmono or worrying about any other dependencies !
  • No more fumbling with the ffmpeg setup !
  • VAAPI hardware transcoding support included and tested by us !
  • Builds will always be immediately available after new Emby Server releases !

@breezytm

@AdrianW

@PenkethBoy


  • breezytm, smc007i, Vidarr and 1 other like this

#2 PenkethBoy OFFLINE  

PenkethBoy

    Advanced Member

  • Members
  • 3266 posts
  • Local time: 10:39 AM
  • LocationWarrington,UK

Posted 29 September 2017 - 09:13 PM

Cool

 

Ok - installs fine on my TS-853A and server runs through the setup routine fine :)

 

However in the library setup I cant pick any directories where my media is.

 

Ah with a bit of checking the install has created a Emby User group and an Emby user - not sure this is necessary or wanted.

 

I assume that i will now have to grant access to the Emby user to my media other packages dont need specific users to function.

 

Emby was installed to  /Homes/Emby/ !!!

 

I dont use Home directories for users and Emby should be installed to /share/Cachedev1_data/.qpkg/ where all other packages are installed. I dont want my Homes directory filling up with Emby data.

 

[Edit]After a refresh  Emby is installed in two places  /share/Cachedev1_data/.qpkg/  and  /Homes/Emby/  :(

 

 

Probably a good idea to create a Testing QNAP sub forum


Edited by PenkethBoy, 30 September 2017 - 12:01 AM.


#3 PenkethBoy OFFLINE  

PenkethBoy

    Advanced Member

  • Members
  • 3266 posts
  • Local time: 10:39 AM
  • LocationWarrington,UK

Posted 29 September 2017 - 09:27 PM

Ok giving access to the Emby user to my media solves the library path issue - still dont like this.



#4 PenkethBoy OFFLINE  

PenkethBoy

    Advanced Member

  • Members
  • 3266 posts
  • Local time: 10:39 AM
  • LocationWarrington,UK

Posted 29 September 2017 - 11:56 PM

After a re boot of the NAS - Emby will not restart gives no error - no logs created

 

Have tried stopping and starting from the App Centre - no joy - nothing in resource Monitor - no Emby/dotnet or ffmpeg processes which were there before the reboot



#5 Vidarr OFFLINE  

Vidarr

    Advanced Member

  • Members
  • 63 posts
  • Local time: 11:39 AM

Posted 30 September 2017 - 05:00 AM

Hello basically on Qnap they are seen as 2 different package the problem is they point at the same port.

 

Even if i shutdown the older Emby app it's not working (no response from the port)

 

Do i need to uninstall the older one and then only let the new one, if i need to uninstall the older one does my conf files stay or i will have to make a backup of them ?



#6 alucryd OFFLINE  

alucryd

    Advanced Member

  • Members
  • 319 posts
  • Local time: 11:39 AM
  • LocationLille, France

Posted 30 September 2017 - 05:30 AM

@PenkethBoy Runing as a dedicated user is intended and that kind of sandboxing is just basic security. Running anything as root, or admin as qnap would call it, is questionnable at best and the risks of leaving your whole system open is too great. Tweaking a few permissions or putting your library in a world readable directory is a small price to pay for the added security.

 

As far as putting emby's library and data in /share/homes/emby, apart from it being the natural home of a unix user on qnap, this is for 3 reasons, you can easily wipe it without uninstalling the emby app to start fresh, you can easily back it up anywhere you like (it is removed upon uninstalling the app so backing it up is a good idea), and you get easy access to logs.

 

As for emby not restarting, I was able to reproduce and I know how to fix it, we will upload a new build later today.



#7 alucryd OFFLINE  

alucryd

    Advanced Member

  • Members
  • 319 posts
  • Local time: 11:39 AM
  • LocationLille, France

Posted 30 September 2017 - 05:31 AM

Hello basically on Qnap they are seen as 2 different package the problem is they point at the same port.

 

Even if i shutdown the older Emby app it's not working (no response from the port)

 

Do i need to uninstall the older one and then only let the new one, if i need to uninstall the older one does my conf files stay or i will have to make a backup of them ?

 

I will try getting both of them installed later today and report back.

 

@Luke will the older library files be compatible with the new app if they're copied over?



#8 rjay OFFLINE  

rjay

    Advanced Member

  • Members
  • 67 posts
  • Local time: 05:39 PM

Posted 30 September 2017 - 05:53 AM

Couple of questions Luke, will this now mean no need to "shutdown" the App from the QNAP control panel and so can reboot from the Emby web interface? also can it upgrade from the Emby webinterface as per the Windows version?

 

What is the best migration strategy, can you just backup your config, uninstall the QPKG, install the new QPKG and restore config?

 

thanks, amped about the native features and having updates at same time as Windows ver but also apprehensive as my install is working pretty much perfectly stable


Edited by rjay, 30 September 2017 - 05:58 AM.


#9 Moogle Stiltzkin OFFLINE  

Moogle Stiltzkin

    Member

  • Members
  • 13 posts
  • Local time: 05:39 PM

Posted 30 September 2017 - 06:37 AM

ty luke :} will try it out.



#10 breezytm OFFLINE  

breezytm

    Advanced Member

  • Members
  • 709 posts
  • Local time: 05:39 AM

Posted 30 September 2017 - 11:57 AM

Away this weekend. Will give it a try when I get back to the states and provide you fine folks with some feedbacks. 



#11 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 129329 posts
  • Local time: 05:39 AM

Posted 30 September 2017 - 12:02 PM

Right now this is just for testing. I wouldn't try to migrate your existing installation just yet. Thanks.

#12 PenkethBoy OFFLINE  

PenkethBoy

    Advanced Member

  • Members
  • 3266 posts
  • Local time: 10:39 AM
  • LocationWarrington,UK

Posted 30 September 2017 - 12:42 PM

@PenkethBoy Runing as a dedicated user is intended and that kind of sandboxing is just basic security. Running anything as root, or admin as qnap would call it, is questionnable at best and the risks of leaving your whole system open is too great. Tweaking a few permissions or putting your library in a world readable directory is a small price to pay for the added security.

 

As far as putting emby's library and data in /share/homes/emby, apart from it being the natural home of a unix user on qnap, this is for 3 reasons, you can easily wipe it without uninstalling the emby app to start fresh, you can easily back it up anywhere you like (it is removed upon uninstalling the app so backing it up is a good idea), and you get easy access to logs.

 

As for emby not restarting, I was able to reproduce and I know how to fix it, we will upload a new build later today.

Hi

 

Running a dedicated user for Emby is fine - but its disabled by default, has no access to any files etc when installed - IF its necessary make it part of the install script to ask the admin to create a user and give it access to the appropriate file locations. As is it does not work currently.

 

Who said anything about running it as root/admin - and if the system is already secure on the admin account - minimal to no more risk than already present.

 

I dont have Home folders for my users and dont want the Emby install to override that - its not Unix its a limited version of linux - with all the hassle that comes with it. Give the option to install where the admin user wants his data - we can then decide where we want the "Emby generated data" to reside.

 

As you can probably tell not very keen on your choices of how you overrode system settings and dont inform the admin user what you have done and why - even if you think the choices are good you should let the user decide as they will have other views etc.

 

 

Once installed and the Emby user is enabled and given access to the appropriate media folders Emby does work OK it seems - until you reboot :)


  • Moogle Stiltzkin likes this

#13 PenkethBoy OFFLINE  

PenkethBoy

    Advanced Member

  • Members
  • 3266 posts
  • Local time: 10:39 AM
  • LocationWarrington,UK

Posted 30 September 2017 - 12:44 PM

oh one thing i forgot to post about is that the "restart" option from the dashboard does not work - that was before i rebooted my NAS


Edited by PenkethBoy, 30 September 2017 - 12:45 PM.


#14 tre4b OFFLINE  

tre4b

    Advanced Member

  • Members
  • 111 posts
  • Local time: 10:39 AM

Posted 30 September 2017 - 02:27 PM

Okay, installed fine and seems to work.  I thought I would transfer my settings across one by one but cannot add the libraries.

 

I can see the tree initially but after I select the first level the screen changes to the attachment and that is it.  Only way out of this seems to be back.

 

I'm running this by stopping my production instance, then running this one up.  I am assuming the install is separate enough that this will not be causing issues it self.  If this is not the best way to do this then let me know.

 

 

Attached Files


Edited by tre4b, 30 September 2017 - 02:27 PM.


#15 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 129329 posts
  • Local time: 05:39 AM

Posted 30 September 2017 - 03:13 PM

I've updated the build in the first post. This should resolve the restart problem. Thanks guys.



#16 PenkethBoy OFFLINE  

PenkethBoy

    Advanced Member

  • Members
  • 3266 posts
  • Local time: 10:39 AM
  • LocationWarrington,UK

Posted 30 September 2017 - 04:18 PM

Okay, installed fine and seems to work.  I thought I would transfer my settings across one by one but cannot add the libraries.

 

I can see the tree initially but after I select the first level the screen changes to the attachment and that is it.  Only way out of this seems to be back.

 

I'm running this by stopping my production instance, then running this one up.  I am assuming the install is separate enough that this will not be causing issues it self.  If this is not the best way to do this then let me know.

you need to allow the "emby" user to have access to your media directory then you can setup a library - its not given access at setup (as it could not know what folders to give access to)



#17 Moogle Stiltzkin OFFLINE  

Moogle Stiltzkin

    Member

  • Members
  • 13 posts
  • Local time: 05:39 PM

Posted 01 October 2017 - 12:53 AM

how do you do a clean uninstall once finished testing?  :o  newbie here.
 

I dont have Home folders for my users and dont want the Emby install to override that - its not Unix its a limited version of linux - with all the hassle that comes with it. Give the option to install where the admin user wants his data - we can then decide where we want the "Emby generated data" to reside.
 
As you can probably tell not very keen on your choices of how you overrode system settings and dont inform the admin user what you have done and why - even if you think the choices are good you should let the user decide as they will have other views etc.


i also 2nd this. would be nice if during setup it gives you choices about whether to use the default, or custom location for that.

i tested the qpkg on h264 and hevc worked fine. but one media file had small sized subtitles :

 

UymGeyT.jpg

 

 

playing the same video on MPC HC on desktop looked like this

 

zHW4XUn.jpg

 

 

 

Tested a few other videos also using SSA, but i did not see this small subtitle size issue. just this one video for some reason. Yes i saw one was directplay, another was transcoding.

 

 

PS: forum should add spoiler tags or some sort of auto resize for pics :X


Edited by Moogle Stiltzkin, 01 October 2017 - 01:06 AM.

  • PenkethBoy likes this

#18 Edgared OFFLINE  

Edgared

    Advanced Member

  • Members
  • 42 posts
  • Local time: 10:39 AM

Posted 01 October 2017 - 03:58 AM

with this new version emby server emby premiere does not work when I connect to the application ios or windows. a message appears and offers to subscribe to Emby first

#19 PenkethBoy OFFLINE  

PenkethBoy

    Advanced Member

  • Members
  • 3266 posts
  • Local time: 10:39 AM
  • LocationWarrington,UK

Posted 01 October 2017 - 07:40 AM

how do you do a clean uninstall once finished testing?  :o  newbie here.
 

 just uninstall it from the App Centre as you would any package - it appears to remove almost everything

 

one thing it does not remove is the emby user - it does remove the emby user group though

 

Glad to see i am not the only one who does not like the way its installed :)



#20 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 129329 posts
  • Local time: 05:39 AM

Posted 01 October 2017 - 12:29 PM

with this new version emby server emby premiere does not work when I connect to the application ios or windows. a message appears and offers to subscribe to Emby first

 

How to report a problem. Thanks !






2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users