nextcloud / richdocuments

📑 Collabora Online for Nextcloud
https://nextcloud.com/collaboraonline
355 stars 116 forks source link

blank document and incomplete interface #114

Closed gcala closed 6 years ago

gcala commented 7 years ago
Hi, I configured nextcloud/richdocuments/collabora docker image but when opening a document I got a blank body and collabora gui is not complete, lacking a menubar and items in comboboxes: ![actual collabora online gui](http://i.imgur.com/9PfwB2D.png) nextcloud and docker logs show no interesting output. Do you have any idea about the problem? This is my nextcloud.conf: ``` Alias /nextcloud "/usr/share/webapps/nextcloud" Options +FollowSymlinks AllowOverride All Require all granted Dav off SetEnv HOME /usr/share/webapps/nextcloud SetEnv HTTP_HOME /usr/share/webapps/nextcloud php_admin_value open_basedir "/srv/http/:/usr/share/webapps/:/tmp:/dev/urandom" # Encoded slashes need to be allowed AllowEncodedSlashes NoDecode # Container uses a unique non-signed certificate SSLProxyEngine On SSLProxyVerify None SSLProxyCheckPeerCN Off SSLProxyCheckPeerName Off # keep the host ProxyPreserveHost On # static html, js, images, etc. served from loolwsd # loleaflet is the client part of LibreOffice Online ProxyPass /loleaflet https://127.0.0.1:9980/loleaflet retry=0 ProxyPassReverse /loleaflet https://127.0.0.1:9980/loleaflet # WOPI discovery URL ProxyPass /hosting/discovery https://127.0.0.1:9980/hosting/discovery retry=0 ProxyPassReverse /hosting/discovery https://127.0.0.1:9980/hosting/discovery # Main websocket ProxyPassMatch "/lool/(.*)/ws$" wss://127.0.0.1:9980/lool/$1/ws nocanon # Admin Console websocket ProxyPass /lool/adminws wss://127.0.0.1:9980/lool/adminws # Download as, Fullscreen presentation and Image upload operations ProxyPass /lool https://127.0.0.1:9980/lool ProxyPassReverse /lool https://127.0.0.1:9980/lool ``` this is the command for docker image ``` docker run -t -d -p 127.0.0.1:9980:9980 -e 'domain=mysite\.it' --net host --restart always --cap-add MKNOD collabora/code ``` ### General server configuration **Operating system:** Linux vps315875.ovh.net 4.12.4-1-ARCH #1 SMP PREEMPT Fri Jul 28 18:54:18 UTC 2017 x86_64 **Web server:** Apache/2.4.27 (Unix) OpenSSL/1.1.0f PHP/7.1.8 mod_wsgi/4.5.17 Python/3.6 (apache2handler) **Database:** mysql 10.1.25 **PHP version:** 7.1.8
PHP-modules loaded ``` - Core - date - libxml - openssl - pcre - zlib - ctype - dom - fileinfo - filter - hash - json - mbstring - SPL - PDO - bz2 - posix - Reflection - session - SimpleXML - standard - tokenizer - xml - xmlreader - xmlwriter - mysqlnd - apache2handler - bcmath - Phar - curl - exif - gd - gettext - iconv - intl - mcrypt - mysqli - pdo_mysql - soap - tidy - xmlrpc - zip - apcu - Zend OPcache ```
### Nextcloud configuration **Nextcloud version:** 12.0.1 - 12.0.1.5 **Updated from an older Nextcloud/ownCloud or fresh install:** Updated from an older Nextcloud **Where did you install Nextcloud from:** archlinux repository **Are you using external storage, if yes which one:** Array ( [0] => \OC\Files\Storage\Local [1] => \OC\Files\Storage\DAV [2] => \OCA\Files_External\Lib\Storage\OwnCloud [3] => \OCA\Files_External\Lib\Storage\SFTP [4] => \OCA\Files_External\Lib\Storage\AmazonS3 [5] => \OCA\Files_External\Lib\Storage\Dropbox [6] => \OCA\Files_External\Lib\Storage\Google [7] => \OCA\Files_External\Lib\Storage\Swift [8] => \OCA\Files_External\Lib\Storage\SFTP ) **Are you using encryption:** no **Are you using an external user-backend, if yes which one:** YOUR ANSWER HERE (LDAP/ActiveDirectory/Webdav/...)
Signing status ``` [] ```
Enabled apps ``` - activity: 2.5.2 - bruteforcesettings: 1.0.2 - calendar: 1.5.3 - comments: 1.2.0 - contacts: 1.5.3 - dav: 1.3.0 - deck: 0.2.1 - encryption: 1.6.0 - federatedfilesharing: 1.2.0 - federation: 1.2.0 - files: 1.7.2 - files_external: 1.3.0 - files_markdown: 1.0.1 - files_pdfviewer: 1.1.1 - files_sharing: 1.4.0 - files_texteditor: 2.4.1 - files_trashbin: 1.2.0 - files_versions: 1.5.0 - files_videoplayer: 1.1.0 - firstrunwizard: 2.1 - gallery: 17.0.0 - issuetemplate: 0.2.2 - logreader: 2.0.0 - lookup_server_connector: 1.0.0 - news: 11.0.5 - nextcloud_announcements: 1.1 - notifications: 2.0.0 - oauth2: 1.0.5 - passman: 2.1.4 - password_policy: 1.2.2 - provisioning_api: 1.2.0 - richdocuments: 1.12.34 - serverinfo: 1.2.0 - sharebymail: 1.2.0 - survey_client: 1.0.0 - systemtags: 1.2.0 - tasks: 0.9.5 - theming: 1.3.0 - twofactor_backupcodes: 1.1.1 - updatenotification: 1.2.0 - workflowengine: 1.2.0 ```
Disabled apps ``` - admin_audit - audioplayer - bookmarks - notes - user_external - user_ldap ```
Content of config/config.php ``` { "instanceid": "ocyavvfi0fb0", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "localhost", "cuteworks.it" ], "datadirectory": "\/usr\/share\/webapps\/nextcloud\/data", "overwrite.cli.url": "http:\/\/localhost\/nextcloud", "dbtype": "mysql", "version": "12.0.1.5", "dbname": "nextcloud", "dbhost": "localhost", "dbport": "", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "logtimezone": "UTC", "installed": true, "memcache.local": "\\OC\\Memcache\\APCu", "loglevel": 2, "maintenance": false, "mail_smtpmode": "smtp", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtpsecure": "tls", "mail_smtpauth": 1, "mail_smtpauthtype": "LOGIN", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "587", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "theme": "", "appstore.experimental.enabled": true } ```
### Client configuration **Browser:** Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36 **Operating system:** YOUR ANSWER HERE ### Logs
Web server error log ``` Insert your webserver log here ```
Nextcloud log (data/nextcloud.log) ``` Insert your Nextcloud log here ```
Browser log ``` Insert your browser log here, this could for example include: a) The javascript console log b) The network log c) ... ```
jonabasque commented 6 years ago

I think that I have the same problem:

I checked the Nextcloud log and everything goes fine and the proxy (Nginx) shows an error 400 in the following request:

Maybe the browser log can tell us something. When I show the files (in spanish sorry):