sudo -H bench setup lets-encrypt mycompany.com when I run this command this will generate sudo: bench: Command not found… any help please?
You need to be in /home/frappe/frappe-bench to run bench commands. Running it in dir above with give lots of errors.
Otherwise run man bench or bench -h in case the command has changed at all.
I run this command under your mentioned directory and got this error which I mentioned. I followed the post How to make HTTPS for my ERPNext? where I found these commands to make ssl secured site of ERPNext.
did you solve this Problem @Saeed_Murrad ? if so, please kindly post the solution which worked for you for others facing the same issue.