↑ ↓ select, Enter open, Esc close

#update

11 one-liners with this tag.

All one-liners tagged update

Check the Plesk installer log after a failed update

#tail -n 100 /var/log/plesk/install/autoinstaller3.log
harmlessPlesk

Enable automatic updates for a plugin

$wp plugin auto-updates enable wordfence --path=/var/www/vhosts/example.com/httpdocs
cautionWP-CLI

Install a specific WordPress core version

$wp core update --version=6.6.2 --force --path=/var/www/vhosts/example.com/httpdocs
cautionWP-CLI

Install Plesk updates from the command line

#plesk installer update
cautionPlesk

List installed plugins with status and updates

$wp plugin list --fields=name,status,version,update_version --path=/var/www/vhosts/example.com/httpdocs
harmlessWP-CLI

List installed themes with status and updates

$wp theme list --fields=name,status,version,update_version --path=/var/www/vhosts/example.com/httpdocs
harmlessWP-CLI

Roll back a plugin to a specific version

$wp plugin install contact-form-7 --version=5.9.8 --force --path=/var/www/vhosts/example.com/httpdocs
cautionWP-CLI

Turn WordPress maintenance mode on and off

$wp maintenance-mode activate --path=/var/www/vhosts/example.com/httpdocs
cautionWP-CLI

Update all WordPress plugins at once

$wp plugin update --all --path=/var/www/vhosts/example.com/httpdocs
cautionWP-CLI

Update Docker Compose images and recreate containers

#docker compose -f /opt/app/compose.yaml pull && docker compose -f /opt/app/compose.yaml up -d
cautionDocker

Update WordPress core including the database

$wp core update --path=/var/www/vhosts/example.com/httpdocs && wp core update-db --path=/var/www/vhosts/example.com/httpdocs
cautionWP-CLI

Read first, then run.

The commands on myline.de act directly on servers, files and databases. A wrong path or placeholder can delete data irreversibly or make a server unreachable.

  • All commands are provided without warranty and are not tested on every system.
  • Understand what a command does before running it, and check every placeholder.
  • Make a backup first and, if possible, try it on a test system.
  • You run commands at your own risk. Liability for damages is excluded to the extent permitted by law.