Update README.md

This commit is contained in:
2025-02-23 16:10:24 +00:00
parent 69c8607a52
commit ea13054fed

View File

@@ -456,6 +456,9 @@ sudo docker-compose down # to destroy all the existing containers
sudo docker-compose up --force-recreate --build -d # to rebuild all the containers with the newest images
sudo docker-compose exec -u 1000 -it nextcloud php /var/www/html/occ upgrade -vvv # to run the upgrade script
sudo docker-compose exec -u 1000 -it nextcloud php /var/www/html/occ maintenance:mode --off # to turn the site back on
certbot certonly -d scarif.space,www.scarif.space,tower.scarif.space,labs.scarif.space,comms.scarif.space,office.scarif.space,rec.scarif.space,radio.scarif.space,intel.scarif.space --force-renewal
cp /etc/letsencrypt/live/scarif.space/privkey.pem /opt/ssl/scarif.space.key
cp /etc/letsencrypt/live/scarif.space/fullchain.pem /opt/ssl/scarif.space.crt
```
Provided that all went smoothly, you should do it all again if there are more major versions for nextcloud.