cyberpanel
cyberpanel copied to clipboard
[BUG] Multiple issues when attempting to install and run WordPress on Ubuntu 22.04
There appear to be multiple issues with WordPress being installed on a website running on Ubuntu 22.04.
- Unable to login to the WordPress dashboard.
- Errors on the website dashboard.
- The dashboard not reading the info for the WordPress install including themes, plugins, or even the database.
- Wordpress is unable to send out emails.
- The Auto login feature doesn't work.
- Data integrity check fails.
** Since the error was mentioning not being able to find PHP I attempted to change the PHP version from 7.4 (default) to 8.0 and it appears to have corrected all the issues or at least from what I can see. I am still testing. It appears like PHP 7.2, 7.3, and 7.4 aren't even installed. When I attempt to edit the PHP config from the CP Dashboard I get the error Error message: local variable 'post_max_size' referenced before assignment
and when I go to advanced I get cat: /usr/local/lsws/lsphp74/etc/php/7.4/litespeed/php.ini: No such file or directory
I set up a fresh Ubuntu 22.04 server on DigitalOcean. I installed LiteSpeed Enterprise following the instructions provided on 01 - Installing CyberPanel with all the default settings. It appears like everything was installed correctly.
I was able to access the CyberPanel Dashboard and I was able to get into the management dashboard for the website. I installed WP + LSCache for the website from the Application Installer section and it looked to be successful. I went to List WordPress Websites and scanned for the new WordPress install and it was found. Attempting to log in with the autologin feature I get the error message:
Error: The username autologin is not registered on this site. If you are unsure of your username, try your email address instead.
Going into the WordPress Manager for the newly created website I see the dashboard but nothing but the PHP version is listed and I immediately get an error at the top-right that says: Operation Failed! invalid literal for int() with base 10: 'sudo: /usr/local/lsws/lsphp74/bin/php: command not found'
Going into the File Manager I can see that the WordPress files were installed and I can navigate to the URL and I am presented with the default homepage but attempting to log into the website with the credentials I made also doesn't work. Yes, I did verify them multiple times. I also tried to do a password reset but never receive the email.
I checked the database and I do see that the WordPress database is created and I can access the database via the PHPMyAdmin dashboard.
CYBERPANEL MAIN LOG FILE
[10.27.2023_16-34-38] [Error:createWebsite] Websites matching query does not exist.
[10.27.2023_16-34-48] top level domain in cf: example.com
[10.27.2023_16-34-50] Status Code: 200 for: http://www.example.com/.well-known/acme-challenge/example.com
[10.27.2023_16-34-50] Status Code: 200 for: http://example.com/.well-known/acme-challenge/example.com
[10.27.2023_16-34-53] /root/.acme.sh/acme.sh --issue -d example.com -d www.example.com --cert-file /etc/letsencrypt/live/example.com/cert.pem --key-file /etc/letsencrypt/live/example.com/privkey.pem --fullchain-file /etc/letsencrypt/live/example.com/fullchain.pem -w /usr/local/lsws/Example/html -k ec-256 --force --server letsencrypt
[10.27.2023_16-35-04] Successfully obtained SSL for: example.com and: www.example.com
[10.27.2023_16-35-04] {'[email protected]': (554, b'5.7.1 <[email protected]>: Relay access denied')}
[10.27.2023_16-42-48] Error in istall plugin bucket: 'SavedPlugins'
[10.27.2023_16-48-07] invalid literal for int() with base 10: 'wc:' [getErrorLogs]
[10.27.2023_17-55-03] https://api.github.com/repos/usmannasir/cyberpanel/commits?sha=v2.3.4
ERROR LOGS
2023-10-27 16:42:30.852704 [NOTICE] [1452] [T0] Successfully change current user to nobody
2023-10-27 16:42:30.852710 [NOTICE] [1452] [T0] Core dump is enabled.
2023-10-27 16:42:30.852902 [INFO] [1452] [T0] [SSL_APK] created offloader with 2 workers.
2023-10-27 16:42:30.852944 [INFO] [1452] [T0] [MODSEC] created offloader with 10 workers.
2023-10-27 16:42:30.852970 [INFO] [1452] [T0] [MODSEC_BODY] created offloader with 50 workers.
2023-10-27 16:42:30.852971 [ALERT] [1452] [T0] LiteSpeed/6.1.2 Enterprise starts successfully!
2023-10-27 16:42:30.853770 [NOTICE] [1451] [T0] [Child: 1451] Setup swapping space...
2023-10-27 16:42:30.853805 [NOTICE] [1451] [T0] Successfully change current user to nobody
2023-10-27 16:42:30.853810 [NOTICE] [1451] [T0] Core dump is enabled.
2023-10-27 16:42:30.853979 [INFO] [1451] [T0] [SSL_APK] created offloader with 2 workers.
2023-10-27 16:42:30.854032 [INFO] [1451] [T0] [MODSEC] created offloader with 10 workers.
2023-10-27 16:42:30.854064 [INFO] [1451] [T0] [MODSEC_BODY] created offloader with 50 workers.
2023-10-27 16:42:30.854066 [ALERT] [1451] [T0] LiteSpeed/6.1.2 Enterprise starts successfully!
2023-10-27 16:42:43.796222 [INFO] [1451] [T0] [APVH_sjhen3645_Sulsphp80:]: locked pid file [/usr/local/lsws/extapp-sock/APVH_sjhen3645_Suphp80.sock.pid].
2023-10-27 16:42:43.796239 [INFO] [1451] [T0] [APVH_sjhen3645_Sulsphp80:] remove unix socket for detached process: /usr/local/lsws/extapp-sock/APVH_sjhen3645_Suphp80.sock
2023-10-27 16:42:43.796668 [INFO] [1451] [T0] [APVH_sjhen3645_Sulsphp80:] add child process pid: 1559, procinfo: 0x213fa80
2023-10-27 16:42:43.796686 [INFO] [1451] [T0] [APVH_sjhen3645_Sulsphp80:]: unlocked pid file [/usr/local/lsws/extapp-sock/APVH_sjhen3645_Suphp80.sock.pid].
2023-10-27 16:42:43.782434 [INFO] [1452] [T0] [127.0.0.1:60632#APVH_example.com] File not found [/home/example.com/public_html/2023/10/27/hello-world/]
2023-10-27 16:43:13.173675 [INFO] [1451] [T0] [95.214.55.115:43476#APVHost1] File not found [/usr/local/lsws/DEFAULT/html/boaform/admin/formLogin]
2023-10-27 16:45:30.490990 [INFO] [1451] [T0] [APVH_sjhen3645_Sulsphp80:]: locked pid file [/usr/local/lsws/extapp-sock/APVH_sjhen3645_Suphp80.sock.pid].
2023-10-27 16:45:30.491010 [INFO] [1451] [T0] [APVH_sjhen3645_Sulsphp80:] remove unix socket for detached process: /usr/local/lsws/extapp-sock/APVH_sjhen3645_Suphp80.sock
2023-10-27 16:45:30.491707 [INFO] [1451] [T0] [APVH_sjhen3645_Sulsphp80:] add child process pid: 1655, procinfo: 0x21479f0
2023-10-27 16:45:30.491818 [INFO] [1451] [T0] [APVH_sjhen3645_Sulsphp80:]: unlocked pid file [/usr/local/lsws/extapp-sock/APVH_sjhen3645_Suphp80.sock.pid].
2023-10-27 16:46:05.120290 [INFO] [1451] [T0] [APVH_sjhen3645_Sulsphp80:]: locked pid file [/usr/local/lsws/extapp-sock/APVH_sjhen3645_Suphp80.sock.pid].
2023-10-27 16:46:05.120307 [INFO] [1451] [T0] [APVH_sjhen3645_Sulsphp80:] remove unix socket for detached process: /usr/local/lsws/extapp-sock/APVH_sjhen3645_Suphp80.sock
2023-10-27 16:46:05.120993 [INFO] [1451] [T0] [APVH_sjhen3645_Sulsphp80:] add child process pid: 1683, procinfo: 0x2151410
2023-10-27 16:46:05.121189 [INFO] [1451] [T0] [APVH_sjhen3645_Sulsphp80:]: unlocked pid file [/usr/local/lsws/extapp-sock/APVH_sjhen3645_Suphp80.sock.pid].
2023-10-27 16:46:52.145912 [INFO] [1451] [T0] [188.214.125.181:52061#APVHost1] File not found [/usr/local/lsws/DEFAULT/html/.env]
2023-10-27 16:51:03.175816 [INFO] [1452] [T0] [APVH_sjhen3645_Sulsphp80:]: locked pid file [/usr/local/lsws/extapp-sock/APVH_sjhen3645_Suphp80.sock.pid].
2023-10-27 16:51:03.175838 [INFO] [1452] [T0] [APVH_sjhen3645_Sulsphp80:] remove unix socket for detached process: /usr/local/lsws/extapp-sock/APVH_sjhen3645_Suphp80.sock
2023-10-27 16:51:03.176498 [INFO] [1452] [T0] [APVH_sjhen3645_Sulsphp80:] add child process pid: 5605, procinfo: 0x2140870
2023-10-27 16:51:03.176598 [INFO] [1452] [T0] [APVH_sjhen3645_Sulsphp80:]: unlocked pid file [/usr/local/lsws/extapp-sock/APVH_sjhen3645_Suphp80.sock.pid].
2023-10-27 16:51:43.573484 [INFO] [1451] [T0] [APVH_sjhen3645_Sulsphp80:]: locked pid file [/usr/local/lsws/extapp-sock/APVH_sjhen3645_Suphp80.sock.pid].
2023-10-27 16:51:43.573500 [INFO] [1451] [T0] [APVH_sjhen3645_Sulsphp80:] remove unix socket for detached process: /usr/local/lsws/extapp-sock/APVH_sjhen3645_Suphp80.sock
2023-10-27 16:51:43.573943 [INFO] [1451] [T0] [APVH_sjhen3645_Sulsphp80:] add child process pid: 5636, procinfo: 0x2179230
2023-10-27 16:51:43.574014 [INFO] [1451] [T0] [APVH_sjhen3645_Sulsphp80:]: unlocked pid file [/usr/local/lsws/extapp-sock/APVH_sjhen3645_Suphp80.sock.pid].
2023-10-27 16:52:31.101305 [INFO] [1441] [T0] Download QUIC.cloud whitelist IP to admin/tmp/download-quic-cloud-ips ...
2023-10-27 16:52:31.101758 [NOTICE] [1441] [T0] [5650] [AutoUpdate] Checking for new releases...
2023-10-27 16:52:31.123674 [INFO] [1441] [T0] [AutoUpdate] No new update.
2023-10-27 16:52:31.363816 [NOTICE] [1441] [T0] [5651] Start to clean up cache directory.
2023-10-27 16:58:00.162327 [INFO] [1451] [T0] [APVH_sjhen3645_Sulsphp80:]: locked pid file [/usr/local/lsws/extapp-sock/APVH_sjhen3645_Suphp80.sock.pid].
2023-10-27 16:58:00.162344 [INFO] [1451] [T0] [APVH_sjhen3645_Sulsphp80:] remove unix socket for detached process: /usr/local/lsws/extapp-sock/APVH_sjhen3645_Suphp80.sock
2023-10-27 16:58:00.162821 [INFO] [1451] [T0] [APVH_sjhen3645_Sulsphp80:] add child process pid: 5941, procinfo: 0x215cc00
2023-10-27 16:58:00.162900 [INFO] [1451] [T0] [APVH_sjhen3645_Sulsphp80:]: unlocked pid file [/usr/local/lsws/extapp-sock/APVH_sjhen3645_Suphp80.sock.pid].
2023-10-27 17:11:26.518320 [INFO] [1452] [T0] [APVH_sjhen3645_Sulsphp80:]: locked pid file [/usr/local/lsws/extapp-sock/APVH_sjhen3645_Suphp80.sock.pid].
2023-10-27 17:11:26.518337 [INFO] [1452] [T0] [APVH_sjhen3645_Sulsphp80:] remove unix socket for detached process: /usr/local/lsws/extapp-sock/APVH_sjhen3645_Suphp80.sock
2023-10-27 17:11:26.518945 [INFO] [1452] [T0] [APVH_sjhen3645_Sulsphp80:] add child process pid: 6253, procinfo: 0x21434f0
2023-10-27 17:11:26.519020 [INFO] [1452] [T0] [APVH_sjhen3645_Sulsphp80:]: unlocked pid file [/usr/local/lsws/extapp-sock/APVH_sjhen3645_Suphp80.sock.pid].
2023-10-27 17:11:27.369327 [INFO] [1452] [T0] [172.233.144.138:63202-3#APVH_example.com] File not found [/home/example.com/public_html/wp-json/wp/v2/users/]
2023-10-27 17:13:49.671958 [INFO] [1451] [T0] [170.64.134.89:55512] Status 400: Bad request method:
Operating system:
Ubuntu 22.04
CyberPanel version:
Current Version: 2.3
Build: 4Current Commit: d65b6b5bcd4e89ce1a0eeb74131f98093e85bb3a