server/lib/classes/cron.d/900-letsencrypt.inc.php
@@ -36,7 +36,7 @@ public function onRunJob() { global $app, $conf; $letsencrypt = array_shift( explode("\n", $this->_exec('which letsencrypt certbot /root/.local/share/letsencrypt/bin/letsencrypt')) ); $letsencrypt = array_shift( explode("\n", shell_exec('which letsencrypt certbot /root/.local/share/letsencrypt/bin/letsencrypt')) ); if(is_executable($letsencrypt)) { $version = trim(exec($letsencrypt . ' --version 2>/dev/null')); if(preg_match('/^(\S+)\s+(\d+(\.\d+)+)$/', $version, $matches)) {