tiorsus 4 Posted February 1, 2018 Posted February 1, 2018 Question: is "real-time monitoring" supposed to work in this package? I moved a video & renamed another, but neither change showed up in Emby. The library that contained both of these videos is located on the local filesystem.
Zmajur 1 Posted February 1, 2018 Posted February 1, 2018 (edited) Hi guys, I've updated the build in the first post with the latest beta release. Can you please test https with this? thanks ! Usually with the previous version I had https chrash every time when finish remote control or when finish streaming with android smartphone. This beta build Im testing now and after several time opening, closing sesion with smartphone I have no issues with https . Testing will be continue to the end of day... Edited February 1, 2018 by Zmajur
Luke 42077 Posted February 2, 2018 Author Posted February 2, 2018 I got the same issue on, I'll try reinstalling again. It also stays stuck at 75% for several minutes... @@Benji99, don't do that. instead, please see how to report a problem. thanks.
Luke 42077 Posted February 2, 2018 Author Posted February 2, 2018 @@Vidarr, @@syplex, have you been able to test https with the latest update? thanks !
tiorsus 4 Posted February 2, 2018 Posted February 2, 2018 @@Vidarr, @@syplex, have you been able to test https with the latest update? thanks ! I've been playing with it for the past day over SSL. No crashes thus far
tre4b 4 Posted February 2, 2018 Posted February 2, 2018 I know people are having some issues with this however I just wanted to feedback. This new package for me on my Qnap is significantly more stable than the old original one. I used to have to restart on a regular basis and no longer have to at all. Added to that it is much faster and more responsive. Even though it is still a beta it is a great piece of work. Thank you for all the effort that has, and continues to go into it. It is appreciated.
Luke 42077 Posted February 2, 2018 Author Posted February 2, 2018 Thanks, I really don't see any issues if the https crashing is resolved now. Well, other than the out of box behavior or launching the web app, which could be more intuitive.
somy 25 Posted February 2, 2018 Posted February 2, 2018 (edited) Hi, I'd very much like to test HTTPS, is there a way to use the QNAP's build-in Let's Encrypt certificate? Found an article explaining how to do so for Plex (https://forums.plex.tv/discussion/255563/qnap-qts-4-3-use-built-in-lets-encrypt-certificate-process-with-plex-media-server), but couldn't find anything for emby...... Edited February 2, 2018 by somy
alucryd 315 Posted February 2, 2018 Posted February 2, 2018 @@somy Do you know where the certificate is stored on QNAP? Is it a single pkcs12 file (.pfx) or a certificate and private key pair (a .pem or .crt and a .key) ?
PenkethBoy 2068 Posted February 2, 2018 Posted February 2, 2018 (edited) possibly /etc/ssl and the sub directories like "cert" Edited February 2, 2018 by PenkethBoy
somy 25 Posted February 2, 2018 Posted February 2, 2018 @@somy Do you know where the certificate is stored on QNAP? Is it a single pkcs12 file (.pfx) or a certificate and private key pair (a .pem or .crt and a .key) ? Not sure but will double check. I saw the script from Plex convert the certificate to PKCS12 so I guess it's another format. This can be probably automated by a script or even better picked up by Emby automatically (assuming location is not changed). #!/bin/sh ## Script for converting QNAP Let's Encrypt certificate to PKCS12 format needed by Plex Media Server ## This is designed to work with QTS 4.3.3+ ## The script assumes that the Let's Encrypt certificate is setup and operating on the NAS BASEPATH=/mnt/HDA_ROOT/.config/QcloudSSLCertificate/cert CERT_PASS=SuperSecretStuff HOST_NAME=pms-server /etc/init.d/plex.sh stop /usr/bin/openssl pkcs12 -export -in ${BASEPATH}/cert -inkey ${BASEPATH}/key -out ${BASEPATH}/cert.p12 -name ${HOST_NAME} -CAfile ${BASEPATH}/chain -caname root -password pass:${CERT_PASS} /etc/init.d/plex.sh start
somy 25 Posted February 2, 2018 Posted February 2, 2018 Below the files inside the folder which contains Let's Encrypt certificate. Possible to use directly in Emby? [/mnt/HDA_ROOT/.config/QcloudSSLCertificate/cert] # ls account/ cert chain combine csr intermediate.pem key local_post_content
Luke 42077 Posted February 2, 2018 Author Posted February 2, 2018 Yes if you can first convert to a pfx.
somy 25 Posted February 3, 2018 Posted February 3, 2018 I got the same issue on, I'll try reinstalling again. It also stays stuck at 75% for several minutes... Hi, how did you manage to solve 75% problem? I'm having the same problem now... Thanks in advance!
somy 25 Posted February 3, 2018 Posted February 3, 2018 Yes if you can first convert to a pfx. Just want to report back the following command works: openssl pkcs12 -export -out EmbyCert.pfx -inkey key -in cert -certfile chain -password pass: So now I can use HTTPS with LE certificate. I'm still struggling to find a way to automate this (LE certificate is automatically renewed every 3 months), any suggestion?
Luke 42077 Posted February 3, 2018 Author Posted February 3, 2018 Perhaps you can automate that command to dump it to the same file location every so often? That's all Emby would need.
somy 25 Posted February 3, 2018 Posted February 3, 2018 Perhaps you can automate that command to dump it to the same file location every so often? That's all Emby would need. Need some help here. I created a shell script as follows. Basically it stops emby and export ssl certificate and then starts emby. When I run the script it doesn't seem to terminate - do I need to start emby in background? How does QNAP start emby? #!/bin/sh BASEPATH=/mnt/HDA_ROOT/.config/QcloudSSLCertificate/cert /etc/init.d/emby-server.sh stop /usr/bin/openssl pkcs12 -export -out /share/System/Certificate/EmbyCert.pfx -inkey ${BASEPATH}/key -in ${BASEPATH}/cert -certfile ${BASEPATH}/chain -password pass: /etc/init.d/emby-server.sh start Last lines printed by the console: EmbyServer/bin/ffmpeg -ffprobe /share/CACHEDEV1_DATA/.qpkg/EmbyServer/bin/ffprobe -defaultdirectory /share/CACHEDEV1_DATA -updatepackage emby-server-qnap_{version}_x86_64.qpkg Operating system: Unix 4.2.8.0 64-Bit OS: True 64-Bit Process: True User Interactive: True Processor count: 4 Program data path: /share/CACHEDEV1_DATA/.qpkg/EmbyServer/programdata Application directory: /share/CACHEDEV1_DATA/.qpkg/EmbyServer/system Info Main: Exiting because another instance is already running. --- End breadcrumb write 0 1
Luke 42077 Posted February 3, 2018 Author Posted February 3, 2018 Maybe you're making this overly complex. Perhaps just have your script update the pfx and then set yourself a reminder to restart the server.
syplex 4 Posted February 5, 2018 Posted February 5, 2018 @@Vidarr, @@syplex, have you been able to test https with the latest update? thanks ! Luke, so far so good. I haven't seen a crash yet. I am still seeing the stuttering video I mentioned on 18 December on several of my videos.
Vidarr 9 Posted February 5, 2018 Posted February 5, 2018 @@Luke Sorry couldn't test before. It's running atm on my server i'll keep you updated if it's going yolo again.
somy 25 Posted February 5, 2018 Posted February 5, 2018 Maybe you're making this overly complex. Perhaps just have your script update the pfx and then set yourself a reminder to restart the server. Managed to get it work after restarting QNAP - problem was stop command couldn't kill the pid for some reason, after restarting the issue is gone! Only one remaining issue: when I open emby via HTTPS, it asks me for client certificate for authentication. Any idea how to turn off that? Thanks in advance!
Vidarr 9 Posted February 5, 2018 Posted February 5, 2018 (edited) @@somy how your final script look like (i get the same error to stop emby server) ? i guess you use a crontab to do the job ? Edited February 5, 2018 by Vidarr
somy 25 Posted February 5, 2018 Posted February 5, 2018 @@somy how your final script look like (i get the same error to stop emby server) ? i guess you use a crontab to do the job ? Yes I made a cron job. Basically I followed this post: https://forums.plex.tv/discussion/255563/qnap-qts-4-3-use-built-in-lets-encrypt-certificate-process-with-plex-media-server Only change is the name of exported file (pfx instead of p12). If you provide password you need to configure the password in emby (the field below the cert path).
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now