need help with installation error
-
@mikewen8888 so your server still seems to have DNS resolving issues. To avoid a lot of back and forth, if you want you could add our ssh support key to your server. The public key is at https://docs.cloudron.io/support/#ssh-keys and then send us a mail with your server IP to support@cloudron.io That way we can directly look at the issue to figure out what is wrong.
-
Since this is an internal VM, please also check that outbound DNS port 53 (udp/tcp) is allowed in the firewall
-
@nebulon i already added the key using
noob@cloud:~$ sudo nano /home/.ssh/authorized_keys
and copy paste the keys into that file
hope it was the right procedure since i had minimal ubuntu knowledge
and already email the IP address
-
@girish i tried this
noob@cloud:~$ sudo ss -ltn State Recv-Q Send-Q Local Address:Port Peer Address:Port Process LISTEN 0 70 127.0.0.1:33060 0.0.0.0:* LISTEN 0 151 127.0.0.1:3306 0.0.0.0:* LISTEN 0 4096 0.0.0.0:111 0.0.0.0:* LISTEN 0 256 127.0.0.1:53 0.0.0.0:* LISTEN 0 128 0.0.0.0:22 0.0.0.0:* LISTEN 0 128 127.0.0.1:6010 0.0.0.0:* LISTEN 0 128 127.0.0.1:6011 0.0.0.0:* LISTEN 0 4096 [::]:111 [::]:* LISTEN 0 256 [::1]:53 [::]:* LISTEN 0 128 [::]:22 [::]:* LISTEN 0 128 [::1]:6010 [::]:* LISTEN 0 128 [::1]:6011 [::]:* noob@cloud:~$
is that means that outbound 53 is opened?
-
@girish and @nebulon I managed to continue setup process after curl error (edit /etc/resolv.conf) and put nameserver my ISP provider DNS server address and move further into installation, but continue to have problem:
noob@cloud:~$ sudo ./cloudron-setup ############################################## Cloudron Setup (latest) ############################################## Follow setup logs in a second terminal with: $ tail -f /var/log/cloudron-setup.log Join us at https://forum.cloudron.io for any questions. => Updating apt and installing script dependencies => Checking version => Downloading version 7.1.3 ... => Installing base dependencies and downloading docker images (this takes some time) ...Init script failed. See /var/log/cloudron-setup.log for details noob@cloud:~$ sudo nano /etc/resolv.conf noob@cloud:~$ sudo ./cloudron-setup ############################################## Cloudron Setup (latest) ############################################## Follow setup logs in a second terminal with: $ tail -f /var/log/cloudron-setup.log Join us at https://forum.cloudron.io for any questions. => Updating apt and installing script dependencies => Checking version => Downloading version 7.1.3 ... => Installing base dependencies and downloading docker images (this takes some time) ...Init script failed. See /var/log/cloudron-setup.log for details
and this was the log:
Status: Downloaded newer image for cloudron/redis@sha256:30a5550c41c3be3a01dbf457497ba2f3c05f3121c595a17ef1aacbef931b6114 docker.io/cloudron/redis:3.2.1@sha256:30a5550c41c3be3a01dbf457497ba2f3c05f3121c595a17ef1aacbef931b6114 3.2.1: Pulling from cloudron/redis Digest: sha256:30a5550c41c3be3a01dbf457497ba2f3c05f3121c595a17ef1aacbef931b6114 Status: Downloaded newer image for cloudron/redis:3.2.1 docker.io/cloudron/redis:3.2.1 docker.io/cloudron/mail@sha256:b8b93f007105080d4812a05648e6bc5e15c95c63f511c829cbc14a163d9ea029: Pulling from cloudron/mail 7b1a6ab2e44d: Already exists d31a421b39ea: Already exists c76a020f512e: Already exists 9b5e5618526c: Already exists ed7c6b8f03d8: Already exists c8c17ce1ab75: Already exists efee782790c4: Already exists 808ed6fa660f: Already exists 1fa83f475aee: Already exists 18d03f295db8: Already exists 9cab82ff68f4: Already exists 4bcaeaf4f2f6: Already exists 5b9cc15aeb11: Already exists 4f8c28ca9c77: Pulling fs layer 2c132374d0c4: Pulling fs layer 7966fbdf5523: Pulling fs layer e7279799347e: Pulling fs layer 7b9f10f5a3c6: Pulling fs layer 1c8de110044a: Pulling fs layer 3fc5bea24466: Pulling fs layer 80d8285bbdab: Pulling fs layer 0894df8c0d1f: Pulling fs layer 27a6541de7d0: Pulling fs layer 488082c15c3b: Pulling fs layer 2469ac626830: Pulling fs layer 3ff575c068a0: Pulling fs layer d57d78c56c55: Pulling fs layer da22a21498d3: Pulling fs layer a66e38f3fe62: Pulling fs layer 0def8839514c: Pulling fs layer 0259ac685b11: Pulling fs layer 7f2daa1ea009: Pulling fs layer d8c80dd67eaf: Pulling fs layer e7279799347e: Waiting 7b9f10f5a3c6: Waiting 1c8de110044a: Waiting 3fc5bea24466: Waiting 80d8285bbdab: Waiting 0894df8c0d1f: Waiting 27a6541de7d0: Waiting 488082c15c3b: Waiting 2469ac626830: Waiting 3ff575c068a0: Waiting d57d78c56c55: Waiting da22a21498d3: Waiting a66e38f3fe62: Waiting 0def8839514c: Waiting 0259ac685b11: Waiting 7f2daa1ea009: Waiting d8c80dd67eaf: Waiting error pulling image configuration: error parsing HTTP 409 response body: invalid character 'e' looking for beginning of value: "error code: 1001"
after this error, I can not resume nor try to run cloudron-setup script again:
noob@cloud:~$ sudo ./cloudron-setup Error: Some packages like nginx/docker/nodejs are already installed. Cloudron requires specific versions of these packages and will install them as part of it's installation. Please start with a fresh Ubuntu install and run this script again. noob@cloud:~$
can you please analyze what went wrong this time?
2 nights ago your guy did connect with ssh to the server, but he aborted the installation process due to slow internet connection of the server
-
@mikewen8888 can you try to run the following command and see if that succeeds?
docker pull cloudron/mail@sha256:b8b93f007105080d4812a05648e6bc5e15c95c63f511c829cbc14a163d9ea029
If so, it might have been a temporary docker hub issue. Also check if there is enough disk space available. Then reset the server back to the pristine Ubuntu image and retry the
cloudron-setup
-
@nebulon i re-create the VM
install new ubuntu sever
run cloudron-setup script
encounter curl error
edit resolv.conf
re-run cloudron-setup
this time, docker went through with no problem
finished installing base dependencies and downloading docker images
installing version 7.1.3and encounter new problem:
# we need unbound to work as this is required for installer.sh to do any DNS requests echo -e "server:\n\tinterface: 127.0.0.1\n\tdo-ip6: no" > /etc/unbound/unbound.conf.d/cloudron-network.conf systemctl restart unbound cat: /home/yellowtent/box/VERSION: No such file or directory 2022-03-04T14:58:59 ==> installer: Updating from to 7.1.3 2022-03-04T14:58:59 ==> installer: updating docker /usr/sbin/mount.nfs /usr/bin/sshfs 2022-03-04T14:58:59 ==> installer: updating node rebuilt dependencies successfully 2022-03-04T14:59:27 ==> installer: downloading new addon images 2022-03-04T14:59:27 ==> installer: Pulling docker images: cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea cloudron/turn:1.4.0@sha256:45817f1631992391d585f171498d257487d872480fd5646723a2b956cc4ef15d cloudron/mysql:3.2.1@sha256:75cef64ba4917ba9ec68bc0c9d9ba3a9eeae00a70173cd6d81cc6118038737d9 cloudron/postgresql:4.3.0@sha256:9f0cfe83310a6f67885c21804c01e73c8d256606217f44dcefb3e05a5402b2c9 cloudron/mongodb:4.2.0@sha256:c8ebdbe2663b26fcd58b1e6b97906b62565adbe4a06256ba0f86114f78b37e6b cloudron/redis:3.2.1@sha256:30a5550c41c3be3a01dbf457497ba2f3c05f3121c595a17ef1aacbef931b6114 cloudron/mail:3.6.1@sha256:b8b93f007105080d4812a05648e6bc5e15c95c63f511c829cbc14a163d9ea029 cloudron/graphite:3.1.0@sha256:30ec3a01964a1e01396acf265183997c3e17fb07eac1a82b979292cc7719ff4b cloudron/sftp:3.6.0@sha256:9c686b10c1a3ba344a743f399d08b4da5426e111f455114980f0ae0229c1ab23 Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) 2022-03-04T14:59:42 ==> installer: Could not pull cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) 2022-03-04T15:00:02 ==> installer: Could not pull cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) 2022-03-04T15:00:22 ==> installer: Could not pull cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea Error response from daemon: Get "https://registry-1.docker.io/v2/": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2022-03-04T15:00:42 ==> installer: Could not pull cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea Error response from daemon: Get "https://registry-1.docker.io/v2/": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2022-03-04T15:01:02 ==> installer: Could not pull cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea Error response from daemon: Get "https://registry-1.docker.io/v2/": context deadline exceeded 2022-03-04T15:01:22 ==> installer: Could not pull cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) 2022-03-04T15:01:42 ==> installer: Could not pull cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) 2022-03-04T15:02:02 ==> installer: Could not pull cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) 2022-03-04T15:02:22 ==> installer: Could not pull cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) 2022-03-04T15:02:42 ==> installer: Could not pull cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea Error response from daemon: Get "https://registry-1.docker.io/v2/": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2022-03-04T15:03:02 ==> installer: Could not pull cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea Error response from daemon: Get "https://registry-1.docker.io/v2/": context deadline exceeded 2022-03-04T15:03:22 ==> installer: Could not pull cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) 2022-03-04T15:03:43 ==> installer: Could not pull cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) 2022-03-04T15:04:03 ==> installer: Could not pull cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) 2022-03-04T15:04:23 ==> installer: Could not pull cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) 2022-03-04T15:04:43 ==> installer: Could not pull cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea Error response from daemon: Get "https://registry-1.docker.io/v2/": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2022-03-04T15:05:03 ==> installer: Could not pull cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) 2022-03-04T15:05:23 ==> installer: Could not pull cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
its still keep running with that kind of error
please advice what to do
-
@nebulon very strange, resolv.conf change again
so while the log still showing that error response from daemon
i edit (again) resolv.conf and put my ISP DNS server addressnow it is success, finished the cloudron installation
so the step was:
install new ubuntu sever
run cloudron-setup script
encounter curl error
edit resolv.conf
re-run cloudron-setup
this time, docker went through with no problem
finished installing base dependencies and downloading docker images
installing version 7.1.3
encounter error response from daemon
edit resolv.conf (again)
error gone, continue with docker pull
finished installationnoob@cloud:~$ sudo ./cloudron-setup ############################################## Cloudron Setup (latest) ############################################## Follow setup logs in a second terminal with: $ tail -f /var/log/cloudron-setup.log Join us at https://forum.cloudron.io for any questions. => Updating apt and installing script dependencies => Checking version => Downloading version 7.1.3 ... => Installing base dependencies and downloading docker images (this takes some time) ... => Installing version 7.1.3 (this takes some time) ... => Waiting for cloudron to be ready (this takes some time) .... After reboot, visit https://<IP> and accept the self-signed certificate to finish setup. The server has to be rebooted to apply all the settings. Reboot now ? [Y/n]
[INFO] Processed migration 20210517194116-backups-provider-mountpoint [INFO] Processed migration 20210528205138-notifications-drop-userId [INFO] Processed migration 20210625061443-volumes-change-noop-to-mountpoint [INFO] Processed migration 20210707154724-users-migrate-avatar [INFO] Processed migration 20210729191138-domains-update-wellKnown-matrix-client [INFO] Processed migration 20210809203855-appAddonConfigs-alter-value [INFO] Processed migration 20210820172800-users-alter-loginLocationsJson [INFO] Processed migration 20210921022843-apps-add-operatorsJson [INFO] Processed migration 20210927211658-apps-add-crontab [INFO] Processed migration 20211001095256-users-add-inviteToken [INFO] Processed migration 20211001160903-apps-add-inbox [INFO] Processed migration 20211006200150-domains-ensure-fallbackCertificate [INFO] Processed migration 20211008171126-mailboxes-add-enablePop3 [INFO] Processed migration 20211012020255-mail-add-dkimKeyJson [INFO] Processed migration 20211117070204-blobs-delete-dhparams [INFO] Processed migration 20211117201805-eventlog-rename-source-to-sourceJson [INFO] Processed migration 20220107015249-settings-sysinfo-ip-to-ipv4 [INFO] Processed migration 20220113223425-settings-rename-directory-config-to-profile-config [INFO] Processed migration 20220115070646-subdomains-add-environmentVariable [INFO] Processed migration 20220202011148-blobs-migrate-token-secret [INFO] Processed migration 20220207214956-rename-subdomains-to-locations [INFO] Processed migration 20220219220751-mail-ensure-dkimKey [INFO] Done 2022-03-04T15:22:03 ==> start: Changing ownership 2022-03-04T15:22:03 ==> start: Starting Cloudron 2022-03-04T15:22:05 ==> start: Almost done
any idea what's went wrong, it was always DNS resolver change to localhost
-
@nebulon do i need to change resolv.conf back to local host, or keep my ISP DNS server address for cloudron to work?
-
@mikewen8888 Cloudron will set the DNS resolver to localhost as it requires unbound to run there. Given that you seem to hit a lot of rather random errors, which I don't believe many other users have ever hit, I wonder how your server setup is done. When I debugged your home server it also had strange DNS issues now this one as well running apparently in another network. Are you using any special Ubuntu flavor or have some non-standard routing setup for those servers?
-
@nebulon I agree
I believed that many users will have smooth installationI downloaded ubuntu server 20.4.03 ISO from their website, create vm under esxi 6.7 and i use pfsense as my router and firewall in my home, and i don't know if my firewall setting is non-standard
next week i will put production server in my local server hosting provider and make a fresh ubuntu/cloudron installation from there and hopefully the installation will working without any trouble like this thread
anyway, i appreciate all cloudron's staff helping me with this issue
-
-
-