• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

/etc/nginx/plesk.conf.d emptied during upgrade

TimReeves

Regular Pleskian
Hi,

I just upgraded 3 Servers from Plesk 11.5.30 to 12.0.18, with the following results:

  • A "virgin" Server: No problem
  • An older Server with Ubuntu 10.04: Various problems, needed help from my service provider
  • A newish Server with Ubuntu 12.04: Went fairly well, except...
That last server is running Nginx + PHP-FPM to execute PHP Websites. I admit that I have an unconventional way of doing things there: The "location" statement normally included by Plesk in Nginx-Config really does get in the way, it pre-empts other choices making it nigh impossible to create a good Nginx Config. So what I do is, I go to Web Server Settings and check "Process PHP by nginx", causing a file to be written to /etc/php5/fpm/pool.d for the domain. I then copy that file, in the same directory with "my_" prepended, then I uncheck "Process PHP by nginx" so that the Plesk-file is deleted and FPM restarted. Now I'm running with my Nginx-Config - which of course also now serves PHP scripts, but the way I want, coordinated with all my other Nginx-Config - and FPM.

I don't know whether my "special" way of doing things may be the problem, but after I had upgraded to Plesk 12, the symbolic links in the Nginx config directory /etc/nginx/plesk.conf.d had all vanished - you can imagine what THAT meant for my server. I got them to be regenerated by repeating the "check/uncheck" trick noted above, all was well... Until I did some other operation in Plesk - not sure which it was - and noticed that AGAIN that directory was empty. It has'nt happened since, and I have saved a copy of all the symlinks, in case it happens again. But it would be really nice if it just did'nt happen...

BTW In Plesk 11.5 the PHP-FPM Log was not being rotated and I had to create an own cron job to do that - can someone tell me if this is corrected in 12.0.18? Thanks!

Cheers,

Tim
 
Last edited:
Back
Top