Hi Devs,
After updateing OnlyOffice to 7.1.0 I can no longer open Documents in Nextcloud app.
It continues to spin forever.
I saw an excpetion in the nextcloud log files:
Here is the complete report:
Steps to reproduce
1, Open nextcloud app on android
2, Click .xlsx document
3, Only Office opens
4, Continues to spin without loading Document Server
Expected behaviour
1, Open nextcloud app on android
2, Click .xlsx document
3, Only Office opens
4, Only Oiffces Loads document server und xlsx file ist shown
Actual behaviour
File is not shown only Spinning after a while the message Loading takes very long … Back appears
Server configuration detail
Operating system: Linux 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64
Webserver: Apache/2.4.38 (Debian) (apache2handler)
Database: mysql 10.3.29
PHP version:
7.3.29-1~deb10u1
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, sodium, session, standard, apache2handler, mysqlnd, PDO, xml, apcu, bcmath, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imagick, intl, json, exif, mysqli, pdo_mysql, apc, posix, readline, redis, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, Phar, Zend OPcache
Nextcloud version: 21.0.3 - 21.0.3.1
Updated from an older Nextcloud/ownCloud or fresh install:
Where did you install Nextcloud from:
Signing status
List of activated apps
Enabled:
- accessibility: 1.7.0
- activity: 2.14.3
- admin_audit: 1.11.0
- apporder: 0.13.0
- audioplayer_editor: 0.3.0
- audioplayer_sonos: 1.2.0
- bookmarks: 4.4.0
- bruteforcesettings: 2.2.0
- calendar: 2.3.1
- camerarawpreviews: 0.7.11
- cloud_federation_api: 1.4.0
- comments: 1.11.0
- contacts: 4.0.1
- contactsinteraction: 1.2.0
- cookbook: 0.8.4
- cospend: 1.3.7
- dav: 1.17.1
- deck: 1.4.3
- dicomviewer: 1.2.2
- documentserver_community: 0.1.11
- drawio: 1.0.1
- encryption: 2.9.0
- external: 3.8.2
- extract: 1.3.2
- federatedfilesharing: 1.11.0
- federation: 1.11.0
- files: 1.16.0
- files_downloadactivity: 1.11.1
- files_markdown: 2.3.4
- files_mindmap: 0.0.24
- files_pdfviewer: 2.1.0
- files_sharing: 1.13.1
- files_trashbin: 1.11.0
- files_versions: 1.14.0
- files_videoplayer: 1.10.0
- firstrunwizard: 2.10.0
- forms: 2.3.0
- gpxpod: 4.2.8
- issuetemplate: 0.7.0
- logreader: 2.6.0
- lookup_server_connector: 1.9.0
- mail: 1.10.2
- maps: 0.1.9
- metadata: 0.14.0
- music: 1.2.1
- news: 16.0.0
- nextcloud_announcements: 1.10.0
- notes: 4.1.1
- notifications: 2.9.0
- notify_push: 0.2.1
- oauth2: 1.9.0
- onlyoffice: 7.1.0
- password_policy: 1.11.0
- phonetrack: 0.6.9
- photos: 1.3.0
- polls: 3.0.0
- privacy: 1.5.0
- provisioning_api: 1.11.0
- quicknotes: 0.7.1
- quota_warning: 1.11.0
- recommendations: 1.0.0
- scanner: 0.2.1
- serverinfo: 1.11.0
- settings: 1.3.0
- sharebymail: 1.11.0
- spreed: 11.3.1
- support: 1.4.0
- survey_client: 1.9.0
- systemtags: 1.11.0
- talk_simple_poll: 1.3.1
- tasks: 0.14.1
- text: 3.2.0
- theming: 1.12.0
- timemanager: 0.2.4
- timetracker: 0.0.68
- twofactor_backupcodes: 1.10.0
- twofactor_u2f: 6.2.0
- updatenotification: 1.11.0
- user_status: 1.1.1
- video_converter: 1.0.2
- viewer: 1.5.0
- weather_status: 1.1.0
- workflowengine: 2.3.0
Disabled:
- analytics
- announcementcenter
- audioplayer
- bbb
- checksum
- circles
- dashboard
- dashboardcharts
- dropit
- ehr
- epubreader
- event_update_notification
- facerecognition
- files_accesscontrol
- files_antivirus
- files_automatedtagging
- files_external
- files_frommail
- files_fulltextsearch
- files_fulltextsearch_tesseract
- files_lock
- files_retention
- files_rightclick
- files_trackdownloads
- flowupload
- fulltextsearch
- fulltextsearch_elasticsearch
- gpxedit
- gpxmotion
- health
- impersonate
- keeweb
- mood
- nextbackup
- ocsms
- orcid
- ownbackup
- passwords
- piwik
- previewgenerator
- radio
- rainloop
- ransomware_protection
- registration
- richdocuments
- riotchat
- sendent
- sensorlogger
- sharepoint
- social
- sociallogin
- terms_of_service
- theming_customcss
- twofactor_totp
- user_ldap
- user_sql
- w2g2
- weather
- workflow_pdf_converter
- zenodo
Configuration (config/config.php)
{
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"overwrite.cli.url":
"dbtype": "mysql",
"version": "21.0.3.1",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"updater.release.channel": "stable",
"maintenance": false,
"theme": "",
"loglevel": 1,
"memcache.local": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"trashbin_retention_obligation": "auto, 10",
"onlyoffice": {
"verify_peer_off": true
},
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "465",
"mail_smtpauth": 1,
"mail_smtpauthtype": "LOGIN",
"mail_smtpsecure": "ssl",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"app_install_overwrite": [
"phonetrack",
"dicomviewer",
"issuetemplate",
"bruteforcesettings"
],
"encryption.legacy_format_support": false,
"encryption.key_storage_migrated": false,
"default_phone_region":
}
Are you using external storage, if yes which one: local/smb/sftp/…
Are you using encryption: 1
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; rv:90.0) Gecko/20100101 Firefox/90.0
Operating system:
Logs
Web server error log
Nextcloud log
[index] Error: Exception: Call to a member function getTagsForObjects() on null at <<closure>>
0. /var/www/nextcloud/lib/private/AppFramework/App.php line 157
OC\AppFramework\Http\Dispatcher->dispatch(OCA\Onlyoffice\C ... {}, "config")
1. /var/www/nextcloud/lib/private/Route/Router.php line 302
OC\AppFramework\App::main("OCA\\Onlyoffice ... r", "config", OC\AppFramework\ ... {}, {fileId: "0",_ro ... "})
2. /var/www/nextcloud/lib/base.php line 993
OC\Route\Router->match("/apps/onlyoffice/ajax/config/0")
3. /var/www/nextcloud/index.php line 37
OC::handleRequest()
GET /index.php/apps/onlyoffice/ajax/config/0?filePath=%2Fggg.xlsx&directToken=eyJ0eXAiJhbGciOiJXOiJKASDFGHJHV1QilkIjoyNzI1ODcsImFjdGlvbIUzI1NiJ9.eyJ1c2VySWQiOiJmbG9uZiI6ImRpcmVjdCIsImlhdCzk4MASDFGHZXoxNjI3OI6MTYyNTgwNDYzfQ.dqwG4aDV6GASDFGHjBLKMKhoD8JTkawL-wgPr2a8&inframe=true
from 1.1.1.1 at 2021-08-03T08:47:15+00:00
Caused by Error: Call to a member function getTagsForObjects() on null
/var/www/nextcloud/apps/onlyoffice/controller/editorcontroller.php - line 1271:
OCA\Onlyoffice\Controller\EditorController->isFavorite(272587)
/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 218:
OCA\Onlyoffice\Controller\EditorController->config(272587, "/test.xlsx", null, "eyJ0eXAiOiJ ... 0", 0, true, false, null, false, null)
/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 127:
OC\AppFramework\Http\Dispatcher->executeController(OCA\Onlyoffi ... {}, "config")
/var/www/nextcloud/lib/private/AppFramework/App.php - line 157:
OC\AppFramework\Http\Dispatcher->dispatch(OCA\Onlyoffi ... {}, "config")
/var/www/nextcloud/lib/private/Route/Router.php - line 302:
OC\AppFramework\App::main("OCA\\Onlyof ... r", "config", OC\AppFramew ... {}, { fileId: "0 ... "})
/var/www/nextcloud/lib/base.php - line 993:
OC\Route\Router->match("/apps/onlyo ... 0")
/var/www/nextcloud/index.php - line 37:
OC::handleRequest()
[no app in context] Info: Deprecated event type for {"[object] (OCP\SabrePluginEvent)":{"*statusCode":200,"*message":"","*server":{"[object] (OCA\DAV\Connector\Sabre\Server)":{"tree":"[object] (OCA\DAV\Connector\Sabre\ObjectTree)","*baseUri":"/remote.php/webdav/","httpResponse":"[object] (Sabre\HTTP\Response)","httpRequest":"[object] (Sabre\HTTP\Request)","sapi":"[object] (Sabre\HTTP\Sapi)","*plugins":[],"transactionType":null,"protectedProperties":{"...":"Over 20 items, aborting normalization"},"debugExceptions":false,"resourceTypeMapping":[],"enablePropfindDepthInfinity":true,"xml":"[object] (Sabre\DAV\Xml\Service)","*logger":null,"*listeners":{"...":"Over 20 items, aborting normalization"},"*wildcardListeners":[],"*listenerIndex":[]}},"Symfony\Contracts\EventDispatcher\EventpropagationStopped":false}}: null
PROPFIND /remote.php/webdav/test.xlsx
from 1.1.1.1 by user at 2021-08-03T08:48:49+00:00
Browser log
Thank you.
Any hints would be welcome.