Bug Report Template
Description
Please provide a clear and concise description of the bug you encountered.
All cpcmd commands, and some others, return a message about Zend OPcache.
Steps to Reproduce
Please provide detailed steps to reproduce the bug. Include any necessary code snippets, commands, or configuration files.
[root@server1 ~]# cpcmd
Otherwise making changes in the ApisCP administrator panel, editing accounts for example. User activities are functioning as expected.
Expected Behavior
Describe what you expected to happen when the bug occurred.
I expect commands to be successful and not error out.
Actual Behavior
Describe what actually happened when the bug occurred.
[root@server1 ~]# cpcmd
Zend OPcache requires Zend Engine API version 420210902.
The Zend Engine API version 420230831 which is installed, is newer.
Contact Zend Technologies at http://www.zend.com/ for a later version of Zend OPcache.
Usage: cmd -u USER [options ...] -i | cmd [args ...]
cmd Command to execute in module_method format, including optional <args>
--interactive run interactively
-m | --multi separate multiple API commands with a semicolon (;) - cli input only!
-l | --list-commands list API commands available to role
----removed rest of output----
Adding cloudflare API key for DNS using the control panel,
EditDomain command: /usr/local/apnscp/bin/EditDomain --output=json -c 'auth,tpasswd'='OY5D1cHOOk2Im0udrlK2DYGZlmUxP0DjhoTPbnktnIbU4sNF6Q0tNkh7N73pUadt' -c 'dns,enabled'='1' -c 'dns,provider'='cloudflare' -c 'dns,key'='OO1mgu5eftkARL0FN_w1tokry6AtD6nVMzg-mMls' 'site7'
Util_Process::formatDataCallProc(): EditDomain: Zend OPcache requires Zend Engine API version 420210902.
The Zend Engine API version 420230831 which is installed, is newer.
Contact Zend Technologies at http://www.zend.com/ for a later version of Zend OPcache.
ERROR : Opcenter\Account\Edit::installServices(): failed verification on service `dns': Opcenter\Dns\Providers\Cloudflare\Validator::keyValid(): CF key failed: Invalid API Token
0. Error_Reporter::append_msg("Opcenter\Dns\Providers\Cloudflare\Validator::keyValid(): CF key failed: Invalid API Token", ["Invalid API Token"], 16, null)
[/usr/local/apnscp/lib/error_reporter.php:627]
1. Error_Reporter::add_error("CF key failed: %s", ["Invalid API Token"])
[/usr/local/apnscp/lib/log_wrapper.php:72]
2. error("CF key failed: %s", "Invalid API Token")
[/usr/local/apnscp/lib/Opcenter/Dns/Providers/Cloudflare/Validator.php:128]
3. Opcenter\Dns\Providers\Cloudflare\Validator::keyValid(null, SensitiveParameterValue)
[/usr/local/apnscp/lib/Opcenter/Dns/Providers/Cloudflare/Validator.php:39]
4. Opcenter\Dns\Providers\Cloudflare\Validator->valid(Opcenter\Service\ConfigurationContext, SensitiveParameterValue)
[/usr/local/apnscp/lib/Opcenter/Service/Validators/Dns/Key.php:63]
5. Opcenter\Service\Validators\Dns\Key->valid(SensitiveParameterValue)
[/usr/local/apnscp/lib/Opcenter/Service/ConfigurationContext.php:569]
6. Opcenter\Service\ConfigurationContext->check("key", "OO1mgu5eftkARL0FN_w1tokry6AtD6nVMzg-mMls")
[/usr/local/apnscp/lib/Opcenter/Service/ConfigurationContext.php:166]
7. Opcenter\Service\ConfigurationContext->preflight()
[/usr/local/apnscp/lib/Opcenter/SiteConfiguration.php:758]
8. Opcenter\SiteConfiguration->verify("dns", Opcenter\Service\ConfigurationContext)
[/usr/local/apnscp/lib/Opcenter/SiteConfiguration.php:677]
9. Opcenter\SiteConfiguration->verifyAll()
[/usr/local/apnscp/lib/Opcenter/Account/Edit.php:120]
10. Opcenter\Account\Edit->installServices()
[/usr/local/apnscp/lib/Opcenter/Account/Edit.php:88]
11. Opcenter\Account\Edit->exec()
[/usr/local/apnscp/bin/EditDomain:119]
1 more message
Admin_Module::edit_site(): Opcenter\Account\Edit::installServices(): failed verification on service `dns': Opcenter\Dns\Providers\Cloudflare\Validator::keyValid(): CF key failed: Invalid API Token
Environment
ApisCP version: cpcmd misc:cp-version
cpcmd misc:cp-version
Zend OPcache requires Zend Engine API version 420210902.
The Zend Engine API version 420230831 which is installed, is newer.
Contact Zend Technologies at http://www.zend.com/ for a later version of Zend OPcache.
revision: 4a49072c7df6ea8216258c5f8809f15a4aea4e76
timestamp: 1765698080
ver_maj: 3
ver_min: 2
ver_patch: 48
ver_pre: 35-g4a49072c7
dirty: false
debug: false
Operating System: uname -r
uname -r
4.18.0-553.5.1.el8.x86_64
Additional relevant information (e.g., PHP version, database, etc.):
Additional Information
Provide any additional information about the bug, such as error messages, logs, screenshots, or any other relevant details.
Second server was working… Attempted to migrate a site from one server to the other, it failed (missed the ignore DNS command option) and now the second server is doing the same.