FIX ERROR – Ansible AWS SSM: AnsibleError: An unhandled exception occurred while templating

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"

FIX ERROR – WordPress: Blocked loading mixed active content

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:

FIX ERROR – phpMyAdmin+Apache 2.4: client denied by server configuration: /usr/share/phpMyAdmin/

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/"

FIX ERROR – WordPress: The server requested authentication method unknown to the client [caching_sha2_password]

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]"

 FIX ERROR – MySQL: Your password does not satisfy the current policy requirements

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"

FIX ERROR – Terraform: Instance Profile already exists

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: