-
Notifications
You must be signed in to change notification settings - Fork 140
Description
Describe the bug
When using the android mobile app one cant create documents. Opening existisng works, creating new ones doesn't work.
"user":"--","app":"richdocuments","method":"GET","url":"/apps/richdocuments/direct/HkJMNFMO80VicY2bJ2HXt67d8jcQ6ENTjAKx5KDl06tFlS2r5MyAgfkFHoJZPPyy","message":"Failed to generate token for existing file on direct editing","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.31.0 RC2","version":"30.0.6.2","exception":{"Exception":"Exception","Message":"","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":208,"function":"show","class":"OCA\\Richdocuments\\Controller\\DirectViewController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1003,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":24,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/apps/richdocuments/lib/Controller/DirectViewController.php","Line":84,"message":"Failed to generate token for existing file on direct editing","exception":{},"CustomMessage":"Failed to generate token for existing file on direct editing"}
To Reproduce
Steps to reproduce the behavior:
- open mobile app
- press the + icon and choose create document
- it will open the load screen, and after a while you get "this takes longer than expected"
- Get an error after lots of time
Expected behavior
Create a document and edit it
Screenshots
If applicable, add screenshots to help explain your problem.
Client details:
- OS: Androd
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
- Device: Google pixel 9 pro
Server details
Operating system: ubuntu
Web server: apache
Database: mariadb
PHP version: 8.3
Nextcloud version: 30 and 31
Version of the richdocuments app 8.5.4 and 8.6.2
Version of Collabora Online 24.04.12-4
Configuration of the richdocuments app
{
"apps": {
"richdocuments": {
"canonical_webroot": "",
"disable_certificate_verification": "",
"doc_format": "ooxml",
"edit_groups": "",
"enabled": "yes",
"external_apps": "",
"installed_version": "8.5.4",
"public_wopi_url": "https:\/\/office.mydomain:443",
"types": "prevent_group_restriction",
"use_groups": "",
"wopi_allowlist": " <my list of hosts",
"wopi_url": "https:\/\/office.mydomain"
}
}
}
Logs
Nextcloud log (data/nextcloud.log)
"user":"--","app":"richdocuments","method":"GET","url":"/apps/richdocuments/direct/Sz8PJ5ioO22649Tae4PnAuACgseHugmDEkANWJ4q7mjM8iepKhybq63DdQprGsGv","message":"Failed to generate token for existing file on direct editing","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/6.3.0","version":"30.0.6.2","exception":{"Exception":"Exception","Message":"","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":208,"function":"show","class":"OCA\\Richdocuments\\Controller\\DirectViewController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1003,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":24,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/apps/richdocuments/lib/Controller/DirectViewController.php","Line":84,"message":"Failed to generate token for existing file on direct editing","exception":{},"CustomMessage":"Failed to generate token for existing file on direct editing"}}