Articles in this section

How to enable / disable autoupdates in Plesk?

Plesk for Windows kb: how-to Plesk for Linux

Applicable to:

  • Plesk for Linux
  • Plesk for Windows

Question

How to enable/disable auto-updates in Plesk?

Answer

Plesk for Linux
  1. Log into Plesk
  2. Go to Tools & Settings > Update Settings
  3. Enable or disable the following options as your preferences:

  4. Click Ok

Via CLI
  1. Connect to the server via SSH
  2. Execute the following commands to enable/disable corresponding settings:
    • Automatically install Plesk updates (Recommended)

      # plesk bin server_pref -u -autoupdates true

    • Automatically install updates for third-party components shipped by Plesk

      # plesk bin server_pref -u -autoupdates-third-party true

    • Automatically install system package updates

      # plesk db "INSERT INTO misc(param, val) VALUES('automaticSystemPackageUpdates', 'true') ON DUPLICATE KEY UPDATE val = 'true';"

    • Enable safe updates for system packages

      # plesk db "INSERT INTO misc(param, val) VALUES('systemPackageUpdatesSafeOnly', 'true') ON DUPLICATE KEY UPDATE val = 'true';"

Plesk for Windows

Note: In Plesk for Windows, there is no option to enable/disable updates for third-party components separately.

  1. Log into Plesk
  2. Go to Tools & Settings > Update Settings
  3. Enable or disable the following options as your preferences:

  4. Click Ok

Via CLI
  1. Connect to the server via RDP
  2. Start a command prompt as Administrator.
  3. Automatically install Plesk updates (Recommended)

    C:\> plesk bin server_pref -u -autoupdates true

Additional Information

Plesk Obsidian Administrator Guide: Plesk Updates

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.