Plesk

How to enable / disable autoupdates in Plesk?

Question

How to enable/disable auto-updates in Plesk?

Answer

  1. Log in to the Plesk interface.

  2. Go to Tools & Settings > Update Settings.

  3. Enable or disable the following options and click OK or Apply to save the changes:

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

Via CLI

  1. Connect to the server using SSH or RDP.

  2. In Windows, start a command prompt as Administrator.

  3. Execute the following commands to enable corresponding settings:

    Note: If it is required to disable an option, use false value instead of true

    • 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';"

Additional Information

Plesk Obsidian Administrator Guide: Plesk Updates

Exit mobile version