When trying to get a value from AWS SSM, Ansible Playbook using Python3 as an interpreter generates the following error: fatal: [localhost-py3]: FAILED! => {"changed": false, "msg": "AnsibleError: An unhandled exception occurred while templating '{{ lookup('aws_ssm', 'server_listeners', decrypt=false, region=’eu-west-1′) }}'. Error was a <class 'ansible.errors.AnsibleError'>, original message: An unhandled exception occurred while running the lookup …
Continue reading "FIX ERROR – Ansible AWS SSM: AnsibleError: An unhandled exception occurred while templating"
The following error occurred while trying to delete the database in MS SQL: The database 'YOUR_DB_NAME' is enabled for database mirroring. Database mirroring must be removed before you drop the database. Solution:
When trying to make a terraform plan or terraform apply, terraform returns the following error: Error: Unsupported block type Blocks of type "tags" are not expected here. Did you mean to define argument "tags"? If so, use the equals sign to assign it a value. Solution: In terraform versions below the 12, the following …
Continue reading " FIX ERROR – Terraform: Blocks of type "tags" are not expected here."
A similar error may occur when using mixed content HTTP and HTTPS. Blocked loading mixed active content Solution: To get rid of it and download everything using the HTTPS protocol, you need to add the following to the "wp-config.php" file:
When I tried to log in to phpMyAdmin using Apache 2.4 I received a 403 error, in the logs the following message: client denied by server configuration: /usr/share/phpMyAdmin/ The reason is that the configuration for Apache version 2.2 Solution: Open the configuration file: And we change this part: To the following: …
Continue reading "FIX ERROR – phpMyAdmin+Apache 2.4: client denied by server configuration: /usr/share/phpMyAdmin/"
When installing WordPress using MySQL 8, the following error may occur: Warning: mysqli_real_connect(): The server requested authentication method unknown to the client [caching_sha2_password] The reason is the default authorization method. Solution: In the file "/etc/my.cnf" in the block "mysqld" add the following: And restart the mysqld service: If the user has already …
Continue reading "FIX ERROR – WordPress: The server requested authentication method unknown to the client [caching_sha2_password]"
When trying to set a password for the mysql user, the following error occurs: This error appears if your password does not meet the following requirements, for "validate_password.policy" in "MEDIUM" mode it is: Minimum length 8 characters At least one digit At least one uppercase letter At least one special character Solution: 1. …
Continue reading " FIX ERROR – MySQL: Your password does not satisfy the current policy requirements"
When I try to run a "docker login" on Ubuntu, the following error appears: Error saving credentials: error storing credentials - err: exit status 1, out: `Cannot autolaunch D-Bus without X11 $DISPLAY` Solution:
When executed, execute "terraform apply" during execution when creating the "IAM Profile", it ends with the following error: Solution: Use AWS Cli to find the IAM Profile and delete it. See the list of existing IAM Profiles: Remove unnecessary IAM Profile:
When I try to update the list of repositories in the Docker image based on "node: 8", the following error appears: Err http://http.debian.net jessie-backports/main amd64 Packages Solution Dockerfile: