Failed to get release information
-
ubuntu:~$ sudo ./cloudron-setup
##############################################
Cloudron Setup (latest)
##############################################Follow setup logs in a second terminal with:
$ tail -f /var/log/cloudron-setup.logJoin us at https://forum.cloudron.io for any questions.
=> Updating apt and installing script dependencies
=> Checking version
Failed to get release informationAnyone knows how to solve this issue?
-
@ghaisasadvait can you run the script again?
-
@ghaisasadvait Can you try this command on the server? I tried a new install now and it seems to work fine.
curl https://api.cloudron.io/api/v1/releases
If the command fails, you can try the commands below:
First, if the DNS look is working:
host api.cloudron.io
Next, if it is some http related issue:
curl -v https://api.cloudron.io/api/v1/releases
-
@girish said in Failed to get release information:
advait@ubuntu:~$ curl https://api.cloudron.io/api/v1/releases
curl: (77) error setting certificate verify locations:
CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
advait@ubuntu:~$ host api.cloudron.io
api.cloudron.io has address 3.209.21.239
advait@ubuntu:~$ curl -v https://api.cloudron.io/api/v1/releases- Trying 3.209.21.239...
- TCP_NODELAY set
- Connected to api.cloudron.io (3.209.21.239) port 443 (#0)
- ALPN, offering h2
- ALPN, offering http/1.1
- error setting certificate verify locations:
CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs - Closing connection 0
curl: (77) error setting certificate verify locations:
CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
-
@ghaisasadvait Thanks, there is something wrong with the certificate store or does your setup require some http proxy or something? The certs are valid:
Not sure how to debug this but do other things work fine? Say
curl https://cloudron.io
andcurl https://my.cloudron.io
? I can confirm that the IP address it tries to connect is also correct. -
@ghaisasadvait Is this Ubuntu 16/18/20 ?
-
@girish said in Failed to get release information:
all curl commands related to cloudron.io give certificate error like above
-
@ghaisasadvait How did you manage to download the
cloudron-setup
script in the first place? Maybe you can trysudo update-ca-certificates
to see if that helps. Also, can you confirm that you can access cloudron.io and api.cloudron.io from other devices of your house? (so we can localize this to a VM issue). -
@girish said in Failed to get release information:
sudo update-ca-certificates
sudo update-ca-certificates
This worked!..pretty odd since i updated and upgraded all the packages beforehand