richdocuments icon indicating copy to clipboard operation
richdocuments copied to clipboard

Cant remove stale users, and their last-edited cells wont display

Open joshbowyer opened this issue 2 years ago • 8 comments

Reposting another user's issue as I am now experiencing the exact same thing. If a user disconnects improperly, it orphans their user and I cannot remove that user, and any cell they were editing becomes "locked" as in, I can edit the content but it wont display it.

How can I kick users (particularly guest users)? This is important not only for orphaned users but also for potential "griefers".

My personal setup is NC 23.0.0, Richdocuments 5.0.1, and richdocumentscode 21.11.6

https://help.nextcloud.com/t/stale-connections-to-collabora-documents/125628

I set up the built-in CODE server in my NC instance (version: 21.0.2). I noticed that if reload the page or jump to another URL while editing a spreadsheet concurrently with my colleagues and then come back to editing the document, my user is listed multiple times in the list of connected users (i.e. the icons near the share icon on top-right). This does not happen when closing the document with the x button and then coming back, so it looks somewhat like if I don’t exit “properly” then the next time I come in to edit the document the system see me as a new user, and my old connection to the document is still alive but stale. Does this make sense (my phrasing for sure does not, but I hope you understood the issue)? Is this intended behavior a bug, or a misconfiguration of my instance? Thanks in advance for any help you might provide.

joshbowyer avatar Jan 20 '22 16:01 joshbowyer

Hey @joshbowyer,

The colalbora CODE server publishes an admin GUI at /browser/dist/admin/admin.html. You can use that to manage connections, opened documents and track resources.

I'm running my CODE server through docker, I don't know how this translates to nextcloud's built-in code server. I've also never encountered your problem personally. My sessions time-out after a couple of minutes.

dodedodo avatar Jan 21 '22 01:01 dodedodo

Reposting another user's issue as I am now experiencing the exact same thing. If a user disconnects improperly, it orphans their user and I cannot remove that user, and any cell they were editing becomes "locked" as in, I can edit the content but it wont display it.

How can I kick users (particularly guest users)? This is important not only for orphaned users but also for potential "griefers".

My personal setup is NC 23.0.0, Richdocuments 5.0.1, and richdocumentscode 21.11.6

https://help.nextcloud.com/t/stale-connections-to-collabora-documents/125628

I set up the built-in CODE server in my NC instance (version: 21.0.2). I noticed that if reload the page or jump to another URL while editing a spreadsheet concurrently with my colleagues and then come back to editing the document, my user is listed multiple times in the list of connected users (i.e. the icons near the share icon on top-right). This does not happen when closing the document with the x button and then coming back, so it looks somewhat like if I don’t exit “properly” then the next time I come in to edit the document the system see me as a new user, and my old connection to the document is still alive but stale. Does this make sense (my phrasing for sure does not, but I hope you understood the issue)? Is this intended behavior a bug, or a misconfiguration of my instance? Thanks in advance for any help you might provide.

I think I am experiencing something similar witht the collabora CODE server under Nextcloud. I can share a screen capture of one document for which the admin account on Nextcloud is proprietary and sharing it with other accounts (see capture below). To briefly explain : "SNS" is the name of the admin account on my Nextcloud to which the document belong. "Y" is another user accessing the document at the same time. The admin account appears multiple times in the list of users accessing the document. Clicking on the crosses at the right ("delete user") doesn't respond at all.

Is there a fix for that ? If not how can I solve this issue ? I suspect that this situation actually slow down collabora CODE on the specific document. Thank you for your help. Capture du 2022-02-04 19-49-00

YoannPa avatar Feb 04 '22 18:02 YoannPa

Recently I updated my Nextcloud CODE server: it seems the version 21.11.204 of the CODE server solves this issue. When the internet connection is unstable, it still lists multiple time the same user. But at least, after some time, the doublons disappear, and only 1 single user is displayed.

Can anyone else confirm that the bug is (in part) solved in the 21.11.204 version of CODE server ?

YoannPa avatar Mar 18 '22 01:03 YoannPa

Still very much an issue for me, to the point of utter ridiculousness. Makes it impossible to collaborate on documents. image

PatrickGuthridge avatar Mar 31 '22 19:03 PatrickGuthridge

Still very much an issue for me, to the point of utter ridiculousness. Makes it impossible to collaborate on documents. image

So actually, I have a question : doesn't it jut empty itself after a while ? Because as far as I am concern, I also still have this issue on the new version of Collabora, except after a while the multiple cells displayed, simply disappear.

In the former version, it was permanently on, and that was absolutely terrible.

In any case, we obviously need to keep this issue alive ! otherwise nobody will treat it.

YoannPa avatar Mar 31 '22 23:03 YoannPa

Still very much an issue for me, to the point of utter ridiculousness. Makes it impossible to collaborate on documents. image

For several weeks : the stale users were disappearing by themselves after 1 or 2 days, and it was fine. Now I have again the same issue than you, and Collabora does not answer anymore to basic navigation and editing in the text. I am surprised we are not more to experience this issue.

Could someone please take care of this issue ? It really makes Collabora documents impossible to use.

Nextcloud Hub II (23.0.3) Collabora Online - Built-in CODE Server 21.11.402

YoannPa avatar May 26 '22 21:05 YoannPa

@kendy Any idea why that may occur with the proxy on the built in CODE server?

juliushaertl avatar May 27 '22 16:05 juliushaertl

@Ashod: Any ideas, please?

kendy avatar May 31 '22 11:05 kendy