@nebulon yes i would like that. please give me 2 days because i still at business trip outside town. I will get back to you soon after i prepare the key and email the address
thank you very much for the support
@nebulon yes i would like that. please give me 2 days because i still at business trip outside town. I will get back to you soon after i prepare the key and email the address
thank you very much for the support
@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
@nebulon I agree
I believed that many users will have smooth installation
I 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
@girish said in remotePath must be a string:
@echokos ah, glad you got that sorted out.
We will get out 7.2.1 in a few days to fix these regressions.
@girish any time line for 7.2.1 release? If soon I probably wait the restore simulation process until this bug is fixed
@girish said in remotePath must be a string:
@echokos ah, glad you got that sorted out.
We will get out 7.2.1 in a few days to fix these regressions.
@girish any time line for 7.2.1 release? If soon I probably wait the restore simulation process until this bug is fixed
@echokos said in remotePath must be a string:
@girish This isn't working. Trying to move servers - have a 7.2.0 backup and installed at Hetzner with version 7.2.0. The restore path properly fills in from the backup, but cannot get around the "remotePath must be a string" error message even after editing the function mentioned in restore.js and rebooting the server.
EDIT: Nevermind. I've reverted everything to using 7.1.4 and it was fine. I saw your note on the top of this to force the new server to install 7.1.4 but I had been doing the opposite and using 7.2.0.
@echokos what do you mean by reverted everything using 7.14?
did you revert old server to 7.1.4 and take a backup?
or did you use 7.2.0 backup and used it on 7.1.4 new installation?
i have 7.2.0 backup today from 7.2.0 server, and try to simulate restore process, having on different server (install it today, so I assume it is on the same version, but get that remotePath must be a string problem
already did what @girish said about replacing those 3 backupId into remotePath, but the problem persist
btw: how to check cloudron version? in GUI or CLI?
@nebulon I agree
I believed that many users will have smooth installation
I 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
@nebulon do i need to change resolv.conf back to local host, or keep my ISP DNS server address for cloudron to work?
@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 address
now 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 installation
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) ...
=> 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 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.3
and 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
@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
@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?
@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
@nebulon yes i would like that. please give me 2 days because i still at business trip outside town. I will get back to you soon after i prepare the key and email the address
thank you very much for the support