-
Notifications
You must be signed in to change notification settings - Fork 164
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
connect hook to register #566
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I confirm it solves the sync issue on NC 21 and 22. Hooks are now actually triggered and documents are downloaded again if some file changes were pushed from a client.
It does not affect NC 23 for which it was already working fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also makes sense from a conceptual perspective in how the register and boot methods are caleld during Nextcloud application bootstrap.
@djtilo-ol Thanks for the feedback. Have you tried to apply this patch to check if it actually fixes the issue in NC 23? |
Hi, I can do that, sure. I am an ambitious rookie, but I can't quite make out what I have to alter in the file application.php as mentioned here |
You can see the diff in the Files changed tab right here. |
@djtilo-ol And thank you for the feedback! |
:) With your help I was able to send the patched file to our NC provider who added it for us, so that the problem is resolved until the new connector is released - that is absolutely amazing! Merry Christmas, should you celebrate it. |
It works for me as well :) |
Could someone please explain how to patch Nextcloud-VM with ONLYOFFICE integrated. I can't find anything resembling the 'application.php' file. |
Hi, in the NextCloud folder you find the application.php in |
Thanks, I had to discover how find the content off /var/www |
The issue discussed here was that OnlyOffice could not open the latest version once two or three alterations were made locally and synced to NextCloud. |
There is some voodoo processing going on to make up for the lack of an an actual process to deal with these document updates. See also: nextcloud/documentserver_community#191 I had to manually add a cron job to get some sort of reliable behavior, unbelievable really. |
Not to mention there is another bug about onlyoffice just stalling for merely trying to check the previous versions. |
6bcbce3
to
137e70c
Compare
Changed method for connect hook