Turn off the GDPR cookie notification in a dotnet core MVC web application
The dotnet core MVC web application template adds the GDPR cookie acceptance message to the header of the page template. When the site is hosted with HTTP the accept button does not clear the message resulting an infinite loop, when the user cannot log…
Read the database connection string and other secrets from environment variables
It is not good practice to store secrets in the source code repository. The sample C# dotnet core application code stores the database connection string in the appsettings.json file which eventually will be pushed into GitHub. To follow the Twelve-Factor…
Mount NFS volume from macOS
When we try to mount an NFS with from macOS we get the error message: docker: Error response from daemon: error while mounting volume ‘/var/lib/docker/volumes/…/_data’: failed to mount local volume: mount…
ERROR: column “…” does not exist
PostgreSQL internally converts all column and table names to lowercase when executing the SQL query. If the column or table name contains uppercase letters, we need to use double quotes to be able to reference them. When we get the error message ERROR:…
PostgreSQL management tools
Install the PostgreSQL Server and the pgAdmin user interface To install the latest PostgreSQL server and the pgAdmin user interface To install pgAdmin only pgAdmin is a browser based database management tool for PosgtreSQL databases. It does not install…
syntax error, unexpected tLABEL in Chef Test Kitchen
During the test of a Chef recipe that contains a template we may encounter the error message syntax error, unexpected tLABEL MY_KEY: MY_VALUE Make sure there is no white space between the keyword variables and the opening parenthesis in the template…
How to remove all Docker containers and images from the host
Docker images are stored on the host to launch as fast as possible. The drawback is, Docker can fill the hard drive with unused images. A recent possible bug in Docker caused the accumulation of unused, unreferenced images on the host. To delete all…
Error: Error creating LB Listener: ValidationError: ‘arn:aws:elasticloadbalancing:….b’ must be in ARN format
We create a new AWS Application Load Balancer and get this error message when the second listener is created Error: Error creating LB Listener: ValidationError: ‘arn:aws:elasticloadbalancing:….’ must be in ARN format make sure the…
TypeError no implicit conversion of String into Integer
When we test a Chef cookbook in Chef Test Kitchen and get the error message TypeError ——— no implicit conversion of String into Integer Check if all attribute references have the “node” keyword in front of them.
Learn Kubernetes part 3 – Traefik Ingress Controller
In the previous post, Learn Kubernetes part 2 – NGINX Ingress Controller, we have deployed a web application and exposed it via the kubernetes/ingress-nginx ingress controller. In this exercise we will use Traefik, another popular proxy server.…