Cannot Execute Your Request /usr/local/bin/lego is required, exiting...

triharda

Verified User
Joined
Oct 6, 2019
Messages
13
Location
Indonesia
Hi,

After update Let's encrypt, I found error message:

Cannot Execute Your Request /usr/local/bin/lego is required, exiting...

Note:
Let's encrypt client 2.0.1 has been installed.

Has anyone have some problem but fixed?

thanks
 
Hi;

Same problem here, on all servers with DirectAdmin.
We don't know how to solve it or the cause of this happening.

Thanks!
 
Did you run “./build letsencrypt” to update it? Please try "./build lego" to solve it.
 
I've noticed a place in CustomBuild where might it not install it automatically and fixed it already in latest release, thank you for the reports.
 
./build lego didn't work through Terminal. Ran Build Lego through Custom Build at it did work.
 
./build lego didn't work through Terminal. Ran Build Lego through Custom Build at it did work.
Thta is weird , we always doing by terminal never had problems , you did this ?
Code:
cd /usr/local/directadmin/custombuild
./build update
./build lego
 
Yep. That worked. Should I manually try to renew the failed certs or is this done automatically even for the already failed domains?
Done automatically, unless set otherwise.
 
Centos6, directadmin: v.1.643
I did this:
cd /usr/local/directadmin/custombuild
./build update
./build lego

but, error: is not supported by DirectAdmin anymore
can you help me?
Thanks
 

Attachments

  • 1111.PNG
    1111.PNG
    11.8 KB · Views: 6
Custombuild is now bundled with DirectAdmin, so you should first update DirectAdmin then you can update with custombuild. I think it was still mentioned recently that there still was a compatible update that will still work with Centos 6 even though it's EOL, you should really think about upgrade of your OS some time.
 
Even if you can manage to update DA , CB wont work on Centos 6 because its EOL so you cant issue CB commands
 
Back
Top