Steps to reproduce
- installed onlyoffice in docker container locally on nextcloud server;
- Setup SSL certificates through letsencrypt (letsencrypt running on nextcloud server, copying certificates to docker container through shared volume);
- Configure apache virtualhost on nextcloud server;
- Testing setup by connecting to onlyoffice docker from outside (succeeds to HTTPS);
- connecting onlyoffice to nextcloud by filling in the server’s outside URL in the onlyoffice connector
virtual host portion:
<VirtualHost *:443>
SSLEngine On
SSLProxyEngine On
SSLCertificateChainFile *value removed*
SSLCertificateFile *value removed*
SSLCertificateKeyFile *value removed*
ProxyRequests On
ProxyVia Off
ProxyPreserveHost On
RedirectMatch ^/$ /office
ProxyPass / https://192.168.XXX.YYY:8443/ nocanon
ProxyPassReverse / https://192.168.XXX.YYY:8443/
ServerName office.*value removed*
RequestHeader set X-Forwarded-Proto "https"
RequestHeader set X-Forwarded-Port "443"
Expected behaviour
Nextcloud will run with onlyoffice integrated
Actual behaviour
Nextcloud reports error “HealthcheckRequest on check error: cURL error 7: Failed to connect to office.xxx.xx port 443: No route to host (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)”
Server configuration detail
Operating system: Linux 4.15.0-88-generic #88-Ubuntu SMP Tue Feb 11 20:11:34 UTC 2020 x86_64
Webserver: Apache (fpm-fcgi)
Database: pgsql PostgreSQL 10.12 (Ubuntu 10.12-0ubuntu0.18.04.1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0, 64-bit
PHP version:
7.2.24-0ubuntu0.18.04.2
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, sodium, session, standard, cgi-fcgi, json, igbinary, apcu, PDO, xml, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, imap, intl, redis, ldap, exif, pdo_pgsql, pgsql, Phar, posix, readline, shmop, SimpleXML, smbclient, soap, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, libsmbclient, Zend OPcache
Nextcloud version: 18.0.1 - 18.0.1.3
Updated from an older Nextcloud/ownCloud or fresh install: updated from 18.0 (18.0 was fresh install)
Where did you install Nextcloud from: Virtual machine (Hanssonit.se version)
Signing status
Array
(
)
List of activated apps
Enabled:
- activity: 2.11.0
- admin_audit: 1.8.0
- calendar: 2.0.2
- cloud_federation_api: 1.1.0
- comments: 1.8.0
- contacts: 3.2.0
- dav: 1.14.0
- deck: 0.8.0
- dropit: 0.3.0
- extract: 1.2.3
- federatedfilesharing: 1.8.0
- files: 1.13.1
- files_antivirus: 2.2.1
- files_automatedtagging: 1.8.0
- files_external: 1.9.0
- files_pdfviewer: 1.7.0
- files_rightclick: 0.15.2
- files_sharing: 1.10.1
- files_versions: 1.11.0
- files_videoplayer: 1.7.0
- firstrunwizard: 2.7.0
- groupfolders: 6.0.1
- issuetemplate: 0.6.0
- logreader: 2.3.0
- lookup_server_connector: 1.6.0
- maps: 0.1.5
- nextcloud_announcements: 1.7.0
- notes: 3.1.5
- notifications: 2.6.0
- oauth2: 1.6.0
- onlyoffice: 4.1.4
- password_policy: 1.8.0
- photos: 1.0.0
- previewgenerator: 2.2.0
- privacy: 1.2.0
- provisioning_api: 1.8.0
- ransomware_protection: 1.6.0
- recommendations: 0.6.0
- settings: 1.0.0
- sharebymail: 1.8.0
- spreed: 8.0.5
- support: 1.1.0
- survey_client: 1.6.0
- systemtags: 1.8.0
- tasks: 0.11.3
- text: 2.0.0
- theming: 1.9.0
- twofactor_backupcodes: 1.7.0
- updatenotification: 1.8.0
- viewer: 1.2.0
- workflowengine: 2.0.0
Disabled:
- accessibility
- encryption
- federation
- files_trashbin
- gpxedit
- mail
- serverinfo
- user_ldap
Configuration (config/config.php)
{
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"localhost",
"192.168.178.*",
"trd106.nl",
"trd106.nl"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "pgsql",
"version": "18.0.1.3",
"overwrite.cli.url": "https:\/\/trd106.nl\/",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"log_type": "file",
"logfile": "\/var\/log\/nextcloud\/nextcloud.log",
"loglevel": "0",
"mail_smtpmode": "smtp",
"remember_login_cookie_lifetime": "7200",
"log_rotate_size": "10485760",
"trashbin_retention_obligation": "auto, 180",
"versions_retention_obligation": "auto, 365",
"simpleSignUpLink.shown": "false",
"memcache.local": "\\OC\\Memcache\\APCu",
"filelocking.enabled": true,
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0,
"timeout": 0.5,
"dbindex": 0,
"password": "***REMOVED SENSITIVE VALUE***"
},
"logtimezone": "Europe\/Amsterdam",
"htaccess.RewriteBase": "\/",
"enable_previews": true,
"enabledPreviewProviders": {
"11": "OC\\Preview\\PNG",
"12": "OC\\Preview\\JPEG",
"13": "OC\\Preview\\GIF",
"14": "OC\\Preview\\BMP",
"15": "OC\\Preview\\MarkDown",
"16": "OC\\Preview\\MP3",
"17": "OC\\Preview\\TXT",
"18": "OC\\Preview\\Movie"
},
"preview_max_x": "2048",
"preview_max_y": "2048",
"jpeg_quality": "60",
"maintenance": false,
"mail_smtpsecure": "ssl",
"mail_sendmailmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauthtype": "LOGIN",
"mail_smtpauth": 1,
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "465",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"app_install_overwrite": [
"gpxedit",
"dropit"
],
"theme": ""
}
Are you using external storage, if yes which one: smb
Are you using encryption:
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/…
Client configuration
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36
Operating system:
Logs
Web server error log
[Mon Mar 09 06:25:06.050906 2020] [http2:warn] [pid 26641] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the currently selected mpm will just not do. This is an advisory warning. Your server will continue to work, but the HTTP/2 protocol will be inactive.
[Mon Mar 09 06:25:06.086941 2020] [mpm_prefork:notice] [pid 26641] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.1d configured -- resuming normal operations
[Mon Mar 09 06:25:06.086956 2020] [core:notice] [pid 26641] AH00094: Command line: '/usr/sbin/apache2'
Nextcloud log
Nextcloud reports error "HealthcheckRequest on check error: cURL error 7: Failed to connect to office.trd106.nl port 443: No route to host (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)"