Nextcloud Hub 10 (31.0.7) Hello everyone. Everything was working fine until I changed the server address. After that, everything is still working, but I’m having problems with my documents. I can’t preview or edit word, pptx, or xlsx documents in nextcloud. I’m also having trouble collaborating on documents. There is an endless download when trying to open a file. I have already tried to reinstall the “Collabora Online - Built-in CODE Server” and “Nextcloud office”. What could be causing this issue?
In the logs, I found a message
{“reqId”:“J6DbjXdB7srFHHqmnk3g”,“level”:3,“time”:“2025-08-12T10:18:53+00:00”,“remoteAddr”:“xxx.xxx.xxx.xxx”,“user”:“admin”,“app”:“richdocuments”,“method”:“GET”,“url”:“/index.php/core/preview?fileId=4510&x=-1&y=384&a=1”,“message”:“Failed to convert preview: cURL error 7: Failed to connect to next2.mydomain.com port 443 after 3061 ms: Couldn’t connect to server”. next2.mydomai.com is my old server, now it’s just next. What config should I change?
Hello @kst211,
You started a topic in support category. Unfortunately you ignored the template and a lot of information to help you is missing. Please edit your original post and add all required details like Nextcloud version, webserver type and version, os version, related log file content. Use the support template.
Without additional information the community members cannot help you.
Meanwhile you could try to reconfigure built-in CODE, its a wild guess based on a hunch!
Configure/reconfigure built-in CODE & Office for Nextcloud on AMD64:
These steps (in sequence) are required to reconfigure/reset and configure built-in CODE & Nextcloud office on Nextcloud.
- disable CODE:
occ app:disable richdocumentscode - disable Office:
occ app:disable richdocuments - delete configs:
occ config:app:delete richdocuments public_wopi_url - delete configs:
occ config:app:delete richdocuments wopi_url - enable Office:
occ app:enable richdocuments - enable CODE:
occ app:enable richdocumentscode
Set “overwrite.cli.url” in “config.php”
double check the value for overwrite.cli.url in your config.php
occ config:system:get overwrite.cli.url
if that value is incorrect, set the correct value to next.mydomain.tld
occ config:system:set overwrite.cli.url --value="https://next.mydomain.tld" ;
This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.
