-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documents not saved back to Nextcloud 15 when file is shared and stored on files_external and files_versions is enabled #118
Comments
Verified this also with Nextcloud 16.0.3 + Onlyoffice App 2.4.0 + files_versions 1.9.0 + files_external 1.7.0 |
I have same error. Onlyoffice, nextcloud and all NC apps updated to latest stable versions. |
When i disable "Versions" app, i get other error in NC:
File ID (653843) is a ID of file that i try to edit. File was saved after editing with same ID |
I had to experience the same issue. Files from a shared folder being located on an external WebDav-Folder that have been edited with the OnlyOffice App were not saved back to Nextcloud and hence not updated on the external storage. Disabling the Versions App fixed that problem (apart from the ~1min delay the OnlyOffice Document Server needs to convert/write/send the document back to Nextcloud). Is there any work in progress to solve this issue? Besides that the problem remains, that the collaborative editing is not reported reliably by the Activity App. Consecutive editing by different users is not tracked by the Activity App, at least not within a certain time interval (several hours). This problem has already been described in other threads. |
Hi, |
|
Force save would be great - and getting some confirmation that saving was successful. |
I cannot reproduce the issue, could you share your actual external storage config? |
I'm having the exact same issue, and disabling the Versions app seems to have resolved it. [NC 16.0.5, OO App 3.0.2, OO Server 5.4.1, Versions 1.9.0, PHP 7.3.10] @juliushaertl My external storage setup is something like this: Local storage, with previews and sharing (obviously) enabled. It should be noted that encryption is enabled on the main storage, but disabled on the external storage. |
you'll find my config at https://cloud.uol.de/s/XWpZQ6ZRLtfk9Rd @juliushaertl |
Are there any news on this? I also can provide access to a test system if your not able to reproduce it on your own @juliushaertl . |
I've pushed a possible fix to #162 - testing is very welcome |
Works for me 👍 🚀 |
Works for me as well! Thanks a lot @juliushaertl! |
Hello to all |
I can confirm that the problem is resolved in 4.0.0. Thanks :-) |
Hi,
with Nextcloud 15.0.10, DocumentServer 5.3.4-3 and OnlyOffice App 2.4.0 documents are not saved back to Nextcloud when its edited via a share and the file is located on files_external storage (SMB). The exception hints to an issue with files_versions. If I disabled files_versions everything is fine. If I replace the document with a new version in NC's webinterface and files_versions is enabled everything is fine, too.
Exception:
{"reqId":"LA7d7EniXUv3HMtJrdqH","level":3,"time":"2019-07-25T09:52:13+02:00","remoteAddr":"10.1.1.17","user":"user-b","app":"index","method":"POST","url":"\/apps\/onlyoffice\/track?doc=<removed>","message":{"Exception":"Error","Message":"Call to a member function getId() on bool","Code":0,"Trace":[{"file":"\/var\/www\/html\/nextcloud\/apps\/files_versions\/lib\/Hooks.php","line":61,"function":"store","class":"OCA\\Files_Versions\\Storage","type":"::","args":["\/SMB\/document.docx"]},{"file":"\/var\/www\/html\/nextcloud\/lib\/private\/legacy\/hook.php","line":106,"function":"write_hook","class":"OCA\\Files_Versions\\Hooks","type":"::","args":[{"run":true,"path":"\/SMB\/document.docx"}]},{"file":"\/var\/www\/html\/nextcloud\/lib\/private\/Files\/View.php","line":1268,"function":"emit","class":"OC_Hook","type":"::","args":["OC_Filesystem","write",{"run":true,"path":"\/SMB\/document.docx"}]},{"file":"\/var\/www\/html\/nextcloud\/lib\/private\/Files\/View.php","line":1138,"function":"runHooks","class":"OC\\Files\\View","type":"->","args":[["update","write"],"\/SMB\/document.docx"]},{"file":"\/var\/www\/html\/nextcloud\/lib\/private\/Files\/View.php","line":689,"function":"basicOperation","class":"OC\\Files\\View","type":"->","args":["file_put_contents","\/user-a\/files\/SMB\/document.docx",["update","write"],null]},{"file":"\/var\/www\/html\/nextcloud\/lib\/private\/Files\/Node\/File.php","line":66,"function":"file_put_contents","class":"OC\\Files\\View","type":"->","args":["\/user-a\/files\/SMB\/document.docx",null]},{"file":"\/var\/www\/html\/nextcloud\/apps\/onlyoffice\/controller\/callbackcontroller.php","line":439,"function":"putContent","class":"OC\\Files\\Node\\File","type":"->","args":[null]},{"file":"\/var\/www\/html\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":166,"function":"track","class":"OCA\\Onlyoffice\\Controller\\CallbackController","type":"->","args":["<removed>",["user-b"],"39",2,"https:\/\/<onlyofficeserver>//cache\/files\/39_2140\/output.docx\/output.docx?md5=lsaGS02rEyLExq2Sj_YZKg==&expires=1564042034&disposition=attachment&ooname=output.docx",null]},{"file":"\/var\/www\/html\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Onlyoffice\\Controller\\CallbackController"},"track"]},{"file":"\/var\/www\/html\/nextcloud\/lib\/private\/AppFramework\/App.php","line":118,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Onlyoffice\\Controller\\CallbackController"},"track"]},{"file":"\/var\/www\/html\/nextcloud\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Onlyoffice\\Controller\\CallbackController","track",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"onlyoffice.callback.track"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"_route":"onlyoffice.callback.track"}]},{"file":"\/var\/www\/html\/nextcloud\/lib\/private\/Route\/Router.php","line":297,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"onlyoffice.callback.track"}]},{"file":"\/var\/www\/html\/nextcloud\/lib\/base.php","line":987,"function":"match","class":"OC\\Route\\Router","type":"->","args":["\/apps\/onlyoffice\/track"]},{"file":"\/var\/www\/html\/nextcloud\/index.php","line":42,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"\/var\/www\/html\/nextcloud\/apps\/files_versions\/lib\/Storage.php","Line":185,"CustomMessage":"--"},"userAgent":"--","version":"15.0.10.0"}
Steps to reproduce
I've also opened Ticket 967225 at Nextcloud's support platform.
We're paying customers of Nextcloud and Onlyoffice.
Please help to solve this issue.
Kind Regads,
Timm
The text was updated successfully, but these errors were encountered: