Comments (6)
To find Ubuntu 16 servers, see https://ocdsdeploy.readthedocs.io/en/latest/how-to/maintain.html#upgrade-ubuntu
from deploy.
For now, we can actually use grains, so that when the Ubuntu 16 servers go, we can just delete one side of an if-else-statement.
from deploy.
Switched to mod_md
in 73b12a7 Very clean now!
from deploy.
To deploy to servers, need to:
- cron.absent: identifier: letsencrypt-renew
- ./run.py '*' cmd.run 'ls -AR /var/www/html/.well-known'
- ./run.py '*' pkg.remove letsencrypt
- ./run.py '*' file.remove /var/www/html/.well-known
from deploy.
For existing servers, also had to do
# Run pkgrepo.managed
./run.py -L 'cove-oc4ids,cove-ocds,docs,kingfisher-process,prometheus,redash,toucan' state.sls_id apache2 apache
# Re-install apache2
./run.py -L 'cove-oc4ids,cove-ocds,docs,kingfisher-process,prometheus,redash,toucan' pkg.install apache2 refresh=True
then deploy.
Update: There were errors in /var/log/apache2/error.log:
AH01882: Init: this version of mod_ssl was compiled against a newer library (OpenSSL 1.1.1g 21 Apr 2020, version currently loaded is OpenSSL 1.1.1 11 Sep 2018) - may result in undefined or erroneous behavior
I tried:
# `openssl version` reports 1.1.1g
./run.py -L 'cove-oc4ids,cove-ocds,docs,kingfisher-process,prometheus,redash,toucan' pkg.install openssl refresh=True
# This was the trick!
./run.py -L 'cove-oc4ids,cove-ocds,docs,kingfisher-process,prometheus,redash,toucan' pkg.install libssl1.1 refresh=True
# Not sure if this was necessary.
./run.py -L 'cove-oc4ids,cove-ocds,docs,kingfisher-process,prometheus,redash,toucan' pkg.install apache2 reinstall=True
# To see if message persists.
./run.py -L 'cove-oc4ids,cove-ocds,docs,kingfisher-process,prometheus,redash,toucan' service.restart apache2
from deploy.
Also, HTTP doesn't seem to be redirecting to HTTPS.
Update: Apparently, MDRequireHttps requires a virtual host on port 80.
from deploy.
Related Issues (20)
- Merge downtime protocol into documentation HOT 2
- Registry: Consider increasing the log level for expected exceptions in various components
- RabbitMQ: Create application-specific users to correlate connections with applications
- Kingfisher personal SQL user account HOT 2
- Linode IPv6 process changes documentation HOT 3
- Update various documentation as Linode transitions to Akamai Connected Cloud
- Messages still being sent to Open Data Services Coop
- Upgrade RabbitMQ
- Kingfisher personal SQL user account HOT 3
- PostgreSQL backups (ocp13, ocp14, ocp24)
- Credere staging server
- RabbitMQ upgrade HOT 2
- Use ed25519 or rsa for SSH keys HOT 3
- Coalition (ocp21) MySQL and Site backups HOT 1
- Update create server process to not add port knocking if Docker to be added later HOT 2
- Add WordPress auto-update script
- Update documentation for "one dir" Salt HOT 3
- Put Apache (ProxyPass) in front of RabbitMQ's management interface HOT 1
- Implement retention policy for Kingfisher Process v2
- include isn't working with Salt 3006 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deploy.