After changing the domain name of my NextCloud site, office documents would no l…onger open, they just show an empty screen with a spinner forever. It was all working perfectly until I changed the domain name.
### Steps to reproduce
1. Change the domain name of the site
2. Update the SSL certificate
3. Remove the colabora docker image and run a new one using the new domain name parameter
4. Restart the web-server (or the whole server)
### Expected behaviour
Entering the NextCloud and accessing an office document such as a .odt should bring it up for editing.
### Actual behaviour
Just an empty page with a spinner forever, everything else in NextCloud working perfectly with the new domain name. Collabora was working too before the domain name change.
It behaves exactly as if the docker container isn't even running at all. I have another Nextcloud with identical configuration which is working, and it gives the same result if I stop the container and then try and edit a document in the site. But when I start the container again editing works fine, stopping and restarting the container has no effect on the broken site.
### Server configuration
**Operating system**: Debian 9.6
**Web server:** Nginx 1.10.3
**Database:** MariaDB 10.2.21
**PHP version:** 7.0.33
**Nextcloud version:** 15.0.2
**Collabora:** Using collabora/code Docker image updated only a few days ago
This comes up in the log when I click on a doc:
{"reqId":"IrPCWcR7DMzBjCnqHL97","level":0,"time":"2019-01-26T12:55:21+00:00","remoteAddr":"131.0.216.166","user":"Aran","app":"no app in context","method":"GET","url":"\/apps\/richdocuments\/index?fileId=1351&requesttoken=7H9w1NEm1vN1MTvBl1eaMizySTF%2FiWYtI2ZK%2F6dyk6M%3D%3AnDs3t4lA5aY%2FV3r5%2FjTUVFmXfgJUyxMZFR4akOMm6ds%3D","message":"No cache entry found for \/appdata_oc18ne67irur\/theming\/images\/background (storage: local::\/var\/www\/nextcloud\/data\/, internalPath: appdata_oc18ne67irur\/theming\/images\/background)","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:64.0) Gecko\/20100101 Firefox\/64.0","version":"15.0.2.0"}
{"reqId":"Wj9vavy0oBvllgZ5wdEO","level":0,"time":"2019-01-26T12:55:21+00:00","remoteAddr":"131.0.216.166","user":"Aran","app":"no app in context","method":"GET","url":"\/apps\/richdocuments\/index?fileId=1351&requesttoken=7H9w1NEm1vN1MTvBl1eaMizySTF%2FiWYtI2ZK%2F6dyk6M%3D%3AnDs3t4lA5aY%2FV3r5%2FjTUVFmXfgJUyxMZFR4akOMm6ds%3D","message":"No cache entry found for \/appdata_oc18ne67irur\/theming\/images\/background (storage: local::\/var\/www\/nextcloud\/data\/, internalPath: appdata_oc18ne67irur\/theming\/images\/background)","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:64.0) Gecko\/20100101 Firefox\/64.0","version":"15.0.2.0"}
{"reqId":"NAR1WLfI7M5uKkHV0Qsb","level":0,"time":"2019-01-26T12:55:22+00:00","remoteAddr":"131.0.216.166","user":"Aran","app":"no app in context","method":"GET","url":"\/css\/icons\/icons-vars.css?v=1548507177","message":"No cache entry found for \/appdata_oc18ne67irur\/css\/icons\/icons-vars.css.gzip (storage: local::\/var\/www\/nextcloud\/data\/, internalPath: appdata_oc18ne67irur\/css\/icons\/icons-vars.css.gzip)","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:64.0) Gecko\/20100101 Firefox\/64.0","version":"15.0.2.0"}
{"reqId":"tSFtRYTg7EuBl4htD001","level":0,"time":"2019-01-26T12:55:24+00:00","remoteAddr":"131.0.216.166","user":"Aran","app":"no app in context","method":"GET","url":"\/apps\/files\/","message":"No cache entry found for \/appdata_oc18ne67irur\/avatar\/Aran\/avatar.jpg (storage: local::\/var\/www\/nextcloud\/data\/, internalPath: appdata_oc18ne67irur\/avatar\/Aran\/avatar.jpg)","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:64.0) Gecko\/20100101 Firefox\/64.0","version":"15.0.2.0"}
{"reqId":"tSFtRYTg7EuBl4htD001","level":0,"time":"2019-01-26T12:55:24+00:00","remoteAddr":"131.0.216.166","user":"Aran","app":"no app in context","method":"GET","url":"\/apps\/files\/","message":"No cache entry found for \/appdata_oc18ne67irur\/theming\/images\/background (storage: local::\/var\/www\/nextcloud\/data\/, internalPath: appdata_oc18ne67irur\/theming\/images\/background)","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:64.0) Gecko\/20100101 Firefox\/64.0","version":"15.0.2.0"}