• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Resolved Every hour : Let's Encrypt ---> nginx error

MartinB

Basic Pleskian
Hello !

I found this in the log files of my domains :

2019-03-13 13:01:13 Error 66.133.109.36 404 GET /.well-known/acme-challenge/UAw5j6lApohnktTCkKqq1h-WaNZoItGjO0n2zM_TWJM HTTP/1.1 162 nginx-Zugriff
2019-03-13 13:01:13 Error 66.133.109.36 26275#0: *910 open() "/var/www/vhosts/default/htdocs/.well-known/acme-challenge/UAw5j6lApohnktTCkKqq1h-WaNZoItGjO0n2zM_TWJM" failed (2: No such file or directory) nginx-Fehler

This request comes every hour !!!

The first entry in log is from 2019-01-19 19:01:00 ...

So, what can I do ?!

Thanks for any help ...


Bye, Martin
 
Thanks for your feedback ...

... repairing runs without any error ... now reboot ...
... I hope this was it ... ;)

Bye, Martin
 
Seems certificate file for one of the domain is missing for some reasons. Try to find this domain and recreate this Let'sEncrypt certificate. Or try to renew certificates with

# /usr/local/psa/admin/bin/php -dauto_prepend_file=sdk.php '/usr/local/psa/admin/plib/modules/letsencrypt/scripts/renew.php'
 
@IgorG

Hm, after running your script, I got no error.
But in the log I can see this again :

2019-03-15 14:27:24 Error 66.133.109.36 404 GET /.well-known/acme-challenge/ncLA7aBtB0IibPFZrRkMgJlc_IrecAPS_lXC8jXm2wY HTTP/1.1 162 SSL/TLS-Zugriff für nginx
2019-03-15 14:27:24 Error 66.133.109.36 11230#0: *220 open() "/var/www/vhosts/default/htdocs/.well-known/acme-challenge/ncLA7aBtB0IibPFZrRkMgJlc_IrecAPS_lXC8jXm2wY" failed (2: No such file or directory) nginx-Fehler

I'm wondering, why no other user knows this problem !!!???


Bye, Martin
 
Just a random thought: Maybe you have a domain that has the default document root (/var/www/vhosts/default/htdocs) as document root?

You can check that with:
Code:
plesk db "SELECT name FROM domains d, hosting h WHERE h.www_root = '/var/www/vhosts/default/htdocs' AND h.dom_id = d.id"

Do you get any output from that command?
 
Last edited:
:oops::oops::oops::oops::oops:

It is possible, that I've found the problem :

In the meantime, I've deleted the "acme" folders und create them new,
but with the rights are set to " root " .... :confused::confused::confused::confused:

aaaaaaaaaaaaaaarrrrrrrrrrggggggggghhhhhh

o_O Martin
 
I solve the problem on my way :

All domains with these "acme" problem, are imported from another server via Plesk migration.
New (sub-)domains are without this problems !
So I deleted all "infected" ones, and create new ones ... until now, no more errors !

Bye, Martin
 
Back
Top