Hi Since today and the new update of lets encrypt : app-lets-encrypt-core-1.10.8-1.v7 app-lets-encrypt-1.10.8-1.v7 we have now a blank page in Webconfig (security/letsencrypt) :. Seems this is a syntax error in /usr/clearos/apps/lets_encrypt/libraries/Lets_Encrypt.php PHP Parse error: syntax error, unexpected ''--max-log-backups'' (T_CONSTANT_ENCAPSED_STRING) in /usr/clearos/apps/lets_encrypt/libraries/Lets_Encrypt.php on line 255
Any one got a quick fix, sure i could test because seems it's '' or "" missing but i don't want to break more things.
Thanks
BR Vince
Any one got a quick fix, sure i could test because seems it's '' or "" missing but i don't want to break more things.
Thanks
BR Vince
Share this post:
Responses (2)
-
Accepted Answer
I've deleted your other post - new posters ave their first couple of posts moderated so they don't appear immediately.
Thanks for the report. It was my fault and I have responded to your ticket.
For anyone else bumping into this, on line 255 of /usr/clearos/apps/lets_encrypt/libraries/Lets_Encrypt.php, please change:
$shell->execute(self::COMMAND_CERTBOT, 'delete --cert-name ' . $name ' --max-log-backups ' . $this->max_logs, TRUE);
to:
$shell->execute(self::COMMAND_CERTBOT, 'delete --cert-name ' . $name . ' --max-log-backups ' . $this->max_logs, TRUE);
Then refresh the page.
I've just released 1.10.10 with a fix, but it may take up to a couple of hours to sync. Once it is in the mirror that your system uses, you will be able to update to it just with:
It has already sync'd to the New York and San Francisco mirrors.yum clean all && yum update app-lets-encrypt
[edit]
Posts crossed.
Also I've tidied up the repeat posts.
[/edit] -
Accepted Answer
Solved !
If you want to fix it your self today,. on line 255 of /usr/clearos/apps/lets_encrypt/libraries/Lets_Encrypt.php, please change:
$shell->execute(self::COMMAND_CERTBOT, 'delete --cert-name ' . $name ' --max-log-backups ' . $this->max_logs, TRUE);
to
$shell->execute(self::COMMAND_CERTBOT, 'delete --cert-name ' . $name . ' --max-log-backups ' . $this->max_logs, TRUE);
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »