Submitted by dinis on Tue, 05/08/2018 - 15:03
debian 9, webmin 1.881 , virtualmin 6.03 . php 7.2 fpm
I installed the virtualmin LEMP, minimal version.
I am preparing the server instaling other components, made a few apt autoremove commands and noticed that the nginx server had stopped. It disappeared from the webmin servers' list and also from the virtualmin > features and plugins list. I reinstalled it via webmin > System > Software Packages and it is running but it keeps not showing neither on webmin nor on virtualmin.
Any idea on how to debug this and / or solve?
Best
Status:
Active
Comments
Submitted by JamieCameron on Wed, 05/09/2018 - 23:03 Comment #1
Did you perhaps uninstall Nginx?
Submitted by dinis on Thu, 05/10/2018 - 19:01 Comment #2
Hi. No. Actually I tried again everything from beginning and without any autoremove commands. Without any notice after a day working,nginx stopped again, went missing from webin / virtualmin and could not restart. for my project I am sticking to apache. It looked too unstable. But I kept the nginx server backup in the case I have the chance to revisit the issue. If you think there is something I can do to diagnose.... Best.
Submitted by JamieCameron on Fri, 05/11/2018 - 18:53 Comment #3
That's quite unusual. If you open the Nginx module at Webmin -> Servers -> Nginx Webserver, does it report any error message?
Submitted by dinis on Fri, 05/11/2018 - 19:22 Comment #4
HI Jamie. Part of the problem is that the nginx webserver disappears from there. It also disappears the nginx website (and respective ssl) from Virtualmin's Features and PlugIns. Also noted that, in Features and Plugins it shows the possibility to use Apache website (even though my set up had been LEMP and not LAMP).
Submitted by JamieCameron on Sat, 05/12/2018 - 13:26 Comment #5
Check under the "Un-used modules" category to see if Nginx shows up there.
Submitted by dinis on Sun, 05/13/2018 - 17:34 Comment #6
Hi. No. Nginx doesn't show there.
Submitted by JamieCameron on Mon, 05/14/2018 - 23:14 Comment #7
Does the directory
/usr/share/webmin/virtualmin-nginx
exist?Submitted by dinis on Tue, 05/15/2018 - 03:01 Comment #8
no.
Submitted by dinis on Thu, 05/17/2018 - 03:52 Comment #9
another info I just found ... I have a few backup versions so, I just tried an older one and I am quite convinced that behaviour happens after allowing the updates of linux-image-4.9.0-6-amd64 and another linux library These packages require a reboot and after reboot you loose nginx.
Submitted by dinis on Wed, 05/23/2018 - 06:09 Comment #10
Hi Jamie,
Were you able to replicate this? Or might this be just some misconfiguration on my box?
Best,
Dinis
Submitted by JamieCameron on Sat, 05/26/2018 - 00:22 Comment #11
It looks like Virtualmin's Nginx module was un-installed! Can you try running
apt-get install webmin-virtualmin-nginx
?Submitted by dinis on Tue, 05/29/2018 - 06:07 Comment #12
it installed nginx.
I also updated webmin to 1.883 and virtualmin-config to 6.0.22
Nginx now shows in The webmin server's list and also in Virtualmin's Features and PlugIns tick list.
However, in Virtualmin's Features and PlugIn, it doesn't show any option for Nginx SSL. There is a SSL option but when I select it says it requires Apache (even though I did not install the apache version.
Submitted by JamieCameron on Tue, 05/29/2018 - 21:00 Comment #13
Try also running
apt-get install webmin-virtualmin-nginx-ssl
Submitted by dinis on Wed, 05/30/2018 - 15:50 Comment #14
It installs ssl server, yes.
But, did you replicate the nginx loss while upgrading the linux-image-4.9.0-6-amd64 ? Did you make patch for it?
BR
Submitted by JamieCameron on Thu, 05/31/2018 - 00:42 Comment #15
No, I wasn't able to re-produce this.