-
Notifications
You must be signed in to change notification settings - Fork 140
Description
Describe the bug
Creating a new file using the Nextcloud iOS app results with an error - Failed to open the requested file.
Everything works fine when using a desktop browser.
To Reproduce
Steps to reproduce the behavior:
- Open Nextcloud iOS App
- Create a new Collabora file
- New window opens - Error "Failed to open the requested file"
- Collabra editor opens if reopening the same file
Expected behavior
Collabora editor should open when a new file is created instead showing an error
Client details:
- OS: iOS
- Nextcloud Hydrogen for iOS
- Version 6.1.8.2
- Device: iPhone 15 pro
Server details
Operating system** Truenas Scale ElectricEel-24.10.0.2
Database: PostgreSQL
Nextcloud version: 30.0.3
Version of the richdocuments app: 8.5.3
Version of Collabora Online: 24.04.10.2
Configuration of the richdocuments app:
{
"apps": {
"richdocuments": {
"doc_format": "ooxml",
"disable_certificate_verification": "",
"external_apps": "",
"types": "prevent_group_restriction",
"installed_version": "8.5.3",
"wopi_url": "https://xxx",
"public_wopi_url": "https://xxx:443",
"enabled": "yes",
"wopi_allowlist": "xxx"
}
}
Nextcloud log (data/nextcloud.log)
{"reqId":"Hd60jBIGr3eHeQmkct5k","level":3,"time":"2024-12-15T15:12:31+00:00","remoteAddr":"ip","user":"--","app":"richdocuments","method":"GET","url":"/apps/richdocuments/direct/LSg8EW4uDFvvEjE3RNqZlX75luNzEhBjh5Dv0IFMMzAnTWggDJcVESieH8AB2dsd","message":"Failed to generate token for existing file on direc
t editing","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/6.1.8","version":"30.0.3.2","exception":{"Exception":"Exception","Message":"","Code":0,"Trace":[{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":208,"function":"show","class":"OCA\Richdocuments\Controller\DirectViewController","type
":"->","args":["LSg8EW4uDFvvEjE3RNqZlX75luNzEhBjh5Dv0IFMMzAnTWggDJcVESieH8AB2dsd"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[{"class":"OCA\Richdocuments\Controller\DirectViewCo
ntroller"},"show"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[{"class":"OCA\Richdocuments\Controller\DirectViewController"},"show"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":302,"
function":"main","class":"OC\AppFramework\App","type":"::","args":["OCA\Richdocuments\Controller\DirectViewController","show",{"class":"OC\AppFramework\DependencyInjection\DIContainer"},{"token":"LSg8EW4uDFvvEjE3RNqZlX75luNzEhBjh5Dv0IFMMzAnTWggDJcVESieH8AB2dsd","_route":"richdocuments.directview.show"}]},
{"file":"/var/www/html/lib/base.php","line":1003,"function":"match","class":"OC\Route\Router","type":"->","args":["/apps/richdocuments/direct/LSg8EW4uDFvvEjE3RNqZlX75luNzEhBjh5Dv0IFMMzAnTWggDJcVESieH8AB2dsd"]},{"file":"/var/www/html/index.php","line":24,"function":"handleRequest","class":"OC","type":"::","args":[]}
],"File":"/var/www/html/custom_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"}}