I'm trying to renew my certificate via dietpi-launcher and getting the following error:
Attempting to renew cert from /etc/letsencrypt/renewal/XXXXXX.duckdns.org.conf produced an unexpected error: At least one of the required ports is already taken.. Skipping.
Full log att.
I usually do this once the certificate expires,I never used the auto renew. But this time I get this error. Any ideias?
I'm using lighttpd, port 80 and 443 are port forward.
tks
letsencrypt renew: Port 80 is already in use Topic is solved
-
- Posts: 39
- Joined: Thu Sep 05, 2019 10:26 am
Re: letsencrypt renew: Port 80 is already in use
Hi,
many thanks for your report.
There might be some stuck process from the past. pls try to reboot your system and rerun letsencrypt again.
many thanks for your report.
There might be some stuck process from the past. pls try to reboot your system and rerun letsencrypt again.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
-
- Posts: 39
- Joined: Thu Sep 05, 2019 10:26 am
Re: letsencrypt renew: Port 80 is already in use
Hi, thanks for the feedback. But same results after rebooting. in att full log
- Attachments
-
letsencrypt.7z
- (4.03 KiB) Downloaded 72 times
Re: letsencrypt renew: Port 80 is already in use
ok pls can you try to stop your web server first an than run letsencrypt again.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
-
- Posts: 39
- Joined: Thu Sep 05, 2019 10:26 am
Re: letsencrypt renew: Port 80 is already in use
It needs an webserver 

- Attachments
-
- error1.PNG (16.34 KiB) Viewed 6505 times
Re: letsencrypt renew: Port 80 is already in use
ok let's try this 
stop lighttpd first
and than try to renew the certificate

stop lighttpd first
Code: Select all
dietpi-services stop lighttpd
Code: Select all
certbot renew --standalone
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
-
- Posts: 39
- Joined: Thu Sep 05, 2019 10:26 am
Re: letsencrypt renew: Port 80 is already in use
Sucess
Thank you very much
What is the difference between
service lighttpd start - I used this one to stop it
and
dietpi-services stop lighttpd

What is the difference between
service lighttpd start - I used this one to stop it
and
dietpi-services stop lighttpd
-
- Posts: 39
- Joined: Thu Sep 05, 2019 10:26 am
Re: letsencrypt renew: Port 80 is already in use
Spoke to soon, now when trying to open something i got the error below. Do I need to do anything else?lanznaster wrote: ↑Sun Jan 19, 2020 8:12 pm SucessThank you very much
What is the difference between
service lighttpd start - I used this one to stop it
and
dietpi-services stop lighttpd
- Attachments
-
- error2.PNG (28.43 KiB) Viewed 6503 times
Re: letsencrypt renew: Port 80 is already in use
can you try to display/check the certificate, what the validation date is?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
-
- Posts: 39
- Joined: Thu Sep 05, 2019 10:26 am
Re: letsencrypt renew: Port 80 is already in use
Forgot to :
service lighttpd force-reload
Its working now
Thank you one more time
service lighttpd force-reload

Its working now
Thank you one more time
