{"id":603670,"status":"changed","playbook":{"id":4323,"items":{"plays":1,"tasks":8,"results":3162,"hosts":398,"files":1,"records":0},"arguments":{"version":null,"verbosity":0,"private_key_file":"/home/ssh-gateway/.ssh/id_rsa","remote_user":"root","connection":"ssh","timeout":null,"ssh_common_args":null,"sftp_extra_args":null,"scp_extra_args":null,"ssh_extra_args":null,"ask_pass":false,"connection_password_file":null,"force_handlers":false,"flush_cache":false,"become":false,"become_method":"sudo","become_user":null,"become_ask_pass":false,"become_password_file":null,"tags":["all"],"skip_tags":[],"check":false,"diff":false,"inventory":["/home/ssh-gateway/ansible/kuly/bash-kvm-inventory-prod.sh"],"listhosts":false,"subset":null,"extra_vars":"Not saved by ARA as configured by 'ignored_arguments'","vault_ids":[],"ask_vault_pass":false,"vault_password_files":[],"forks":20,"module_path":null,"syntax":false,"listtasks":false,"listtags":false,"step":false,"start_at_task":null,"args":["zz-rm10179-check-for-php-errors.yaml"]},"labels":[{"id":1,"name":"remote_user:root"},{"id":2,"name":"check:False"},{"id":3,"name":"tags:all"}],"started":"2025-11-07T13:55:00.663036Z","ended":"2025-11-07T14:02:54.826729Z","duration":"00:07:54.163693","name":null,"ansible_version":"2.16.11","client_version":"1.7.3","python_version":"3.10.10","server_version":"1.7.3","status":"failed","path":"/home/ssh-gateway/ansible/kuly/zz-rm10179-check-for-php-errors.yaml","controller":"ssh-gw-4.layershift.com","user":"root"},"play":{"id":4790,"items":{"tasks":8,"results":3162},"started":"2025-11-07T13:55:00.816272Z","ended":"2025-11-07T14:02:35.372698Z","duration":"00:07:34.556426","name":"Check for PHP FPM errors using standalone script","status":"completed"},"task":{"id":10637,"items":{"results":395},"path":"/home/ssh-gateway/ansible/kuly/zz-rm10179-check-for-php-errors.yaml","tags":[],"started":"2025-11-07T13:58:08.306640Z","ended":"2025-11-07T13:59:38.824418Z","duration":"00:01:30.517778","name":"Execute the FPM error check script","uuid":"001851d0-75dc-95c4-f04d-000000000193","action":"ansible.builtin.shell","lineno":20,"handler":false,"status":"completed","warnings":[],"deprecations":[],"exceptions":[],"file":6443},"host":{"id":218243,"name":"excited-chipmunk.wpone-man-1.vm.plesk-server.com","changed":2,"failed":0,"ok":7,"skipped":1,"unreachable":0},"delegated_to":[],"content":{"changed":true,"cmd":"set -o pipefail\n/root/zz-rm10179-check-for-php-errors.sh --check-only\n","delta":"0:00:01.060940","end":"2025-11-07 13:58:21.532724","failed_when_result":false,"invocation":{"module_args":{"_raw_params":"set -o pipefail\n/root/zz-rm10179-check-for-php-errors.sh --check-only\n","_uses_shell":true,"argv":null,"chdir":null,"creates":null,"executable":"/bin/bash","expand_argument_vars":true,"removes":null,"stdin":null,"stdin_add_newline":true,"strip_empty_ends":true}},"msg":"","rc":0,"start":"2025-11-07 13:58:20.471784","stderr":"tput: No value for $TERM and no -T specified\ntput: No value for $TERM and no -T specified","stderr_lines":["tput: No value for $TERM and no -T specified","tput: No value for $TERM and no -T specified"],"stdout":"INFO 2025-11-07T13:58:20Z Starting FPM Error Check (Type: all) - Check Only: true\nINFO 2025-11-07T13:58:20Z Checking PHP handlers:\nINFO 2025-11-07T13:58:20Z /opt/alt/php54/usr/bin/php\n/opt/alt/php74/usr/bin/php\n/opt/alt/php80/usr/bin/php\n/opt/alt/php81/usr/bin/php\n/opt/alt/php82/usr/bin/php\n/opt/alt/php83/usr/bin/php\n/opt/alt/php-internal/usr/bin/php\n/opt/plesk/php/7.4/bin/php\n/opt/plesk/php/8.1/bin/php\n/opt/plesk/php/8.2/bin/php\n/opt/plesk/php/8.3/bin/php\n/opt/plesk/php/8.4/bin/php\nINFO 2025-11-07T13:58:20Z ------------------------\nINFO 2025-11-07T13:58:20Z Testing handler: /opt/alt/php54/usr/bin/php\nINFO 2025-11-07T13:58:20Z Testing handler: /opt/alt/php74/usr/bin/php\nINFO 2025-11-07T13:58:20Z Testing handler: /opt/alt/php80/usr/bin/php\nINFO 2025-11-07T13:58:20Z Testing handler: /opt/alt/php81/usr/bin/php\nINFO 2025-11-07T13:58:20Z Testing handler: /opt/alt/php82/usr/bin/php\nINFO 2025-11-07T13:58:20Z   -> Found error pattern 'Invalid date.timezone' in output for /opt/alt/php82/usr/bin/php\nINFO 2025-11-07T13:58:20Z Testing handler: /opt/alt/php83/usr/bin/php\nINFO 2025-11-07T13:58:20Z Testing handler: /opt/alt/php-internal/usr/bin/php\nINFO 2025-11-07T13:58:20Z Testing handler: /opt/plesk/php/7.4/bin/php\nINFO 2025-11-07T13:58:21Z Testing handler: /opt/plesk/php/8.1/bin/php\nINFO 2025-11-07T13:58:21Z Testing handler: /opt/plesk/php/8.2/bin/php\nINFO 2025-11-07T13:58:21Z   -> Found error pattern 'Invalid date.timezone' in output for /opt/plesk/php/8.2/bin/php\nINFO 2025-11-07T13:58:21Z Testing handler: /opt/plesk/php/8.3/bin/php\nINFO 2025-11-07T13:58:21Z   -> Found error pattern 'Invalid date.timezone' in output for /opt/plesk/php/8.3/bin/php\nINFO 2025-11-07T13:58:21Z Testing handler: /opt/plesk/php/8.4/bin/php\nINFO 2025-11-07T13:58:21Z   -> Found error pattern 'Invalid date.timezone' in output for /opt/plesk/php/8.4/bin/php\nINFO 2025-11-07T13:58:21Z Querying database for currently used handlers...\nINFO 2025-11-07T13:58:21Z Problematic handler detected: type=alt, version=php82, display_version=82, full_name=alt-php82-fpm, path=/opt/alt/php82/usr/bin/php\nINFO 2025-11-07T13:58:21Z Problematic handler detected: type=plesk, version=8.2, display_version=8.2, full_name=plesk-php8.2, path=/opt/plesk/php/8.2/bin/php\nINFO 2025-11-07T13:58:21Z Problematic handler detected: type=plesk, version=8.3, display_version=8.3, full_name=plesk-php8.3, path=/opt/plesk/php/8.3/bin/php\nINFO 2025-11-07T13:58:21Z Problematic handler detected: type=plesk, version=8.4, display_version=8.4, full_name=plesk-php8.4, path=/opt/plesk/php/8.4/bin/php\nINFO 2025-11-07T13:58:21Z === PROBLEMATIC HANDLERS IN USE ===\nINFO 2025-11-07T13:58:21Z None\nINFO 2025-11-07T13:58:21Z \nINFO 2025-11-07T13:58:21Z === PROBLEMATIC HANDLERS NOT IN USE ===\nINFO 2025-11-07T13:58:21Z alt-php82\nINFO 2025-11-07T13:58:21Z plesk-php8.2\nINFO 2025-11-07T13:58:21Z plesk-php8.3\nINFO 2025-11-07T13:58:21Z plesk-php8.4\nINFO 2025-11-07T13:58:21Z Found 1 alt-php problematic handler(s) not currently in use. [CHECK-ONLY] Would run common fixes.\nINFO 2025-11-07T13:58:21Z Found 3 plesk-php problematic handler(s) not currently in use.\nINFO 2025-11-07T13:58:21Z Note: Plesk PHP handlers require manual inspection or different fixes.\nINFO 2025-11-07T13:58:21Z Run again the script with: \"/root/zz-rm10179-check-for-php-errors.sh\" to verify if there are problems on unused php handlers to be fixed.\n=== FPM ERROR CHECK SUMMARY ===\nMode: true\nStatus: :gear: 3 need manual: plesk-php8.2, plesk-php8.3, plesk-php8.4, :check: 1 would fix: alt-php82\nLog file: /var/log/alma_maintain/php_fpm_error_checker_and_fixer_2025-11-07_135820.log\n================================","stdout_lines":["INFO 2025-11-07T13:58:20Z Starting FPM Error Check (Type: all) - Check Only: true","INFO 2025-11-07T13:58:20Z Checking PHP handlers:","INFO 2025-11-07T13:58:20Z /opt/alt/php54/usr/bin/php","/opt/alt/php74/usr/bin/php","/opt/alt/php80/usr/bin/php","/opt/alt/php81/usr/bin/php","/opt/alt/php82/usr/bin/php","/opt/alt/php83/usr/bin/php","/opt/alt/php-internal/usr/bin/php","/opt/plesk/php/7.4/bin/php","/opt/plesk/php/8.1/bin/php","/opt/plesk/php/8.2/bin/php","/opt/plesk/php/8.3/bin/php","/opt/plesk/php/8.4/bin/php","INFO 2025-11-07T13:58:20Z ------------------------","INFO 2025-11-07T13:58:20Z Testing handler: /opt/alt/php54/usr/bin/php","INFO 2025-11-07T13:58:20Z Testing handler: /opt/alt/php74/usr/bin/php","INFO 2025-11-07T13:58:20Z Testing handler: /opt/alt/php80/usr/bin/php","INFO 2025-11-07T13:58:20Z Testing handler: /opt/alt/php81/usr/bin/php","INFO 2025-11-07T13:58:20Z Testing handler: /opt/alt/php82/usr/bin/php","INFO 2025-11-07T13:58:20Z   -> Found error pattern 'Invalid date.timezone' in output for /opt/alt/php82/usr/bin/php","INFO 2025-11-07T13:58:20Z Testing handler: /opt/alt/php83/usr/bin/php","INFO 2025-11-07T13:58:20Z Testing handler: /opt/alt/php-internal/usr/bin/php","INFO 2025-11-07T13:58:20Z Testing handler: /opt/plesk/php/7.4/bin/php","INFO 2025-11-07T13:58:21Z Testing handler: /opt/plesk/php/8.1/bin/php","INFO 2025-11-07T13:58:21Z Testing handler: /opt/plesk/php/8.2/bin/php","INFO 2025-11-07T13:58:21Z   -> Found error pattern 'Invalid date.timezone' in output for /opt/plesk/php/8.2/bin/php","INFO 2025-11-07T13:58:21Z Testing handler: /opt/plesk/php/8.3/bin/php","INFO 2025-11-07T13:58:21Z   -> Found error pattern 'Invalid date.timezone' in output for /opt/plesk/php/8.3/bin/php","INFO 2025-11-07T13:58:21Z Testing handler: /opt/plesk/php/8.4/bin/php","INFO 2025-11-07T13:58:21Z   -> Found error pattern 'Invalid date.timezone' in output for /opt/plesk/php/8.4/bin/php","INFO 2025-11-07T13:58:21Z Querying database for currently used handlers...","INFO 2025-11-07T13:58:21Z Problematic handler detected: type=alt, version=php82, display_version=82, full_name=alt-php82-fpm, path=/opt/alt/php82/usr/bin/php","INFO 2025-11-07T13:58:21Z Problematic handler detected: type=plesk, version=8.2, display_version=8.2, full_name=plesk-php8.2, path=/opt/plesk/php/8.2/bin/php","INFO 2025-11-07T13:58:21Z Problematic handler detected: type=plesk, version=8.3, display_version=8.3, full_name=plesk-php8.3, path=/opt/plesk/php/8.3/bin/php","INFO 2025-11-07T13:58:21Z Problematic handler detected: type=plesk, version=8.4, display_version=8.4, full_name=plesk-php8.4, path=/opt/plesk/php/8.4/bin/php","INFO 2025-11-07T13:58:21Z === PROBLEMATIC HANDLERS IN USE ===","INFO 2025-11-07T13:58:21Z None","INFO 2025-11-07T13:58:21Z ","INFO 2025-11-07T13:58:21Z === PROBLEMATIC HANDLERS NOT IN USE ===","INFO 2025-11-07T13:58:21Z alt-php82","INFO 2025-11-07T13:58:21Z plesk-php8.2","INFO 2025-11-07T13:58:21Z plesk-php8.3","INFO 2025-11-07T13:58:21Z plesk-php8.4","INFO 2025-11-07T13:58:21Z Found 1 alt-php problematic handler(s) not currently in use. [CHECK-ONLY] Would run common fixes.","INFO 2025-11-07T13:58:21Z Found 3 plesk-php problematic handler(s) not currently in use.","INFO 2025-11-07T13:58:21Z Note: Plesk PHP handlers require manual inspection or different fixes.","INFO 2025-11-07T13:58:21Z Run again the script with: \"/root/zz-rm10179-check-for-php-errors.sh\" to verify if there are problems on unused php handlers to be fixed.","=== FPM ERROR CHECK SUMMARY ===","Mode: true","Status: :gear: 3 need manual: plesk-php8.2, plesk-php8.3, plesk-php8.4, :check: 1 would fix: alt-php82","Log file: /var/log/alma_maintain/php_fpm_error_checker_and_fixer_2025-11-07_135820.log","================================"]},"created":"2025-11-07T13:58:50.395167Z","updated":"2025-11-07T13:58:50.395194Z","started":"2025-11-07T13:58:19.906124Z","ended":"2025-11-07T13:58:50.386886Z","duration":"00:00:30.480762","changed":true,"ignore_errors":false}