clpctl does not allow to renew SSL certs anymore #21

Closed
opened 2026-04-05 20:25:18 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @kimdre on 12/19/2025

CloudPanel version(s) affected

CloudPanel CLI 6.0.8 (env: prod, debug: false) #StandWithUkraine https://sf.to/ukraine

Description

The clpctl command does not provide any arguments anymore to renew lets encrypt certificates.
This fails the cronjobs, that are installed by cloudpanel to renew the SSL certs automatically:

How to reproduce

Run the renew commands from the cron file:

# /usr/bin/clpctl lets-encrypt:renew:certificate
{"message":"Error thrown while running command \"'lets-encrypt:renew:certificate'\". Message: \"There are no commands defined in the \"lets-encrypt:renew\" namespace.\n\nDid you mean one of these?\n    lets-encrypt\n    lets-encrypt:install\"","context":{"exception":{"class":"Symfony\\Component\\Console\\Exception\\NamespaceNotFoundException","message":"There are no commands defined in the \"lets-encrypt:renew\" namespace.\n\nDid you mean one of these?\n    lets-encrypt\n    lets-encrypt:install","code":0,"file":"/home/clp/htdocs/app/files/vendor/symfony/console/Application.php:613"},"command":"'lets-encrypt:renew:certificate'","message":"There are no commands defined in the \"lets-encrypt:renew\" namespace.\n\nDid you mean one of these?\n    lets-encrypt\n    lets-encrypt:install"},"level":500,"level_name":"CRITICAL","channel":"console","datetime":"2025-12-19T09:07:28.985930+00:00","extra":{}}


  There are no commands defined in the "lets-encrypt:renew" namespace.

  Did you mean one of these?
      lets-encrypt
      lets-encrypt:install


# /usr/bin/clpctl lets-encrypt:renew:custom-domain:certificate
{"message":"Error thrown while running command \"'lets-encrypt:renew:custom-domain:certificate'\". Message: \"There are no commands defined in the \"lets-encrypt:renew:custom-domain\" namespace.\"","context":{"exception":{"class":"Symfony\\Component\\Console\\Exception\\NamespaceNotFoundException","message":"There are no commands defined in the \"lets-encrypt:renew:custom-domain\" namespace.","code":0,"file":"/home/clp/htdocs/app/files/vendor/symfony/console/Application.php:613"},"command":"'lets-encrypt:renew:custom-domain:certificate'","message":"There are no commands defined in the \"lets-encrypt:renew:custom-domain\" namespace."},"level":500,"level_name":"CRITICAL","channel":"console","datetime":"2025-12-19T09:08:24.827782+00:00","extra":{}}


  There are no commands defined in the "lets-encrypt:renew:custom-domain" namespace.

Possible Solution

No response

Additional Context

This is the only available command

# clpctl
lets-encrypt
 clpctl lets-encrypt:install:certificate --domainName=www.domain.com --subjectAlternativeName=domain1.com,www.domain1.com

But the cloudpanel cron file contains these commands:

10 5 * * * clp /usr/bin/bash -c "/usr/bin/clpctl lets-encrypt:renew:custom-domain:certificate" &> /dev/null
15 5 * * * clp /usr/bin/bash -c "/usr/bin/clpctl lets-encrypt:renew:certificates" &> /dev/null
*Originally created by @kimdre on 12/19/2025* ### CloudPanel version(s) affected CloudPanel CLI 6.0.8 (env: prod, debug: false) #StandWithUkraine https://sf.to/ukraine ### Description The clpctl command does not provide any arguments anymore to renew lets encrypt certificates. This fails the cronjobs, that are installed by cloudpanel to renew the SSL certs automatically: ### How to reproduce Run the renew commands from the cron file: ```sh # /usr/bin/clpctl lets-encrypt:renew:certificate {"message":"Error thrown while running command \"'lets-encrypt:renew:certificate'\". Message: \"There are no commands defined in the \"lets-encrypt:renew\" namespace.\n\nDid you mean one of these?\n lets-encrypt\n lets-encrypt:install\"","context":{"exception":{"class":"Symfony\\Component\\Console\\Exception\\NamespaceNotFoundException","message":"There are no commands defined in the \"lets-encrypt:renew\" namespace.\n\nDid you mean one of these?\n lets-encrypt\n lets-encrypt:install","code":0,"file":"/home/clp/htdocs/app/files/vendor/symfony/console/Application.php:613"},"command":"'lets-encrypt:renew:certificate'","message":"There are no commands defined in the \"lets-encrypt:renew\" namespace.\n\nDid you mean one of these?\n lets-encrypt\n lets-encrypt:install"},"level":500,"level_name":"CRITICAL","channel":"console","datetime":"2025-12-19T09:07:28.985930+00:00","extra":{}} There are no commands defined in the "lets-encrypt:renew" namespace. Did you mean one of these? lets-encrypt lets-encrypt:install # /usr/bin/clpctl lets-encrypt:renew:custom-domain:certificate {"message":"Error thrown while running command \"'lets-encrypt:renew:custom-domain:certificate'\". Message: \"There are no commands defined in the \"lets-encrypt:renew:custom-domain\" namespace.\"","context":{"exception":{"class":"Symfony\\Component\\Console\\Exception\\NamespaceNotFoundException","message":"There are no commands defined in the \"lets-encrypt:renew:custom-domain\" namespace.","code":0,"file":"/home/clp/htdocs/app/files/vendor/symfony/console/Application.php:613"},"command":"'lets-encrypt:renew:custom-domain:certificate'","message":"There are no commands defined in the \"lets-encrypt:renew:custom-domain\" namespace."},"level":500,"level_name":"CRITICAL","channel":"console","datetime":"2025-12-19T09:08:24.827782+00:00","extra":{}} There are no commands defined in the "lets-encrypt:renew:custom-domain" namespace. ``` ### Possible Solution _No response_ ### Additional Context This is the only available command ```sh # clpctl lets-encrypt clpctl lets-encrypt:install:certificate --domainName=www.domain.com --subjectAlternativeName=domain1.com,www.domain1.com ``` But the cloudpanel cron file contains these commands: ```sh 10 5 * * * clp /usr/bin/bash -c "/usr/bin/clpctl lets-encrypt:renew:custom-domain:certificate" &> /dev/null 15 5 * * * clp /usr/bin/bash -c "/usr/bin/clpctl lets-encrypt:renew:certificates" &> /dev/null ```
MrUnknownDE added the feedback needed label 2026-04-05 20:25:18 +02:00
Sign in to join this conversation.