Dear community,
I have a problem with the Nextcloud iOS app and Collabora.
When I create a new Collabora file within the Nextcloud iOS app, I get an error that says “Failed to open the requested file”. When I go back to the folder, I see that the file has been created and when I click on it, the Collabora editor opens and I can edit the file. This is only happening when using the iOS App, everything works fine in a browser, mobile and desktop.
This is the Nextcloud log entry:
{“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”}}
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”
}
}
Any help is welcome.