Nightreaver 1 Posted April 2 Share Posted April 2 (edited) Hello I recently updated the app from the Synology Package Store to the manual package installation. Before I used a script to update the emby certificate frequently. Today I noticed that the certificate was outdated and I got issues from the app. Beside some other issues, I found out that the command I used is not working anymore. As the final line in my script I use synoservicecfg --restart pkgctl-EmbyServer while the "--status" command works fine root@NAS:/var/services/homes/emby# synoservicecfg --status pkgctl-EmbyServer Service [pkgctl-EmbyServer] status=[enable] required upstart job: [pkgctl-EmbyServer] is start. ======================================= , reload/restart commands dont work anymore and produce no output (that can be normal), but I dont notice any "downtime" to I am sure that the service doesnt restart. Is there another option to restart emby or reload the certificate? And can the commands be fixed - just for sake of QOL or something? Edited April 2 by Nightreaver Link to post Share on other sites
Luke 26533 Posted April 3 Share Posted April 3 Hi, what certificate are you referring to, your SSL certificate? Link to post Share on other sites
Nightreaver 1 Posted April 4 Author Share Posted April 4 yes, sorry, the SSL certificate. Server > Network > Custom ssl certificate path I'm generating a certificate on my root server with letsencrypt, created a subdomain for my NAS. Grabbing the cert weekly from the root server and once the certificate was updated emby need to be restarted - or reloaded. this is currently not working anymore with the way described in OP Link to post Share on other sites
Luke 26533 Posted April 5 Share Posted April 5 Ok well, what exactly do you mean by it isn't working? Link to post Share on other sites
Nightreaver 1 Posted April 5 Author Share Posted April 5 Hey as I said, I have a scheduled task that is copying the the cert to the right folder. As second step I'm running "synoservicecfg --restart pkgctl-EmbyServer", before the switch to the manual install the command restarted emby properly. If I run the command now, nothing happens, and I cannot reload emby from console any other way - afaik. So, the SSL certificate will not be updated until I manually restart emby and I cannot do that with cron job anymore. currently on emby 4.5.4.0 Link to post Share on other sites
Luke 26533 Posted Tuesday at 06:42 PM Share Posted Tuesday at 06:42 PM If you run that from a terminal do you get any kind of error message? Link to post Share on other sites
Nightreaver 1 Posted Tuesday at 07:35 PM Author Share Posted Tuesday at 07:35 PM (edited) no, just nothing happens EDIT: I have seen some output in the logs 2021-04-07 02:03:50.353 Info Server: Stopping HttpListener... 2021-04-07 02:03:50.386 Info Server: HttpListener stopped 2021-04-07 02:03:50.386 Info App: Disposing CoreAppHost but that doesnt really start whole emby or is helpful with reloading the SSL certificate Edited Wednesday at 12:06 AM by Nightreaver Link to post Share on other sites
Luke 26533 Posted Wednesday at 05:07 PM Share Posted Wednesday at 05:07 PM So it does shut down? Link to post Share on other sites
Nightreaver 1 Posted Wednesday at 08:12 PM Author Share Posted Wednesday at 08:12 PM no it doesn't shut down, only the http listener is restarting? Emby itself stays up, there is no "please wait emby is starting" message. And as I said, it doesnt reload the SSL cert when its "restarting" Link to post Share on other sites
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