diff --git a/src/system.js b/src/system.js index 0d5702795..281f69a33 100644 --- a/src/system.js +++ b/src/system.js @@ -362,10 +362,10 @@ async function getUbuntuVersion() { } async function checkUbuntuVersion() { - const isXenial = fs.readFileSync('/etc/lsb-release', 'utf-8').includes('16.04'); - if (!isXenial) return; + const isBionic = fs.readFileSync('/etc/lsb-release', 'utf-8').includes('18.04'); + if (!isBionic) return; - await notifications.alert(notifications.ALERT_UPDATE_UBUNTU, 'Ubuntu upgrade required', 'Ubuntu 16.04 has reached end of life and will not receive security and maintenance updates. Please follow https://docs.cloudron.io/guides/upgrade-ubuntu-18/ to upgrade to Ubuntu 18 at the earliest.', { persist: true }); + await notifications.alert(notifications.ALERT_UPDATE_UBUNTU, 'Ubuntu upgrade required', 'Ubuntu 18.04 has reached end of life and will not receive security and maintenance updates. Please follow https://docs.cloudron.io/guides/upgrade-ubuntu-20/ to upgrade to Ubuntu 18 at the earliest.', { persist: true }); } async function runSystemChecks() {