Applicable to:
- Plesk for Linux
- Plesk for Windows
Question
How to enable/disable auto-updates in Plesk?
Answer
- Log into Plesk
- Go to Tools & Settings > Update Settings
-
Enable or disable the following options as your preferences:
- Click Ok
- Connect to the server via SSH
- 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';"
-
Note: In Plesk for Windows, there is no option to enable/disable updates for third-party components separately.
- Log into Plesk
- Go to Tools & Settings > Update Settings
-
Enable or disable the following options as your preferences:
- Click Ok
- Connect to the server via RDP
- Start a command prompt as Administrator.
-
Automatically install Plesk updates (Recommended)
C:\> plesk bin server_pref -u -autoupdates true
Comments
Please sign in to leave a comment.