Page 1 of 2

Nextcloud and Owncloud Installation

Posted: Tue Jan 14, 2020 1:35 am
by LordoftheTechs
Everything works fine until I get to the download of either of these. Then it says it cannot connect to the download site. Internet connection is fine as it downloaded everything before this step. Ideas?

Re: Nextcloud and Owncloud Installation

Posted: Tue Jan 14, 2020 1:43 am
by Joulinar
Hi,
Many thanks for your report.

Pls can you be a little bit more specific on your issue.
Do you have some error messages or screenshots you can past?

Re: Nextcloud and Owncloud Installation

Posted: Tue Jan 14, 2020 1:51 am
by LordoftheTechs
- Command: Connection test:
https://download.nextcloud.com/server/r ... .1.tar.bz2
│ - Exit code: 4
│ - DietPi version: v6.28.0 (MichaIng/master) | HW_MODEL:3 | HW_ARCH:2 | DISTRO:5
│ - Image creator: DietPi Core Team
│ - Pre-image: Raspbian Lite

│ Log file content:
│ Spider mode enabled. Check if remote file exists.
│ --2020-01-14 00:51:32--
https://download.nextcloud.com/server/r ... .1.tar.bz2
│ Resolving download.nextcloud.com (download.nextcloud.com)... failed: Connection timed
│ out.
│ wget: unable to resolve host address ‘download.nextcloud.com’

Re: Nextcloud and Owncloud Installation

Posted: Tue Jan 14, 2020 9:37 am
by Joulinar
pls can you run the following 2 commands an past the output

Code: Select all

ping -c 1 download.nextcloud.com
ping -4 -c 1 download.nextcloud.com

Re: Nextcloud and Owncloud Installation

Posted: Tue Jan 14, 2020 2:56 pm
by LordoftheTechs
root@DietPi:~# ping -c 1 download.nextcloud.com
PING download.nextcloud.com(download.nextcloud.com (2a01:4f8:130:32f1::52)) 56 data bytes
64 bytes from download.nextcloud.com (2a01:4f8:130:32f1::52): icmp_seq=1 ttl=44 time=127 ms

--- download.nextcloud.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 127.376/127.376/127.376/0.000 ms

root@DietPi:~# ping -4 -c 1 download.nextcloud.com
PING download.nextcloud.com (176.9.217.52) 56(84) bytes of data.
64 bytes from download.nextcloud.com (176.9.217.52): icmp_seq=1 ttl=49 time=122 ms

--- download.nextcloud.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 122.481/122.481/122.481/0.000 ms

Re: Nextcloud and Owncloud Installation

Posted: Tue Jan 14, 2020 4:36 pm
by Joulinar
weird. yesterday you reported an issue that you are not able to resolve the host name.

Code: Select all

unable to resolve host address ‘download.nextcloud.com’
but today you are able to resolve the name for both IPv4 as well as IPv6 as shown in your test.

Code: Select all

PING IPv4 download.nextcloud.com (176.9.217.52)
PING IPv6 download.nextcloud.com (2a01:4f8:130:32f1::52)
So connection should work.

pls can you try to restart your software installation!

Re: Nextcloud and Owncloud Installation

Posted: Tue Jan 14, 2020 4:55 pm
by LordoftheTechs
I restarted and get the same error. It’s very odd.

Re: Nextcloud and Owncloud Installation

Posted: Tue Jan 14, 2020 5:01 pm
by Joulinar
well you could try to tweak it by entering the IPv4 as well as IPv6 address to your /etc/hosts file. This should avoid the DNS resolving error at least.

BTW what DNS/Nameserver you are using. Your own one or a public like Google or Cloudflare

Re: Nextcloud and Owncloud Installation

Posted: Tue Jan 14, 2020 5:26 pm
by LordoftheTechs
I am using my own - pihole, however I have it disabled while doing this. Should I try another?

Re: Nextcloud and Owncloud Installation

Posted: Tue Jan 14, 2020 5:31 pm
by Joulinar
well maybe for testing you could switch to Google or Cloudflare. But usually PiHole should show blocked request. As well you could go to whitelist `download.nextcloud.com` within PiHole. Or tweaking /etc/hosts as another option 8)