mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2020-04-30
This commit is contained in:
@ -457,4 +457,21 @@ $ curl -s "http://localhost:8081/solr/statistics/update?softCommit=true" -H "Con
|
||||
- Quoting them works for now until I can look into it and handle it properly in the script
|
||||
- This was about 400,000 hits in total purged from the Solr statistics
|
||||
|
||||
## 2020-04-30
|
||||
|
||||
- The TLS certificates on DSpace Test (linode26) have not been renewing correctly
|
||||
- The log shows the message "No renewals were attempted"
|
||||
- The `certbot-auto certificates` command doesn't list the certificate I have installed
|
||||
- I guess this is because I copied it from the previous server...
|
||||
- I moved the Let's Encrypt directory, got a new cert, then revoked the old one:
|
||||
|
||||
```
|
||||
# mv /etc/letsencrypt /etc/letsencrypt.bak
|
||||
# /opt/certbot-auto certonly --standalone --email fu@m.com -d dspacetest.cgiar.org --standalone --pre-hook "/bin/systemctl stop nginx" --post-hook "/bin/systemctl start nginx"
|
||||
# /opt/certbot-auto revoke --cert-path /etc/letsencrypt.bak/live/dspacetest.cgiar.org/cert.pem
|
||||
# rm -rf /etc/letsencrypt.bak
|
||||
```
|
||||
|
||||
- Run all system updates on DSpace Test and reboot it
|
||||
|
||||
<!-- vim: set sw=2 ts=2: -->
|
||||
|
Reference in New Issue
Block a user