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

Upgrade application(Wordpress) that is already installed into a subdomain to latest V

RobertNic

New Pleskian
Hello,

I am trying to create a bash script that will upgrade to the latest version an existing installed wordpress application from a subdomain /var/www/vhosts/domain.com/sub.domain.com/wordpress/
Does anyone know if this can be done via command line ( SSH ) ?

Also , I want to point out that I`ve looked at the documentation page regarding the command /usr/local/psa/bin/aps , if someone knows how to install an application to a subdomain (/var/www/vhosts/domain.com/sub.domain.com/wordpress/ ) usingg this command or something similar I would really appreciate an example on how to use that command to achieve my needs

Basically what i`m trying to do with this BASH script is to scan all hosted domains if they are using wordpress and if yes , install a fresh wordpress on my development subdomain with the name of that domain ex : /var/www/vhosts/mydomain.com/dev.mydomain.com/domainwithwordpress1.com , /var/www/vhosts/mydomain.com/dev.domain.com/domainwithwordpress2.com and then copy the wp-content/ folder from the hosted domainwithwordpress1.com and domainwithwordpress2.com to my development subdomain fresh installed wordpress and then clone the databases for each one of them .

All I need to do to my Bash script is to find a away to create a fresh install wordpress application to my development subdomain from the command line as I would do it from the web interface .

If anyone could help me with an exaple or what command exactly should I use in my bash script to install a "fresh" application to a subdomain I would appreciate it
 
Last edited:
Back
Top