How to check if a given PPA or repository is available

I am working on generating some auto install scripts that would work on different versions of Ubuntu. Therefore, I try to keep the add-apt-repository statements generic as seen below. add-apt-repository -y “deb http://archive.canonical.com/ $(lsb_release -sc) partner” add-apt-repository -y ppa:graphics-drivers However, as some repos don’t exist for certain versions, auto generated urls might lead to errors…

Details

Mismatched entity and/or field definitions after updating from drupal 8.6.10 to 8.7.10

I updated my site drupal 8.610 to 8.7.10 getting below error Entity/field definitions Mismatched entity and/or field definitions The following changes were detected in the entity type and field definitions. Consent Agreement The Consent Agreement entity type needs to be updated. The Language field needs to be installed. The Default translation field needs to be…

Details

How to have apache handle .well-known/acme-challenge and still have / passed to wsgi

In order to support automatic LetsEncrypt certificate renewal certbot uses the –apache handler. This handler installs a temporary VirtualHost for /.well-known/acme-challenege/ on the Apache server in order authenticate the renewal. The problem is that this mechanism does not work if the existing server uses HTTPS and Django over WSGI. The temporary VirtualHost fails to capture…

Details

ansible: handlers are skipped when playbook runs with tags

I have a playbook that I run tags “configure” and new configuration gets copied and I see the changed status in the playbook logs but finally handlers are skipped so my new configuration is not loaded playbook log TASK [my-server : Validate and copy config] ******** changed: [server101] => (item=/home/myitem.conf) RUNNING HANDLER [my-server : reload…

Details