• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Need to regenerate subscriptions

XAMeLeOH

New Pleskian
Good day people!

My directory /var/www was deleted by accident. Is there a way to regenerate all subscription files? I know this action won't recovery my data. All I want is fresh subscriptions.

Thank you.
 
Backup/restore can help.

* Create vhosts directory:
# mkdir -p /var/www/vhosts

* Backup a subscription in Plesk (Domain configuration and content)
* Restore the data from backup

Site directory will be created.
 
Unfortunately doesn't work

In my test I upgraded Plesk to last 11.5.30 version right after deleting /var/www.
Without Plesk upgrade after removing /var/www (for Debian or Ubuntu):

# dpkg-reconfigure psa-vhost
# /usr/local/psa/bootstrapper/pp11.5.30-bootstrapper/bootstrapper.sh repair
# /usr/local/psa/admin/sbin/httpdmng --reconfigure-server
# mkdir /var/www/vhosts/system

Then domain directory can be created using the following KB article:
http://kb.parallels.com/en/115454

# wget http://kb.parallels.com/Attachments/23464/Attachments/recover_plesk_directories.zip
# unzip recover_plesk_directories.zip
# bash recover_plesk_directories.sh domain.tld
 
Last edited:
Back
Top