Failed to get release information
-
@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
-
I am getting the same error message on a fresh Hetzner VPS Ubuntu 22.04.3 install.
=> Updating apt and installing script dependencies => Validating setup token => Checking version Failed to get release information
When I look at the logs I get the following output:
root@ubuntu-2gb-nbg1-1:~# cat /var/log/cloudron-setup.log Running cloudron-setup with args : -- Hit:1 https://mirror.hetzner.com/ubuntu/packages jammy InRelease Hit:2 https://mirror.hetzner.com/ubuntu/packages jammy-updates InRelease Hit:3 https://mirror.hetzner.com/ubuntu/packages jammy-backports InRelease Hit:4 https://mirror.hetzner.com/ubuntu/security jammy-security InRelease Reading package lists... Reading package lists... Building dependency tree... Reading state information... curl is already the newest version (7.81.0-1ubuntu1.15). python3 is already the newest version (3.10.6-1~22.04). software-properties-common is already the newest version (0.99.22.9). ubuntu-standard is already the newest version (1.481.1). 0 upgraded, 0 newly installed, 0 to remove and 36 not upgraded.
Anybody has any ideas what the problem might be? Not sure if it makes a difference but the server only has an IPv6 address.
-
The setup is basically this, the cheapest Hetzner VPS with a fresh Ubuntu 22.04.3 install. Didn't do anything special, just ssh'd in and ran the three install commands from Cloudrons homepage.
I tried running both of the commands, the first one fails, the second one works:
root@ubuntu-2gb-nbg1-1:~# curl https://api.cloudron.io/api/v1/releases curl: (7) Couldn't connect to server root@ubuntu-2gb-nbg1-1:~# host api.cloudron.io api.cloudron.io has address 165.227.67.76
-
@luckym thanks. the DNS resolution is correct. It seems it is not able to make outbound request for some reason. I just checked from multiple servers and
api.cloudron.io
seems fine. Are you able to curl other sites? Saycurl https://www.cloudron.io
?Another idea: start afresh with ubuntu 22.04. then, run the curl command first. then, run cloudron-setup script. This will give us a better idea if it is some installation issue or some VM issue.
-
Thanks girish. I tried to curl other sites and that worked fine as well. Also from my local computer curling
api.cloudron.io
works fine. I then deleted the server and set up a fresh server and tried the curl command first as you suggested. Same issue.After that I deleted the server again and set up a new server that also has a IPv4 address instead of IPv6 only. This time the curl command to
api.cloudron.io
worked and the setup script is currently running just fine ¯_(ツ)_/¯ . -
-
-