{"id":603888,"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":218458,"name":"wpone-demo.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:00.831152","end":"2025-11-07 13:58:44.398529","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":"non-zero return code","rc":1,"start":"2025-11-07 13:58:43.567377","stderr":"tput: No value for $TERM and no -T specified\ntput: No value for $TERM and no -T specified\nERROR 2025-11-07T13:58:44Z Found 1 problematic handler(s) currently in use!","stderr_lines":["tput: No value for $TERM and no -T specified","tput: No value for $TERM and no -T specified","ERROR 2025-11-07T13:58:44Z Found 1 problematic handler(s) currently in use!"],"stdout":"INFO 2025-11-07T13:58:43Z Starting FPM Error Check (Type: all) - Check Only: true\nINFO 2025-11-07T13:58:43Z Checking PHP handlers:\nINFO 2025-11-07T13:58:43Z /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\nINFO 2025-11-07T13:58:43Z ------------------------\nINFO 2025-11-07T13:58:43Z Testing handler: /opt/alt/php54/usr/bin/php\nINFO 2025-11-07T13:58:43Z Testing handler: /opt/alt/php74/usr/bin/php\nINFO 2025-11-07T13:58:43Z Testing handler: /opt/alt/php80/usr/bin/php\nINFO 2025-11-07T13:58:43Z Testing handler: /opt/alt/php81/usr/bin/php\nINFO 2025-11-07T13:58:43Z Testing handler: /opt/alt/php82/usr/bin/php\nINFO 2025-11-07T13:58:43Z   -> Found error pattern 'Invalid date.timezone' in output for /opt/alt/php82/usr/bin/php\nINFO 2025-11-07T13:58:43Z Testing handler: /opt/alt/php83/usr/bin/php\nINFO 2025-11-07T13:58:43Z   -> Found error pattern 'Invalid date.timezone' in output for /opt/alt/php83/usr/bin/php\nINFO 2025-11-07T13:58:43Z Testing handler: /opt/alt/php-internal/usr/bin/php\nINFO 2025-11-07T13:58:43Z Testing handler: /opt/plesk/php/7.4/bin/php\nINFO 2025-11-07T13:58:44Z Testing handler: /opt/plesk/php/8.1/bin/php\nINFO 2025-11-07T13:58:44Z Testing handler: /opt/plesk/php/8.2/bin/php\nINFO 2025-11-07T13:58:44Z Testing handler: /opt/plesk/php/8.3/bin/php\nINFO 2025-11-07T13:58:44Z Querying database for currently used handlers...\nINFO 2025-11-07T13:58:44Z 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:44Z Problematic handler detected: type=alt, version=php83, display_version=83, full_name=alt-php83-fpm, path=/opt/alt/php83/usr/bin/php\nINFO 2025-11-07T13:58:44Z === PROBLEMATIC HANDLERS IN USE ===\nINFO 2025-11-07T13:58:44Z alt-php83-fastcgi (version: php83)\nINFO 2025-11-07T13:58:44Z \nINFO 2025-11-07T13:58:44Z === PROBLEMATIC HANDLERS NOT IN USE ===\nINFO 2025-11-07T13:58:44Z alt-php82\nINFO 2025-11-07T13:58:44Z Found 1 alt-php problematic handler(s) not currently in use. [CHECK-ONLY] Would run common fixes.\nINFO 2025-11-07T13:58:44Z 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: :warning: 1 in use: alt-php83-fpm, :check: 1 would fix: alt-php82\nLog file: /var/log/alma_maintain/php_fpm_error_checker_and_fixer_2025-11-07_135843.log\n================================","stdout_lines":["INFO 2025-11-07T13:58:43Z Starting FPM Error Check (Type: all) - Check Only: true","INFO 2025-11-07T13:58:43Z Checking PHP handlers:","INFO 2025-11-07T13:58:43Z /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","INFO 2025-11-07T13:58:43Z ------------------------","INFO 2025-11-07T13:58:43Z Testing handler: /opt/alt/php54/usr/bin/php","INFO 2025-11-07T13:58:43Z Testing handler: /opt/alt/php74/usr/bin/php","INFO 2025-11-07T13:58:43Z Testing handler: /opt/alt/php80/usr/bin/php","INFO 2025-11-07T13:58:43Z Testing handler: /opt/alt/php81/usr/bin/php","INFO 2025-11-07T13:58:43Z Testing handler: /opt/alt/php82/usr/bin/php","INFO 2025-11-07T13:58:43Z   -> Found error pattern 'Invalid date.timezone' in output for /opt/alt/php82/usr/bin/php","INFO 2025-11-07T13:58:43Z Testing handler: /opt/alt/php83/usr/bin/php","INFO 2025-11-07T13:58:43Z   -> Found error pattern 'Invalid date.timezone' in output for /opt/alt/php83/usr/bin/php","INFO 2025-11-07T13:58:43Z Testing handler: /opt/alt/php-internal/usr/bin/php","INFO 2025-11-07T13:58:43Z Testing handler: /opt/plesk/php/7.4/bin/php","INFO 2025-11-07T13:58:44Z Testing handler: /opt/plesk/php/8.1/bin/php","INFO 2025-11-07T13:58:44Z Testing handler: /opt/plesk/php/8.2/bin/php","INFO 2025-11-07T13:58:44Z Testing handler: /opt/plesk/php/8.3/bin/php","INFO 2025-11-07T13:58:44Z Querying database for currently used handlers...","INFO 2025-11-07T13:58:44Z 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:44Z Problematic handler detected: type=alt, version=php83, display_version=83, full_name=alt-php83-fpm, path=/opt/alt/php83/usr/bin/php","INFO 2025-11-07T13:58:44Z === PROBLEMATIC HANDLERS IN USE ===","INFO 2025-11-07T13:58:44Z alt-php83-fastcgi (version: php83)","INFO 2025-11-07T13:58:44Z ","INFO 2025-11-07T13:58:44Z === PROBLEMATIC HANDLERS NOT IN USE ===","INFO 2025-11-07T13:58:44Z alt-php82","INFO 2025-11-07T13:58:44Z Found 1 alt-php problematic handler(s) not currently in use. [CHECK-ONLY] Would run common fixes.","INFO 2025-11-07T13:58:44Z 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: :warning: 1 in use: alt-php83-fpm, :check: 1 would fix: alt-php82","Log file: /var/log/alma_maintain/php_fpm_error_checker_and_fixer_2025-11-07_135843.log","================================"]},"created":"2025-11-07T13:58:54.288451Z","updated":"2025-11-07T13:58:54.288477Z","started":"2025-11-07T13:58:43.067449Z","ended":"2025-11-07T13:58:54.281378Z","duration":"00:00:11.213929","changed":true,"ignore_errors":false}