• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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