-
Notifications
You must be signed in to change notification settings - Fork 132
Open
Labels
Description
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.comBut 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