{"id":636445,"status":"changed","playbook":{"id":4407,"items":{"plays":1,"tasks":8,"results":3168,"hosts":397,"files":1,"records":0},"arguments":{"version":null,"verbosity":2,"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-12T07:09:25.402397Z","ended":"2025-11-12T07:17:24.037106Z","duration":"00:07:58.634709","name":null,"ansible_version":"2.16.11","client_version":"1.7.3","python_version":"3.10.10","server_version":"1.7.3","status":"completed","path":"/home/ssh-gateway/ansible/kuly/zz-rm10179-check-for-php-errors.yaml","controller":"ssh-gw-4.layershift.com","user":"root"},"play":{"id":4876,"items":{"tasks":8,"results":3168},"started":"2025-11-12T07:09:25.540892Z","ended":"2025-11-12T07:17:04.797085Z","duration":"00:07:39.256193","name":"Check for PHP FPM errors using standalone script","status":"completed"},"task":{"id":10845,"items":{"results":396},"path":"/home/ssh-gateway/ansible/kuly/zz-rm10179-check-for-php-errors.yaml","tags":[],"started":"2025-11-12T07:12:40.047098Z","ended":"2025-11-12T07:13:27.952945Z","duration":"00:00:47.905847","name":"Execute the FPM error check script","uuid":"001851d0-75dc-b66d-8f4e-000000000192","action":"ansible.builtin.shell","lineno":20,"handler":false,"status":"completed","warnings":[],"deprecations":[],"exceptions":[],"file":6533},"host":{"id":226236,"name":"cloudlinux-demo1.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.818002","end":"2025-11-12 07:13:17.442718","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-12 07:13:16.624716","stderr":"tput: No value for $TERM and no -T specified\ntput: No value for $TERM and no -T specified\nERROR 2025-11-12T07:13:17Z 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-12T07:13:17Z Found 1 problematic handler(s) currently in use!"],"stdout":"INFO 2025-11-12T07:13:16Z Starting FPM Error Check (Type: all) - Check Only: true\nINFO 2025-11-12T07:13:16Z Checking PHP handlers:\nINFO 2025-11-12T07:13:16Z /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-12T07:13:16Z ------------------------\nINFO 2025-11-12T07:13:16Z Testing handler: /opt/alt/php54/usr/bin/php\nINFO 2025-11-12T07:13:16Z Testing handler: /opt/alt/php74/usr/bin/php\nINFO 2025-11-12T07:13:16Z Testing handler: /opt/alt/php80/usr/bin/php\nINFO 2025-11-12T07:13:16Z Testing handler: /opt/alt/php81/usr/bin/php\nINFO 2025-11-12T07:13:16Z Testing handler: /opt/alt/php82/usr/bin/php\nINFO 2025-11-12T07:13:16Z   -> Found error pattern 'Invalid date.timezone' in output for /opt/alt/php82/usr/bin/php\nINFO 2025-11-12T07:13:16Z Testing handler: /opt/alt/php83/usr/bin/php\nINFO 2025-11-12T07:13:16Z   -> Found error pattern 'Invalid date.timezone' in output for /opt/alt/php83/usr/bin/php\nINFO 2025-11-12T07:13:16Z Testing handler: /opt/alt/php-internal/usr/bin/php\nINFO 2025-11-12T07:13:16Z Testing handler: /opt/plesk/php/7.4/bin/php\nINFO 2025-11-12T07:13:17Z Testing handler: /opt/plesk/php/8.1/bin/php\nINFO 2025-11-12T07:13:17Z Testing handler: /opt/plesk/php/8.2/bin/php\nINFO 2025-11-12T07:13:17Z Testing handler: /opt/plesk/php/8.3/bin/php\nINFO 2025-11-12T07:13:17Z Querying database for currently used handlers...\nINFO 2025-11-12T07:13:17Z 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-12T07:13:17Z 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-12T07:13:17Z === PROBLEMATIC HANDLERS IN USE ===\nINFO 2025-11-12T07:13:17Z plesk-php83-fpm (version: php83)\nINFO 2025-11-12T07:13:17Z \nINFO 2025-11-12T07:13:17Z === PROBLEMATIC HANDLERS NOT IN USE ===\nINFO 2025-11-12T07:13:17Z alt-php82\nINFO 2025-11-12T07:13:17Z Found 1 alt-php problematic handler(s) not currently in use. [CHECK-ONLY] Would run common fixes.\nINFO 2025-11-12T07:13:17Z 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-12_071316.log\n================================","stdout_lines":["INFO 2025-11-12T07:13:16Z Starting FPM Error Check (Type: all) - Check Only: true","INFO 2025-11-12T07:13:16Z Checking PHP handlers:","INFO 2025-11-12T07:13:16Z /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-12T07:13:16Z ------------------------","INFO 2025-11-12T07:13:16Z Testing handler: /opt/alt/php54/usr/bin/php","INFO 2025-11-12T07:13:16Z Testing handler: /opt/alt/php74/usr/bin/php","INFO 2025-11-12T07:13:16Z Testing handler: /opt/alt/php80/usr/bin/php","INFO 2025-11-12T07:13:16Z Testing handler: /opt/alt/php81/usr/bin/php","INFO 2025-11-12T07:13:16Z Testing handler: /opt/alt/php82/usr/bin/php","INFO 2025-11-12T07:13:16Z   -> Found error pattern 'Invalid date.timezone' in output for /opt/alt/php82/usr/bin/php","INFO 2025-11-12T07:13:16Z Testing handler: /opt/alt/php83/usr/bin/php","INFO 2025-11-12T07:13:16Z   -> Found error pattern 'Invalid date.timezone' in output for /opt/alt/php83/usr/bin/php","INFO 2025-11-12T07:13:16Z Testing handler: /opt/alt/php-internal/usr/bin/php","INFO 2025-11-12T07:13:16Z Testing handler: /opt/plesk/php/7.4/bin/php","INFO 2025-11-12T07:13:17Z Testing handler: /opt/plesk/php/8.1/bin/php","INFO 2025-11-12T07:13:17Z Testing handler: /opt/plesk/php/8.2/bin/php","INFO 2025-11-12T07:13:17Z Testing handler: /opt/plesk/php/8.3/bin/php","INFO 2025-11-12T07:13:17Z Querying database for currently used handlers...","INFO 2025-11-12T07:13:17Z 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-12T07:13:17Z 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-12T07:13:17Z === PROBLEMATIC HANDLERS IN USE ===","INFO 2025-11-12T07:13:17Z plesk-php83-fpm (version: php83)","INFO 2025-11-12T07:13:17Z ","INFO 2025-11-12T07:13:17Z === PROBLEMATIC HANDLERS NOT IN USE ===","INFO 2025-11-12T07:13:17Z alt-php82","INFO 2025-11-12T07:13:17Z Found 1 alt-php problematic handler(s) not currently in use. [CHECK-ONLY] Would run common fixes.","INFO 2025-11-12T07:13:17Z 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-12_071316.log","================================"]},"created":"2025-11-12T07:13:27.048345Z","updated":"2025-11-12T07:13:27.048365Z","started":"2025-11-12T07:13:16.209692Z","ended":"2025-11-12T07:13:27.042828Z","duration":"00:00:10.833136","changed":true,"ignore_errors":false}