-
Notifications
You must be signed in to change notification settings - Fork 13
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
Simultanious editing broken in 2.0.0 with file_lock enabled #419
Comments
It only affects Microsoft word for some odd reason as well. Excel and pptx works. |
Could you check if setting a manual lock timeout makes any difference there? E.g. this for 30 minutes:
|
We have manual lock timeout already enabled:
Also some additional logs:
|
Tested on one more setup. Same results on that. Also tested with lock_timeout set on that system. same result. |
[officeonline] Fatal: Lock file files_lock/d02a6c3c-0048-4a61-85ad-1cb0d7cc0e69 request: {"S":"7e1add37-3979-4b4e-a629-aee24fa9c87e","F":4} POST /index.php/apps/officeonline/wopi/files/4310_ocy9w4k6qk92?access_token=eGXQOqXBBrTCndfzpDR2r11SxU4PxBAr&access_token_ttl=0 [officeonline] Fatal: Lock file files_lock/d02a6c3c-0048-4a61-85ad-1cb0d7cc0e69 request: {"S":"7e1add37-3979-4b4e-a629-aee24fa9c87e","F":4,"E":2,"M":"544f99d81e534ba0b23f5bdf5529b6f2","P":"68AD882B-8BE9-4205-95B9-33E39FE798CF"} POST /index.php/apps/officeonline/wopi/files/4310_ocy9w4k6qk92?access_token=eGXQOqXBBrTCndfzpDR2r11SxU4PxBAr&access_token_ttl=0 Is in the log files. And the file doesnt get locked. |
I've pushed #423 which seems to resolve the issue here. Will do a bit more testing before pushing this to review but if anyone wants to give that a try, further testing is very welcome. |
I have tested it and it seems that it is working. Will do some more tests to double check as well so nothing is broken :) |
Also tested, and works! |
Problem is solved to edit online. Perhaps this is a separate issue. But it seems like officeonline doesnt respect the personal lock made. A document is not opened up read only if another user has locked it for local edit. |
At one point one editor got two users as well. And when everyone left officeonline the file is still locked by officeonline |
Which browser did you use? I noticed that this is an issue with chrome but also found reports about this being an issue of office online itself. |
References: UNLOCK might not happen if the browser terminates the request (Chrome) |
I know the issue is closed, but it doesn't work as expected still. We tested with Chrome and the issue persists even with the suggested workaround - setting a automated unlock. Also, no logs in Nextcloud at all, and the only thing I could get was an access log that looked like below. This is in a state where the file is open locally by user A, and user B opens it online. The file is editable by user B, and the changes are saved, so if user A closes the document and opens it again, the changes from user B are present.
|
Follow up on this issue: #428 |
Describe the bug
Create a document and share it. Both users opens it bit doesnt see that someone lese is in the document.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Both users should see that a document is opened by another user and be able to co edit.
Screenshots
With temp lock app enabled and two users in the same document:
Without temp lock app:
Server details
Operating system: ubuntu 20.04
Web server: Apache
Database: mysql
PHP version: 8.1
Nextcloud version: 25.0.3
Version of the officeonline app 2.0.0
Version of files_lock app 26.0.0
Version of Office Online server 16.0.10396.20000
Logs
Nextcloud log (data/nextcloud.log)
Browser log
The text was updated successfully, but these errors were encountered: