Describe what you expected to happen when the bug occurred.
Actual Behavior
Failed loading /usr/local/apnscp/sys/php/20210902/opcache.so: /usr/local/apnscp/sys/php/20210902/opcache.so: cannot open shared object file: No such file or directory
Failed loading /usr/local/apnscp/sys/php/20210902/opcache.so: /usr/local/apnscp/sys/php/20210902/opcache.so: cannot open shared object file: No such file or directory
Warning: PHP Startup: Unable to load dynamic library 'dbus.so' (tried: /usr/local/apnscp/sys/php/20210902/dbus.so (/usr/local/apnscp/sys/php/20210902/dbus.so: cannot open shared object file: No such file or directory), /usr/local/apnscp/sys/php/20210902/dbus.so.so (/usr/local/apnscp/sys/php/20210902/dbus.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Fatal error: Uncaught Error: Undefined constant "IS_CLI" in /usr/local/apnscp/lib/error_reporter.php:392
Stack trace:
#0 /usr/local/apnscp/lib/error_reporter.php(244): Error_Reporter::parse_debug_bt(0, 99, Array)
#1 /usr/local/apnscp/lib/error_reporter.php(161): Error_Reporter::handle_error(128, 'Undefined const...', '/usr/local/apns...', 392, Object(Error))
#2 [internal function]: Error_Reporter::handle_exception(Object(Error))
#3 {main}
thrown in /usr/local/apnscp/lib/error_reporter.php on line 392
Migrations have not completed yet. Update cannot proceed!
Run the following command to apply migrations, correcting failure as necessary:
cd /usr/local/apnscp && ./artisan migrate --force
To force an update to latest code, run the following command:
cd /usr/local/apnscp && upcp -f && ./artisan migrate --force
Environment
ApisCP version:cpcmd misc:cp-version can’t get in current state Operating System:uname -r 4.18.0-553.89.1.el8_10.x86_64
Additional relevant information (e.g., PHP version, database, etc.):
Additional Information
Not sure what happened here but it looks like php is no longer available on the server. From reading the forums i tried running “pcp -sbf apnscp/build-php apnscp/install-extensions” but it fails on the startup step.
When’s the last time you ran upcp? When’s the last time things were “working” in the panel? Panel PHP engine is 8.3, API version 20230831. This is reporting 8.1.
ApisCP Packages for CentOS Linux 8 - x86_64 - Debug 0.0 B/s | 0 B 00:00
Errors during downloading metadata for repository 'apnscp-debuginfo':
- Curl error (58): Problem with the local SSL certificate for https://yum.apiscp.com/os/8/x86_64/debug/repodata/repomd.xml [could not load PEM client certificate, OpenSSL error error:02001002:system library:fopen:No such file or directory, (no key found, wrong pass phrase, or wrong file format?)]
Error: Failed to download metadata for repo 'apnscp-debuginfo': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
I can’t even run that right now since everything is so broken.
Failed loading /usr/local/apnscp/sys/php/20210902/opcache.so: /usr/local/apnscp/sys/php/20210902/opcache.so: cannot open shared object file: No such file or directory
Warning: PHP Startup: Unable to load dynamic library 'dbus.so' (tried: /usr/local/apnscp/sys/php/20210902/dbus.so (/usr/local/apnscp/sys/php/20210902/dbus.so: cannot open shared object file: No such file or directory), /usr/local/apnscp/sys/php/20210902/dbus.so.so (/usr/local/apnscp/sys/php/20210902/dbus.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Fatal error: Uncaught Error: Undefined constant "IS_CLI" in /usr/local/apnscp/lib/error_reporter.php:392
Stack trace:
#0 /usr/local/apnscp/lib/error_reporter.php(244): Error_Reporter::parse_debug_bt(0, 99, Array)
#1 /usr/local/apnscp/lib/error_reporter.php(161): Error_Reporter::handle_error(128, 'Undefined const...', '/usr/local/apns...', 392, Object(Error))
#2 [internal function]: Error_Reporter::handle_exception(Object(Error))
#3 {main}
thrown in /usr/local/apnscp/lib/error_reporter.php on line 392
I would need for you to pull a support request via my.apiscp.com. There’s a variety of potential situations, including having an expired license from October 2024 in which the intermediate had expired requiring an update. I simply don’t know from afar.