• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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