It’s something to do with letsencrypt. my cert expired and it’s trying to put it all into another directory with the same dns location but appended with -0001
walking through the letsencrypt script now to figure out all the .config stuff that I need to review. any suggestions on where to go from here?
PHP services are working now, but ncp-update is still throwing errors. It was something with letsencrypt. is spelled my username wrong and notifications were not being pushed to me that there were SSL renewal errors.
Just had to adjust some .config files, restart apache2 and php7.2. Back up and running now but still getting these damn errors when executing sudo ncp-update. Looking at the script that is giving me the errors, it still has something to do with Letsencrypt ==> line 222 of update.sh.
I’ve checked /usr/local/etc/ncp-config.d/letsencrypt.cfg and everything looks fine.
my letsencrypt.cfg settings
{
“id”: “letsencrypt”,
“name”: “Let’s Encrypt, Automatic signed SSL certificates”,
“title”: “letsencrypt”,
“description”: “Automatic signed SSL certificates. Let’s Encrypt is a free, automated, and open Certificate Authority.”,
“info”: "Internet access is required for this configuration to complete\nBoth ports 80 and 443 need to be accessible from the internet\n\nYour certificate will be automaticall$
“infotitle”: “Warning”,
“params”: [
{
“id”: “DOMAIN”,
“name”: “Domain”,
“value”: “something.something.org”,
“suggest”: “mycloud.ownyourbits.com”
},
{
“id”: “EMAIL”,
“name”: “Email”,
“value”: “something@protonmail.com”,
“suggest”: “mycloud@ownyourbits.com”
},
{
“id”: “NOTIFYUSER”,
“name”: “Notify user”,
“value”: “matthew_nelson”,
“suggest”: “ncp”
}
]
}
when I go to /usr/local/etc/ncp-config.d and run line 223 of the script, it comes back with:
● php7.2-fpm.service - The PHP 7.2 FastCGI Process Manager
Loaded: loaded (/lib/systemd/system/php7.2-fpm.service; enabled; vendor preset: enabled)
Active: failed (Result: timeout) since Sat 2019-03-30 23:27:25 UTC; 6min ago
Docs: man:php-fpm7.2(8)
Process: 443 ExecStart=/usr/sbin/php-fpm7.2 --nodaemonize --fpm-config /etc/php/7.2/fpm/php-fpm.conf (code=killed, signal=TERM)
Main PID: 443 (code=killed, signal=TERM)
Mar 30 23:25:35 nextcloudpi systemd[1]: Starting The PHP 7.2 FastCGI Process Manager…
Mar 30 23:27:25 nextcloudpi systemd[1]: php7.2-fpm.service: Start operation timed out. Terminating.
Mar 30 23:27:25 nextcloudpi systemd[1]: Failed to start The PHP 7.2 FastCGI Process Manager.
Mar 30 23:27:25 nextcloudpi systemd[1]: php7.2-fpm.service: Unit entered failed state.
Mar 30 23:27:25 nextcloudpi systemd[1]: php7.2-fpm.service: Failed with result ‘timeout’.