Error: test wordpress HTTP first page failed

#1
Hello,

1-Click Install on Ubuntu 22 on Oracle Cloud and Atlantic.net cloud fail with:

Code:
Error: test wordpress HTTP first page failed.
Error: test wordpress HTTPS first page failed.
I used

wget https://raw.githubusercontent.com/litespeedtech/ols1clk/master/ols1clk.sh && bash ols1clk.sh --wordpressplus subdomain.mydomain.com

But I also used (and get same) fully customized options with 100% same outcome.

Any idea what it is about?
 

Cold-Egg

Administrator
#2
So you want to install ols with an existing WordPress, maybe you have another web server running so the OLS failed to start and test?
 

Cold-Egg

Administrator
#4
Hi,

I did a clean test, and still no issue.

testresult.png

OS:
Code:
PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.1 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
May I know your Shape?
 
#8
Code:
curl: option -k https://raw.githubusercontent.com/litespeedtech/ols1clk/master/ols1clk.sh : is unknown
curl: try 'curl --help' or 'curl --manual' for more information
 
#9
Hi,

I did a clean test, and still no issue.

View attachment 1032

OS:
Code:
PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.1 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
May I know your Shape?
I figured the problem.

First to note, that it is same on Ubuntu and CentOS.

Problem is that -- wordpressplus option not works and there is broken everything. If you observe your screenshot, you will see that you DID NOT INSTALLED WORDPRESS PLUS, you only added WordPress with -W (that worked for me also).

However, I see point of 1-click install only if it is truly 1-click with WordPress installation and configuration included (I guess that for that reasons are added those options).

So, please try now to install with "-- wordpressplus yourdomain.com" and you will see how script is broken 100% sure.
 
#10
Curl script is broken also.

First, on your page is written with lowercase "-k" and such option doesn't exist.

Second, when you try with uppercase "-K" (what can be as option), script show how it si broken (maybe connected with above problem???).
 
#11
Well .... my bad. There is no written anywhere in docs that I should also to work on CLI with firewall, I thought that it is enough to set rules in Oracle dashboard. So, it 1-click install script works well on both, Oracle Cloud and Atlantic.Net, but only "wget" solution, as "curl" solution doesn't recognize "-k" option. However, "wget" is just fine.
 

Cold-Egg

Administrator
#12
Just to clarify it again, the -k should work and it works on my oracle cloud server.

Run the man curl, and I can see the following definition,

Code:
       -k, --insecure
              (TLS SFTP SCP) By default, every secure connection curl makes is verified to be secure before the transfer takes place. This option makes curl skip the verification  step
              and proceed without checking.

              When  this  option is not used for protocols using TLS, curl verifies the server's TLS certificate before it continues: that the certificate contains the right name which
              matches the host name used in the URL and that the certificate has been signed by a CA certificate present in the cert store.  See this online resource  for  further  de‐
              tails:
               https://curl.se/docs/sslcerts.html
Maybe you can just remove the parameter from your curl command in order to have it works.
Let me know if you have any questions.
 
Top