context info
Nextcloud version: 16.0.3
Operating system and version Debian 9 (stretch)
Apache version: Apache/2.4.25 (Debian)
PHP version (eg, 7.1): PHP 7.2.22-1+0~20190902.26+debian8~1.gbpd64eb7
Domain name provider: duckdns.org
Firmware on the router: OpenWrt
this is my first experience hosting https, so there might be something obvious to everyone that I am missing.
The issue you are facing:
This is the first time I have seen this error. I was running nextcloud fine over http. In order to have it working well on both LAN and WAN, I installed openwrt on my router and then set it to forward HTTP into the host’s ip, but also to treat my public url as if it was that computer’s IP (honestly I don’t remember how I did that… I think I used nginx), in that way the same public address would work in the lan.
It worked fine until I started using https thanks to letsencrypt and certbot (just followed the tutorial). I also added the port forwarding of the 443 port. My apache server still works well over https. I have other static pages in the same server that display over that protocol. When visiting the nextcloud address, however, it just times out.
I have sought online a lot, but I don’t really know what the problem could be, so it is very hard to find good keywords to search. The info I have is probably not enough, but I would be thankful to receive suggestions on what could be wrong, or on how to check what causes the request to fail. I repeat, that I could be missing something obvious since I have never done nor seen anyone do this setup.
log:
While attempting to access the site from the wan, nothing appears in the log (I only get flooded with “You are using a fallback implementation of the intl extension.” errors, but installing that extension is a whole other problem, I really tried)
The output of your config.php file in /path/to/nextcloud
That file doesn’t exist! What was I supposed to do?
The output of your Apache/nginx/system log in /var/log/____
:
Log named apache2 is empty. No log named apache.