CyberPanel v2.0 issue with WordPress install on new Site (404)

Hi all,

So ever since I upgraded to 2.0, I am not able to create new websites and install WordPress LS Cache. I never had a issue on 1.9 until I ended up upgrading.

Here are the steps that I follow:
Create a website and input all of the correct information and domain.

Click on install WordPress/LSCache and I get the green bar and a “Successfully installed WordPress” message but /public_html/ stays empty.

My vHost.file has the autoload:
rewrite {
enable 1
autoLoadHtaccess 1
}

My .htaccess has the following:
cat: /home/saintlouis.events/public_html/.htaccess: No such file or directory

Even when I input the .htaccess for WordPress manually, it doesn’t work. Here what I MANUALLY inputted into the .htaccess:

BEGIN WordPress

The directives (lines) between BEGIN WordPress and END WordPress are

dynamically generated, and should only be modified via WordPress filters.

Any changes to the directives between these markers will be overwritten.

RewriteEngine On RewriteBase / RewriteRule ^index\\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L]

END WordPress

BEGIN MainWP

The directives (lines) between BEGIN MainWP and END MainWP are

dynamically generated, and should only be modified via WordPress filters.

Any changes to the directives between these markers will be overwritten.

END MainWP

So when I went into the FTP and MANUALLY installed a wordpress install into public_html/ and I’m still getting the 404 page.

Anyone know what might be causing this?

turn on debug logs by running following command

touch /usr/local/CyberCP/debug

Then install WordPress and provide output from CyberPanel main log file.

Type your comment> @CyberPanel said:

turn on debug logs by running following command

touch /usr/local/CyberCP/debug

Then install WordPress and provide output from CyberPanel main log file.

I just submitted a comment awaiting for approval.

My problem is also looking similar I install cyberpanel in fresh aws machine create domain install wordpress and open web site but site show 404 error
Inside wp folder all files are present but still show not found

Issue is eg i use Cloudflare
First my site is host in
Www.yourdomain.xyz ip is old machine 315.616.Xxx.Xxx ( old machine ip)
I change ip with eg
Www.yourdomain.com 57.657.xxx.xxx (New cyber panel machine)

Site show 404 error i do everything reboot server lite speed restart everything but not work

Only one solution work

Deleted your domain and again add its suddenly work means issue is in panel some time site does not recognize with server and it’s really very old issue i test in 2018 end same issue but this issue still present and not fix

So delete domain and again add and install wp i am sure its 100% work

So delete domain and again add and install wp i am sure its 100% work

Hi all,
I wanted to install WordPress but I was unable to install it, it showed an error code.

