I’m trying to set up AIO to allow access via an Argo tunnel.
This was working on an older version of Nextcloud, but I can’t for the life of me get the installer to recognize the domain name from the setup page on the AIO machine.
I am installing from the ova image running on xcp-ng and have the tunnel installed and running OK it seems, but the installer refuses to see it.
I have tried pointing nextcloud.mydomain.com to localhost:80, localhost:443, localhost:8080 and localhost:8443 but none of these seem to be recognized by installer.
Any ideas what port I should be pointing to? I think that’s the problem.
Ta
Peter.
If I point the tunnel to <IP_OF_HOST>:8080 I get
Jun 28 05:24:46 nextcloud cloudflared[31201]: 2022-06-28T05:24:46Z ERR error=“Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: x509: cannot validate certificate for 192.168.44.137 because it doesn’t contain any IP SANs” cfRay=7223ff7ceb4b5ab8-MEL ingressRule=0 originService=https://192.168.44.137:8080
Jun 28 05:24:46 nextcloud cloudflared[31201]: 2022-06-28T05:24:46Z ERR Request failed error=“Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: x509: cannot validate certificate for 192.168.44.137 because it doesn’t contain any IP SANs” connIndex=1 dest=https://nextcloud.mydomain.com.au/index.php/apps/photos/service-worker.js type=http
I see. However AIO is different and sorry to say but I remember some reports that people weren’t able to get it running behind a cloudflare tunnel…
First of all the OVA is very limited in its options. It is probably not possible to run it behind a cloudflare tunnel at all. (or you need to remove the container and recreate it using the correct command).
You then need to point your cloudflare tunnel at the chosen apache_port so e.g. http://<IP_OF_HOST>:11000.
Then you should access the aio interface at https://<IP_OF_HOST>:8080, type in the domain that you configured in cloudflare that points at http://<IP_OF_HOST>:11000 and hope that it accepts the domain.
If not, there should hopefully be some debug logs in AIO that may help you figure out what the problem is.
Fantastic @szaimen, thanks for the pointers. I did wonder about the image, I thought it might be easier. I’ll blow it all away and start again I think. Not too much of a loss there.
I did get the tunnel connected OK (had to install packages and took a while to get the network sorted out with out vi being installed), but no major loss.
sorry, I am a little confused. So can I choose NOT to use Nginx proxy manager, NOT to open any ports on my router, and yet install nextcloud AIO and use Cloudflare tunnel to access it outside my network?