Replies: 1 comment 2 replies
-
same error we got here, any solution from expert? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all, little bit of a newbie to NPM. Need a little assistance.
I am trying to register a DNS record for my nexcloud instance. This in itself works fine. However,
when I set up to request a certificate for lets encrypt it sais "internal error".
Looking at the logs it is bringing up the following information. Is anyone able to assist.
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org/. See the logfile /tmp/letsencrypt-log/letsencrypt.log or re-run Certbot with -v for more details.
[5/16/2024] [8:58:00 AM] [SSL ] › ℹ info Testing http challenge for NEXTCLOUD.MYDOMAIN
[5/16/2024] [8:58:11 AM] [SSL ] › ℹ info HTTP challenge test failed for domain NEXTCLOUD.MYDOMAIN because error was returned: Invalid domain or IP
[5/16/2024] [8:59:15 AM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -t -g "error_log off;"
[5/16/2024] [8:59:15 AM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/6.conf
[5/16/2024] [8:59:15 AM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -t -g "error_log off;"
[5/16/2024] [8:59:15 AM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -t -g "error_log off;"
[5/16/2024] [8:59:15 AM] [Nginx ] › ℹ info Reloading Nginx
[5/16/2024] [8:59:15 AM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -s reload
[5/16/2024] [8:59:36 AM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/default_host/site.conf
[5/16/2024] [8:59:36 AM] [Nginx ] › ⬤ debug Could not delete file: {
"errno": -2,
"code": "ENOENT",
"syscall": "unlink",
"path": "/data/nginx/default_host/site.conf"
}
[5/16/2024] [8:59:36 AM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -t -g "error_log off;"
[5/16/2024] [8:59:36 AM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -t -g "error_log off;"
[5/16/2024] [8:59:36 AM] [Nginx ] › ℹ info Reloading Nginx
[5/16/2024] [8:59:36 AM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -s reload
[5/16/2024] [9:00:48 AM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/6.conf
[5/16/2024] [9:00:48 AM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/6.conf.err
[5/16/2024] [9:00:48 AM] [Nginx ] › ⬤ debug Could not delete file: {
"errno": -2,
"code": "ENOENT",
"syscall": "unlink",
"path": "/data/nginx/proxy_host/6.conf.err"
}
[5/16/2024] [9:00:48 AM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -t -g "error_log off;"
[5/16/2024] [9:00:48 AM] [Nginx ] › ℹ info Reloading Nginx
[5/16/2024] [9:00:48 AM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -s reload
[5/16/2024] [9:00:53 AM] [SSL ] › ℹ info Requesting Let'sEncrypt certificates for Cert #62: NEXTCLOUD.MYDOMAIN
[5/16/2024] [9:00:53 AM] [SSL ] › ℹ info Command: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-62" --agree-tos --authenticator webroot --email "[email protected]" --preferred-challenges "dns,http" --domains "NEXTCLOUD.MYDOMAIN"
[5/16/2024] [9:00:53 AM] [Global ] › ⬤ debug CMD: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-62" --agree-tos --authenticator webroot --email "[email protected]" --preferred-challenges "dns,http" --domains "NEXTCLOUD.MYDOMAIN"
[5/16/2024] [9:01:07 AM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/temp/letsencrypt_62.conf
[5/16/2024] [9:01:07 AM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -t -g "error_log off;"
[5/16/2024] [9:01:07 AM] [Nginx ] › ℹ info Reloading Nginx
[5/16/2024] [9:01:07 AM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -s reload
[5/16/2024] [9:01:08 AM] [Express ] › ⚠ warning Saving debug log to /tmp/letsencrypt-log/letsencrypt.log
I am relatively new to NPM and still learning when it comes to networks etc.
I have setup my public DNS through clouddns.net.
I followed the guide from NPM and nothing has been deviated from the basic configuration.
I can click on the link in network proxy manager to go to my nextcloud server and all this works fine. it is the certificate errors that are getting to me.
Would anyone have any idea on where to look or what have I done wrong?
Beta Was this translation helpful? Give feedback.
All reactions