Plesk

Plesk Obsidian shows the following error after installation: failed to create file via template ‘/etc/nginx/plesk.conf.d/server.conf.XXXXXX

Symptoms

Cause

Plesk fails to generate configuration files if nginx was installed before Plesk.

This has been reported as bug ID PPPM-11215 which will be fixed in future updates.

Resolution

  1. Connect to the server via SSH.

  2. Reinstall Plesk nginx package:

    # dpkg --force-confmiss -i /var/cache/apt/archives/sw-nginx*

  3. Disable/enable Nginx to rebuild configuration files:

    # plesk sbin nginxmng -d
    # plesk sbin nginxmng -e

Exit mobile version