Giter VIP home page Giter VIP logo

Comments (6)

jpmckinney avatar jpmckinney commented on August 23, 2024

To find Ubuntu 16 servers, see https://ocdsdeploy.readthedocs.io/en/latest/how-to/maintain.html#upgrade-ubuntu

from deploy.

jpmckinney avatar jpmckinney commented on August 23, 2024

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.

jpmckinney avatar jpmckinney commented on August 23, 2024

Switched to mod_md in 73b12a7 Very clean now!

from deploy.

jpmckinney avatar jpmckinney commented on August 23, 2024

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.

jpmckinney avatar jpmckinney commented on August 23, 2024

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.

jpmckinney avatar jpmckinney commented on August 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.