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

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