installation error [“invalid literal for int() with base 10: ‘’ [404]”.
But I don’t know what it means.

This is the log file it generated.
[04.23.2023_19-51-24] Trying to obtain SSL for: Soundness.ml
[04.23.2023_19-51-41] Failed to obtain SSL, issuing self-signed SSL for: Soundness.ml
[04.23.2023_19-51-45] Self signed SSL issued for Soundness.ml.
[04.23.2023_19-51-49] systemctl restart lsws
[04.23.2023_19-51-53] systemctl restart postfix
[04.23.2023_19-51-55] systemctl restart dovecot
[04.23.2023_19-55-09] 4I86wLbdmRDVrdlXS1sRSMXntBnbH/3/sudo chown -R cyberpanel:cyberpanel /home/cyberpanel
[04.23.2023_19-55-09] 4I86wLbdmRDVrdlXS1sRSMXntBnbH/3/sudo wp --info
[04.23.2023_19-55-10] Extra data: line 1 column 2 (char 1). [setupConnection:75]
[04.23.2023_19-55-10] CREATE DATABASE Bn1FZ8nLchpljX
[04.23.2023_19-55-10] CREATE USER ‘Bn1FZ8nLchpljX’@‘localhost’ IDENTIFIED BY ‘a1qT1pBePfd0la’
[04.23.2023_19-55-11] GRANT ALL PRIVILEGES ON Bn1FZ8nLchpljX.* TO ‘Bn1FZ8nLchpljX’@‘localhost’
[04.23.2023_19-55-11] 4I86wLbdmRDVrdlXS1sRSMXntBnbH/3/-u Sound4397 mkdir -p /home/Soundness.ml/public_html/
[04.23.2023_19-55-11] string index out of range [executioner]
[04.23.2023_19-55-11] 4I86wLbdmRDVrdlXS1sRSMXntBnbH/3/-u Sound4397 ls /home/Soundness.ml/public_html/ | wc -l
[04.23.2023_19-56-07] 4I86wLbdmRDVrdlXS1sRSMXntBnbH/3/sudo chown -R cyberpanel:cyberpanel /home/cyberpanel
[04.23.2023_19-56-39] 4I86wLbdmRDVrdlXS1sRSMXntBnbH/3/sudo chown -R cyberpanel:cyberpanel /home/cyberpanel
[04.23.2023_19-56-39] 4I86wLbdmRDVrdlXS1sRSMXntBnbH/3/sudo wp --info
[04.23.2023_19-56-40] Extra data: line 1 column 2 (char 1). [setupConnection:75]
[04.23.2023_19-56-40] CREATE DATABASE GYPiluQSm8URxu
[04.23.2023_19-56-40] CREATE USER ‘GYPiluQSm8URxu’@‘localhost’ IDENTIFIED BY ‘Tfh67P1sZksgM5’
[04.23.2023_19-56-40] GRANT ALL PRIVILEGES ON GYPiluQSm8URxu.* TO ‘GYPiluQSm8URxu’@‘localhost’
[04.23.2023_19-56-40] 4I86wLbdmRDVrdlXS1sRSMXntBnbH/3/-u Sound4397 mkdir -p /home/Soundness.ml/public_html/About/
[04.23.2023_19-56-40] string index out of range [executioner]
[04.23.2023_19-56-40] 4I86wLbdmRDVrdlXS1sRSMXntBnbH/3/-u Sound4397 ls /home/Soundness.ml/public_html/About/ | wc -l
[04.24.2023_04-00-11] cat /home/Soundness.ml/logs/Soundness.ml.access_log
[04.24.2023_04-00-23] /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/IncScheduler.py ‘30 Minutes’
[04.24.2023_04-00-23] /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/IncScheduler.py ‘1 Hour’
[04.24.2023_04-30-08] /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/IncScheduler.py ‘30 Minutes’
[04.24.2023_05-00-08] cat /home/Soundness.ml/logs/Soundness.ml.access_log
[04.24.2023_05-00-19] /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/IncScheduler.py ‘1 Hour’
[04.24.2023_05-00-21] /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/IncScheduler.py ‘30 Minutes’
[04.24.2023_05-30-09] /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/IncScheduler.py ‘30 Minutes’
[04.24.2023_06-00-11] cat /home/Soundness.ml/logs/Soundness.ml.access_log
[04.24.2023_06-00-22] /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/IncScheduler.py ‘30 Minutes’
[04.24.2023_06-00-26] /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/IncScheduler.py ‘6 Hours’
[04.24.2023_06-00-27] /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/IncScheduler.py ‘1 Hour’
[04.24.2023_06-30-08] /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/IncScheduler.py ‘30 Minutes’
[04.24.2023_07-00-06] cat /home/Soundness.ml/logs/Soundness.ml.access_log
[04.24.2023_07-00-20] /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/IncScheduler.py ‘30 Minutes’
[04.24.2023_07-00-22] /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/IncScheduler.py ‘1 Hour’
[04.24.2023_07-30-09] /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/IncScheduler.py ‘30 Minutes’
[04.24.2023_08-00-10] cat /home/Soundness.ml/logs/Soundness.ml.access_log
[04.24.2023_08-00-22] /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/IncScheduler.py ‘30 Minutes’
[04.24.2023_08-00-22] /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/IncScheduler.py ‘1 Hour’
[04.24.2023_08-30-07] /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/IncScheduler.py ‘30 Minutes’
[04.24.2023_00-35-29] 4I86wLbdmRDVrdlXS1sRSMXntBnbH/3/sudo chown -R cyberpanel:cyberpanel /home/cyberpanel
[04.24.2023_09-00-05] cat /home/Soundness.ml/logs/Soundness.ml.access_log
[04.24.2023_09-00-23] /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/IncScheduler.py ‘30 Minutes’
[04.24.2023_09-00-23] /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/IncScheduler.py ‘1 Hour’

Please can you be of help, I’m a complete novice.