I went through the entire guide (so awesome) and got
almost everything working. I have a few questions though.
First question:
Like others, I had to do the certbot standalone fix to get the certificate files so that apache would start correctly (it started, but there was the error about the missing pem files). Now that it's working correctly, I want a "real" certificate. Is there a way I can force the renewal? I tried:
/usr/local/bin/certbot renew
But it says the certificate isn't up for renewal until July and then it doesn't do the renewal. I don't want to wait until July.
Second question:
Speaking of certificate renewal... the guide shows adding a cron job like so:
* 1 * * 1 ./usr/local/bin/certbot renew --quiet
Is that right? Should there be a dot at the front of the certbot path?
Third question:
In my Nextcloud settings it says "No memory cache has been configured..." I followed the steps in the guide, under "Let's Cache!!!" I didn't see any errors while doing it, however there's the part in the guide "then execute the following commands:" I didn't do any of those commands. I installed php 7.2. Is that correct that I don't do anything else? It says "for php 7.0 and php 7.1" and then further "Additional steps for php 7.1" Nothing for 7.2?
Last question:
This part of the guide:
I don't know what the below command does but it works:
nano /etc/make.conf
Then add to the 2nd line of the file
DEFAULT_VERSIONS+=php7.0
There was no /etc/make.conf file. I made one, but it's weird that I'm then supposed to put the text on the
2nd line of the empty file. I think somebody mentioned that it was really supposed to be
/usr/local/etc/apache24/httpd.conf, not /etc/make.conf. But putting "DEFAULT_VERSIONS+=php7.0" as the second line in that file (also weird - there's a giant block comment at the start of that file) results in syntax error.
My question is: what is the deal with this step of the guide? What's it for? "I don't know what the below command does but it works" What works? Something wasn't working and this fixes it? What didn't work without doing this? This has something to do with SSL?