I am now encountering this exact issue on one of my 3 CWP Pro servers. I can view the hosted websites, login to webmail and via SSH. But attempting to load the CWP Pro Admin panel only shows a blank white screen. Thus far I have been able to determine that the /scripts directory is full of empty files, so it is not possible to do a CWP update by that means:
ls -al /scripts/scripts
total 12
drwxr-x--- 2 root root 4096 Aug 27 08:23 .
drwxr-x---. 3 root root 4096 Aug 27 08:23 ..
-rwxr-xr-x 1 root root 0 Aug 27 08:23 add_alert
-rwxr-xr-x 1 root root 0 Aug 27 08:23 apache_mpm_calculator
-rwxr-xr-x 1 root root 0 Aug 27 08:23 autossl_fix_tmp_path
-rwxr-xr-x 1 root root 0 Aug 27 08:23 autossl_generate_apache_conf
-rwxr-xr-x 1 root root 0 Aug 27 08:23 autossl_reload
-rwxr-xr-x 1 root root 0 Aug 27 08:23 cgroups_blkio
-rwxr-xr-x 1 root root 0 Aug 27 08:23 check_api
-rwxr-xr-x 1 root root 0 Aug 27 08:23 check_postqueue
-rwxr-xr-x 1 root root 0 Aug 27 08:23 checkdb
-rwxr-xr-x 1 root root 0 Aug 27 08:23 chroot_remove
-rwxr-xr-x 1 root root 0 Aug 27 08:23 clamd_fix_100_cpu_usage
-rwxr-xr-x 1 root root 0 Aug 27 08:23 cpanel_addhandlers
-rwxr-xr-x 1 root root 0 Aug 27 08:23 cwp_api
-rwxr-xr-x 1 root root 0 Aug 27 08:23 cwp_bruteforce_protection
-rwxr-xr-x 1 root root 0 Aug 27 08:23 cwp_monitor
-rwxr-xr-x 1 root root 0 Aug 27 08:23 cwp_set_memory_limit
-rwxr-xr-x 1 root root 0 Aug 27 08:23 cwp_version
-rwxr-xr-x 1 root root 0 Aug 27 08:23 cwpsecure_update_rules
-rwxr-xr-x 1 root root 0 Aug 27 08:23 cwpsrv_rebuild_user_conf
-rwxr-xr-x 1 root root 0 Aug 27 08:23 disk_check
-rwxr-xr-x 1 root root 0 Aug 27 08:23 dns_sync_slave2
-rwxr-xr-x 1 root root 0 Aug 27 08:23 dso_handler_remove
-rwxr-xr-x 1 root root 0 Aug 27 08:23 el8_stream_convert_to_cwp_stable
-rwxr-xr-x 1 root root 0 Aug 27 08:23 generate_hostname_ssl
-rwxr-xr-x 1 root root 0 Aug 27 08:23 hostname_ssl_restart_services
-rwxr-xr-x 1 root root 0 Aug 27 08:23 image_rebuild_server_config
-rwxr-xr-x 1 root root 0 Aug 27 08:23 install_acme
-rwxr-xr-x 1 root root 0 Aug 27 08:23 install_api
-rwxr-xr-x 1 root root 0 Aug 27 08:23 install_cbpolicyd
-rwxr-xr-x 1 root root 0 Aug 27 08:23 install_imagick
-rwxr-xr-x 1 root root 0 Aug 27 08:23 install_net2ftp
-rwxr-xr-x 1 root root 0 Aug 27 08:23 install_netdata
-rwxr-xr-x 1 root root 0 Aug 27 08:23 install_pure-ftpd_tls
-rwxr-xr-x 1 root root 0 Aug 27 08:23 install_supportKey
-rwxr-xr-x 1 root root 0 Aug 27 08:23 install_terminal
-rwxr-xr-x 1 root root 0 Aug 27 08:23 list_subdomains
-rwxr-xr-x 1 root root 0 Aug 27 08:23 mysql_fix_myisam_tables
-rwxr-xr-x 1 root root 0 Aug 27 08:23 mysql_set_max_connections
-rwxr-xr-x 1 root root 0 Aug 27 08:23 mysql_show_max_connections
-rwxr-xr-x 1 root root 0 Aug 27 08:23 net_show_connections
-rwxr-xr-x 1 root root 0 Aug 27 08:23 open_basedir-suphp
-rwxr-xr-x 1 root root 0 Aug 27 08:23 php_big_file_upload
-rwxr-xr-x 1 root root 0 Aug 27 08:23 reload_cwpsrv
-rwxr-xr-x 1 root root 0 Aug 27 08:23 restart_cwpsrv
-rwxr-xr-x 1 root root 0 Aug 27 08:23 restart_httpd
-rwxr-xr-x 1 root root 0 Aug 27 08:23 security_is_my_server_hacked
-rwxr-xr-x 1 root root 0 Aug 27 08:23 softaculous_fix_update
-rwxr-xr-x 1 root root 0 Aug 27 08:23 stats_goaccess
-rwxr-xr-x 1 root root 0 Aug 27 08:23 system_info
-rwxr-xr-x 1 root root 0 Aug 27 08:23 update_cwp
-rwxr-xr-x 1 root root 0 Aug 27 08:23 upgrade_mysql
-rwxr-xr-x 1 root root 0 Aug 27 08:23 user_backup
-rwxr-xr-x 1 root root 0 Aug 27 08:23 varnish_clear_cache
-rwxr-xr-x 1 root root 0 Aug 27 08:23 whoowns
I SCP'd that directory over from another CWP server. However, seeing that the update_cwp script is calling a cron run of another script, then I noticed that this directory is also empty!
/usr/local/cwpsrv/htdocs/resources/admin/include/
So the CWP update run via cron will never complete because thie file it calls doesn't exist:
/usr/local/cwp/php71/bin/php -d max_execution_time=1000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php
What is my best course of recovery? Is there a way to manually re-update CWP without having to start over from scratch?