Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Domain does not point to this server. #20

Closed
lordfiSh opened this issue Dec 1, 2021 · 10 comments
Closed

Domain does not point to this server. #20

lordfiSh opened this issue Dec 1, 2021 · 10 comments
Labels
needs info Not enough information provided

Comments

@lordfiSh
Copy link

lordfiSh commented Dec 1, 2021

Hi,
not sure what is wrong here, Nextcloud Docker (nextcloud-aio-domaincheck) is reachable via Port 443 and showing a ID or something
Yet the AIO Tools says "Domain does not point to this server." Any Hits what the Problem?

image

@szaimen
Copy link
Collaborator

szaimen commented Dec 1, 2021

Hi, thanks for your report! Are you using a reverse proxy or something like that? it looks like you have a valid certificate already at this step for your domain although it shouldn't have it at this point.

@szaimen szaimen added the needs info Not enough information provided label Dec 1, 2021
@lordfiSh
Copy link
Author

lordfiSh commented Dec 1, 2021

Yes, I'm using Nginx Proxy Manager with a valid certificate, I don't need another certificate (same as #15)

I thought I need to go trough the "wizzard" since no other containers are up yet:

root@ubuntu01:/home/test# sudo docker ps | grep next
d689a7edee36   nextcloud/aio-domaincheck:latest               "/start.sh"              5 hours ago    Up 5 hours             0.0.0.0:443->443/tcp, :::443->443/tcp            nextcloud-aio-domaincheck
6354d4271baa   nextcloud/all-in-one:latest                    "start.sh /usr/bin/s…"   5 hours ago    Up 5 hours             0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:8080->8080/tcp, :::8080->8080/tcp, 0.0.0.0:8443->8443/tcp, :::8443->8443/tcp    nextcloud-aio-mastercontainer
root@ubuntu01:/home/test# curl -k http://0.0.0.0:80
curl: (56) Recv failure: Connection reset by peer

/update
I added Port 80 and 443 directly trough the Container and I could continue with the Setup. There should be a Option to skip this Step (?)

@szaimen
Copy link
Collaborator

szaimen commented Dec 1, 2021

Does nextcloud work after you've skipped this step?

@lordfiSh
Copy link
Author

lordfiSh commented Dec 1, 2021

You cant skip it, that's the Problem.
I needed to get AIO Wizzard and get my Cert, after that every worked fine.

@szaimen szaimen closed this as completed Dec 1, 2021
@szaimen szaimen added wontfix This will not be worked on and removed needs info Not enough information provided labels Dec 2, 2021
@szaimen szaimen pinned this issue Dec 2, 2021
@szaimen szaimen unpinned this issue Dec 2, 2021
@szaimen szaimen removed the wontfix This will not be worked on label Dec 2, 2021
@szaimen szaimen reopened this Dec 2, 2021
@szaimen
Copy link
Collaborator

szaimen commented Dec 2, 2021

I changed my mind. Sry for the harsh answer!

Does it work if you change the http:// in this line to https:// ?

curl_setopt($ch, CURLOPT_URL,'http://' . $domain . ':443');

The file should be located inside the mastercontainer here: /var/www/docker-aio/php/src/Data/ConfigurationManager.php

I wonder especially if Nextcloud and all plugins like Office, Talk & Co. work afterwards and if you are able to log in with the android and desktop clients on your new Nextcloud instance?

If yes, I would accept a PR that allows https://, too.

@arsaboo
Copy link

arsaboo commented Mar 12, 2022

I am seeing the same error with the latest image with Nginx proxy manager. Any resolution?

@szaimen
Copy link
Collaborator

szaimen commented Mar 12, 2022

@szaimen
Copy link
Collaborator

szaimen commented Mar 12, 2022

Based on that there is this: #317 (comment)

@arsaboo
Copy link

arsaboo commented Mar 12, 2022

So, that helped. Here are configuration screens for anyone struggling:

image

image

Just a quick follow up question - does the AIO not include elastic search?

@szaimen
Copy link
Collaborator

szaimen commented Mar 12, 2022

does the AIO not include elastic search?

Not yet. See #78

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs info Not enough information provided
Projects
None yet
Development

No branches or pull requests

3 participants