Error: Cannot write to “-” (Success). When Install Cyberpanel in Google Cloud Platform (GCP)

I Try to install Cyberpanel in my fresh install Centos 7 from Instance GCP. But I get an error while installing it. Anyone can help me…?

here is the error message:

[ardan7779@centos7 /]$ sudo sh <(curl https://cyberpanel.net/install.sh || sudo wget -O - https://cyberpanel.net/install.sh)
sh: /dev/fd/63: No such file or directory
[ardan7779@centos7 /]$ % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 9071 100 9071 0 0 21548 0 --:–:-- --:–:-- --:–:-- 140k
curl: (23) Failed writing body (0 != 9071)
–2018-08-18 15:53:58-- https://cyberpanel.net/install.sh
Resolving cyberpanel.net… 35.236.113.106
Connecting to cyberpanel.net|35.236.113.106|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 9071 (8.9K) [application/x-sh]
Saving to: “STDOUT”

0% [ ] 0 --.-K/s in 0s

Cannot write to “-” (Success).

First, do

sudo su

Then run the installation command.

First, do
sudo su

Then run the installation command.

Thanks, it is work!

First, do
sudo su

Then run the installation command.

Hello!
I am using google cloud and also got the same error. I tried to do as you instructed but still got the error above. How do I fix it?

Type your comment> @kienvictory said:

(Quote)
Hello!
I am using google cloud and also got the same error. I tried to do as you instructed but still got the error above. How do I fix it?

It is actually sudo su -
don’t forget the dash (-) in front

‘sudo su -’ solved it for me