- What version of apnscp are you running?
revision: 587b49571f4d258fc68cf9a6c44a310e1f17a758
timestamp: 1725913898
ver_maj: 3
ver_min: 2
ver_patch: 45
ver_pre: ''
dirty: false
debug: fals
- Which version of RHEL or CentOS are you using?
Rocky 10 (not multi-php, just php 8.3)
- Can you reproduce this bug reliably? Provide steps. If not, provide steps to the best of your recollection.
Running upcp -b until this error occures and the script exits. When I manually change /usr/local/apnscp/resources/playbooks/roles/apnscp/install-extensions/templates/opcache.ini.j2 from php_version to system_php_version it is working again.
TASK [php/ioncube-loader : Download and untar ioncube-loader] ******************
changed: [localhost]
TASK [php/ioncube-loader : Ensure ioncube-loader module path exists] ***********
ok: [localhost]
TASK [php/ioncube-loader : Move ioncube-loader module into place] **************
ok: [localhost]
TASK [php/ioncube-loader : include_tasks] **************************************
included: /usr/local/apnscp/resources/playbooks/roles/php/ioncube-loader/tasks/configure.yml for localhost
TASK [php/ioncube-loader : Copy ioncube-loader ini into main extension config folder] ***
ok: [localhost] => (item=/usr/local/apnscp/config/php.d)
TASK [apnscp/install-extensions : Load opcache into php.ini] *******************
fatal: [localhost]: FAILED! => changed=false
msg: 'AnsibleFilterError: Version comparison: ''php_version'' is undefined'
RUNNING HANDLER [common : Restart apnscp] **************************************
PLAY RECAP *********************************************************************
localhost : ok=89 changed=3 unreachable=0 failed=1 skipped=22 rescued=0 ignored=0
Upgrade. Most recent version is 3.2.48.4.
1 Like