Richdocuments going to wrong URL

When I originally installed NC many many many years ago, I originally had it as https://domain.com/nc.

A couple years back I changed it to https://nc.domain/. All seemed fine until I installed the groupware apps last night, which are failing to load.

Looking at the nextcloud.log file, I see:

“Failed to connect to domain.com port 443 after 5 ms: Connection refused”,0,"https://domain.com/nc/apps/richdocumentscode/proxy.php?req=/hosting/capabilities

I found the old URL path in config.php, changed it, restarted, even rebooted, but it’s still going to https://domain.com/nc instead of https://nc.domain.com/

Where else is this URL stored? Is there a php cache file somewhere I need to clear?

Nextcloud version (eg, 20.0.5): 25.0.4
Operating system and version (eg, Ubuntu 20.04): Fedora 37
Apache or nginx version (eg, Apache 2.4.25): Apache

This one took a bit to find…But I had TWO configurations for the Nextcloud service in /etc/httpd/conf.d, I cleaned that up and the error went away.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.