Nextcloud and Owncloud Installation

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
LordoftheTechs
Posts: 9
Joined: Tue Jan 14, 2020 1:31 am

Nextcloud and Owncloud Installation

Post 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?
User avatar
Joulinar
Posts: 2248
Joined: Sat Nov 16, 2019 12:49 am

Re: Nextcloud and Owncloud Installation

Post 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?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
LordoftheTechs
Posts: 9
Joined: Tue Jan 14, 2020 1:31 am

Re: Nextcloud and Owncloud Installation

Post 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’
User avatar
Joulinar
Posts: 2248
Joined: Sat Nov 16, 2019 12:49 am

Re: Nextcloud and Owncloud Installation

Post 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
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
LordoftheTechs
Posts: 9
Joined: Tue Jan 14, 2020 1:31 am

Re: Nextcloud and Owncloud Installation

Post 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
User avatar
Joulinar
Posts: 2248
Joined: Sat Nov 16, 2019 12:49 am

Re: Nextcloud and Owncloud Installation

Post 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!
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
LordoftheTechs
Posts: 9
Joined: Tue Jan 14, 2020 1:31 am

Re: Nextcloud and Owncloud Installation

Post by LordoftheTechs »

I restarted and get the same error. It’s very odd.
User avatar
Joulinar
Posts: 2248
Joined: Sat Nov 16, 2019 12:49 am

Re: Nextcloud and Owncloud Installation

Post 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
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
LordoftheTechs
Posts: 9
Joined: Tue Jan 14, 2020 1:31 am

Re: Nextcloud and Owncloud Installation

Post by LordoftheTechs »

I am using my own - pihole, however I have it disabled while doing this. Should I try another?
User avatar
Joulinar
Posts: 2248
Joined: Sat Nov 16, 2019 12:49 am

Re: Nextcloud and Owncloud Installation

Post 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)
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply