Thanks to anyone that can help. I appreciate you. The issue is that I get a 'Document loading failed - Failed to load Nextcloud Office - please try again later' when I try to open any .docx, .xlsx, etc.
Here's the current status:
- TrueNAS Core 13 with Nextcloud successfully running
- VM with Ubuntu 18.X successfully running (IP is 192.168.86.26)
- Docker with Collabora inside VM successfully running
- At my ISP, I have subdomain collabora.XXXX.com pointing to my public IP
- Internally, I've forwarded port 9980 to the IP address of the Ubuntu installation.
- Going to collabora.XXX.com goes to a blank screen, but it is showing as a secure connection
- Going to http://192.168.86.26:9980 results in 'OK'
- Going to my local IP at http://xx.xx.xx.xx:9980/browser/dist/admin/adminSettings.html successfully takes me to the Collabora server login page and the basic menu. Starting with 'https://' , however, gives me errors.
- In the Nextcloud Office settings, I've set my own server as 'https://collabora.XXXX.com and checked 'Disable certification verification (insecure)'. I get a green checkmark that the Collabora Online server is reachable.
- Here's my Caddyfile code if it's important:
So, I can't type in 'https://' then my local IP address and get a connection. I can only type is 'http://' to access the collabora server. I've been working on this most of the day and fear there is a very small issue in a config somewhere which will have me slapping my forehead, lol.
Any assistance would be fantastic.
Thanks!
Here's the current status:
- TrueNAS Core 13 with Nextcloud successfully running
- VM with Ubuntu 18.X successfully running (IP is 192.168.86.26)
- Docker with Collabora inside VM successfully running
- At my ISP, I have subdomain collabora.XXXX.com pointing to my public IP
- Internally, I've forwarded port 9980 to the IP address of the Ubuntu installation.
- Going to collabora.XXX.com goes to a blank screen, but it is showing as a secure connection
- Going to http://192.168.86.26:9980 results in 'OK'
- Going to my local IP at http://xx.xx.xx.xx:9980/browser/dist/admin/adminSettings.html successfully takes me to the Collabora server login page and the basic menu. Starting with 'https://' , however, gives me errors.
- In the Nextcloud Office settings, I've set my own server as 'https://collabora.XXXX.com and checked 'Disable certification verification (insecure)'. I get a green checkmark that the Collabora Online server is reachable.
- Here's my Caddyfile code if it's important:
Code:
{
# debug
# acme_ca https://acme-staging-v02.api.letsencrypt.org/directory
email XXXXX@gmail.com
default_sni nextcloud.XXXX.com
}
nextcloud.XXXX.com {
root * /usr/local/www/nextcloud
file_server
log {
output file /var/log/www.XXXX.com.log
}
php_fastcgi 127.0.0.1:9000 {
env front_controller_active true
}
# tls {
# dns cloudflare XXXX
# }
header {
enable HSTS
Strict-Transport-Security max-age=31536000;
}
# client support (e.g. os x calendar / contacts)
redir /.well-known/carddav /remote.php/dav 301
redir /.well-known/caldav /remote.php/dav 301
redir /.well-known/webfinger /index.php/.well-known/webfinger 301
redir /.well-known/nodeinfo /index.php/.well-known/nodeinfo 301
# .htaccess / data / config / ... shouldn't be accessible from outside
@forbidden {
path /.htaccess
path /data/*
path /config/*
path /db_structure
path /.xml
path /README
path /3rdparty/*
path /lib/*
path /templates/*
path /occ
path /console.php
}
respond @forbidden 404
}
collabora.XXXX.com {
encode gzip
@collabora {
path /loleaflet/* # Loleaflet is the client part of LibreOffice Online
path /hosting/discovery # WOPI discovery URL
path /hosting/capabilities # Show capabilities as json
path /lool/* # Main websocket, uploads/downloads, presentations
}
reverse_proxy @collabora http://192.168.86.26:9980
}
So, I can't type in 'https://' then my local IP address and get a connection. I can only type is 'http://' to access the collabora server. I've been working on this most of the day and fear there is a very small issue in a config somewhere which will have me slapping my forehead, lol.
Any assistance would be fantastic.
Thanks!