• 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.

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