[details=I am no longer able to access NC server. It appears the ssl certificate (letsencrypt) has been corrupted. I deleted all the certificates but certbot won’t issue new ones.
The letsencrypt log only has this:
“AH00112: Warning: DocumentRoot [/var/www/html] does not exist”
I’ve always used /var/www as the DocumentRoot in the past with no issue.
Any help would be greatly appreciated.]
Nextcloud version (eg, 20.0.5): latest
Operating system and version (eg, Ubuntu 20.04): debian 11
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.56
PHP version (eg, 7.4): 8.2
The issue you are facing:
I am not able to get the vps server to load in a browser.
Is this the first time you’ve seen this error? (Yes):
Steps to replicate it:
- Happens everytime
The output of your Nextcloud log in Admin > Logging:
cannot access
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
PASTE HERE
‘memcache.locking’ => ‘\OC\Memcache\Redis’,
‘redis’ =>
array (
‘host’ => ‘/var/run/redis/redis-server.sock’,
‘port’ => 0,
‘timeout’ => 0,
),
‘theme’ => ‘’,
‘loglevel’ => 2,
);
The output of your Apache/nginx/system log in /var/log/____
:
[Thu Oct 05 01:30:27.537226 2023] [ssl:emerg] [pid 761222] AH02312: Fatal error initialising mod_ssl, exiting.
AH00016: Configuration Failed
[Thu Oct 05 01:30:27.647866 2023] [ssl:emerg] [pid 761229] AH02572: Failed to configure at least one certificate and key for nc.mysite.com:443
[Thu Oct 05 01:30:27.647914 2023] [ssl:emerg] [pid 761229] SSL Library Error: error:140A80B1:SSL routines:SSL_CTX_check_private_key:no certificate assigned
[Thu Oct 05 01:30:27.647919 2023] [ssl:emerg] [pid 761229] AH02312: Fatal error initialising mod_ssl, exiting.
AH00016: Configuration Failed
[Thu Oct 05 03:20:52.808182 2023] [ssl:emerg] [pid 762263] AH02572: Failed to configure at least one certificate and key for nc.mysite.com:443
[Thu Oct 05 03:20:52.808228 2023] [ssl:emerg] [pid 762263] SSL Library Error: error:140A80B1:SSL routines:SSL_CTX_check_private_key:no certificate assigned
[Thu Oct 05 03:20:52.808232 2023] [ssl:emerg] [pid 762263] AH02312: Fatal error initialising mod_ssl, exiting.
AH00016: Configuration Failed
PASTE HERE
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.
PASTE HERE