I'm a bit of a noob.
How do I edit that etc/hosts?
Nextcloud and Owncloud Installation
-
- Posts: 9
- Joined: Tue Jan 14, 2020 1:31 am
Re: Nextcloud and Owncloud Installation
You can do the following
add the following two lines
Save the file. To be on save side, reboot your system. Now your system should resolve `download.nextcloud.com` by using the /etc/hosts instead of asking PiHole
Code: Select all
nano /etc/hosts
Code: Select all
176.9.217.52 download.nextcloud.com
2a01:4f8:130:32f1::52 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
-
- Posts: 9
- Joined: Tue Jan 14, 2020 1:31 am
Re: Nextcloud and Owncloud Installation
Well I made progress looked like the hosts file worked and then ran into this -
https://raw.githubusercontent.com/Micha ... tpd.nextcl
│ oud.conf
│ Resolving raw.githubusercontent.com (raw.githubusercontent.com)... failed: Connection
Maybe I am not meant to do this LOL
https://raw.githubusercontent.com/Micha ... tpd.nextcl
│ oud.conf
│ Resolving raw.githubusercontent.com (raw.githubusercontent.com)... failed: Connection
Maybe I am not meant to do this LOL
Re: Nextcloud and Owncloud Installation
did you tried to change your DNS Server to 8.8.8.8 ??
If yes and you still facing this issues, we would need to continue adding IP's to the /etc/hosts file
If yes and you still facing this issues, we would need to continue adding IP's to the /etc/hosts file

Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
-
- Posts: 9
- Joined: Tue Jan 14, 2020 1:31 am
Re: Nextcloud and Owncloud Installation
well 8.8.8.8 didn't help LOL
what IP addresses next?
what IP addresses next?

Re: Nextcloud and Owncloud Installation
your system getting more and more weird
Anyway let's do the following to enable you to find out IP addresses yourselves
Pls install the small package dnsutils. It will install the tool nslookup which can be uses to check DNS and what will be resolved.
once done you can run the command
your preferred DNS server should now answer the following
take one of the IP addresses and put it into your /etc/hosts. If you have IPv6 working, you will receive IPv6 addresses as well.

Anyway let's do the following to enable you to find out IP addresses yourselves

Pls install the small package dnsutils. It will install the tool nslookup which can be uses to check DNS and what will be resolved.
Code: Select all
G_AGI dnsutils
Code: Select all
nslookup raw.githubusercontent.com
Code: Select all
root@DietPi4:~# nslookup raw.githubusercontent.com
Server: 192.168.0.11 <--- my own DNS serer
Address: 192.168.0.11#53
Non-authoritative answer:
raw.githubusercontent.com canonical name = github.map.fastly.net.
Name: github.map.fastly.net
Address: 151.101.64.133 <--- DNS serer feedback
Name: github.map.fastly.net
Address: 151.101.128.133
Name: github.map.fastly.net
Address: 151.101.192.133
Name: github.map.fastly.net
Address: 151.101.0.133
root@DietPi4:~#
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
-
- Posts: 9
- Joined: Tue Jan 14, 2020 1:31 am
Re: Nextcloud and Owncloud Installation
I'm thinking this isn't meant to be for some reason 

Re: Nextcloud and Owncloud Installation
yes there is something strange on your system. You have DNS issues during installation but testing ping is working fine. I still don't understand why this happen. Maybe you could disable IPv6 within dietpi-config Network settings and test again.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team