Is the VPS located in India? If so, Indian government has blocked the site get.acme.sh and VPS using Indian ISP will get this error.
You can shift the location or use different ISP in VPS if there is such option provided by Hosting provider and try again.
ping get.acme.sh
PING get.acme.sh (172.67.199.16) 56(84) bytes of data.
64 bytes from 172.67.199.16 (172.67.199.16): icmp_seq=1 ttl=62 time=1.67 ms
64 bytes from 172.67.199.16 (172.67.199.16): icmp_seq=2 ttl=62 time=2.13 ms
64 bytes from 172.67.199.16 (172.67.199.16): icmp_seq=3 ttl=62 time=2.00 ms
64 bytes from 172.67.199.16 (172.67.199.16): icmp_seq=4 ttl=62 time=1.84 ms
64 bytes from 172.67.199.16 (172.67.199.16): icmp_seq=5 ttl=62 time=1.84 ms
64 bytes from 172.67.199.16 (172.67.199.16): icmp_seq=6 ttl=62 time=2.00 ms
64 bytes from 172.67.199.16 (172.67.199.16): icmp_seq=7 ttl=62 time=1.95 ms
64 bytes from 172.67.199.16 (172.67.199.16): icmp_seq=8 ttl=62 time=1.97 ms
64 bytes from 172.67.199.16 (172.67.199.16): icmp_seq=9 ttl=62 time=2.06 ms
As you mentioned your hosting provider is google cloud, it has its own firewall system. You will need to unblock various port numbers while setting up the vps. You can google it to know how to configure your firewall settings to setup vps.
Branch ‘v2.1.2’ set up to track remote branch ‘v2.1.2’ from ‘origin’.
Switched to a new branch ‘v2.1.2’
/root
Cloning into ‘acme.sh’…
remote: Enumerating objects: 14232, done.
remote: Counting objects: 100% (10/10), done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 14232 (delta 1), reused 3 (delta 1), pack-reused 14222
Receiving objects: 100% (14232/14232), 5.17 MiB | 18.99 MiB/s, done.
Resolving deltas: 100% (8618/8618), done.
[Sat Dec 25 09:34:01 UTC 2021] Please install openssl first. ACME_OPENSSL_BIN=openssl
[Sat Dec 25 09:34:01 UTC 2021] We need openssl to generate keys.
[Sat Dec 25 09:34:01 UTC 2021] Pre-check failed, can not install.
./cyberpanel.sh: line 181: /root/.acme.sh/acme.sh: No such file or directory
/root/.acme.sh/acme.sh --upgrade --auto-upgrade has failed for 1 times
Wait for 3 seconds and try again…
./cyberpanel.sh: line 181: /root/.acme.sh/acme.sh: No such file or directory