-
Notifications
You must be signed in to change notification settings - Fork 20
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
Cannot save at all #34
Comments
Same Problem here. |
Same issue here .. but i do see some warnings in the logs when trying to save: and Local test install of Collabora code and mattemost whit 1.1.0 version of collabora plugin. |
Can we get more info - for example a good stack-trace of where this Error comes from ? that would be quite helpful. The proximate cause is in Mattermost - but presumably we're passing in some wrong authentication pieces from higher up the stack. Getting those stack frames would be most helpful. Presumably breaking on session.go:89 and following https://golang.org/doc/gdb with a 'bt' to generate a backtrace and pasting in would be really useful. Thanks! |
@mmeeks does this help:
i'm not a experienced gdb user and i might need more directions :D |
i realise i did not follow your instructions, @mmeeks .. :D |
It looks helpful =) but I expect that this entry point is used by many callers - and we really want to break only when this assert fails. Quite possibly we don't need to insert a breakpoint, and go will trap / raise a signal for gdb when the assert fails - if so, that would be ideal. Thanks ! =) |
The Mattermost-Log says after editing and saving a doc:
|
@notaus557 thanks for that - however, we don't call createSessionForUserAccesToken from collabora-mattermost as far as I can see - so, getting a full stack-trace would be extremely helpful. Possibly this page: https://docs.mattermost.com/configure/configuration-settings.html which has a Stacktrace setting you can set to true might help - can we turn the log level right up too to get more data? Thanks. |
@mmeeks i could not reproduce the behaviour when mattermost was using local storage.. which makes me think mattermost <-> s3 is the real problem.. @notaus557 are you also using s3 storage in mattermost, if so what provider do you use? |
@mmeeks after switching back to s3 storage for mattermost, the problem reappears .. :) We are using ceph as our s3 provider, ill try to reproduce this on aws bucket storage as well. |
We use Local Storage. (Centos 7 VM) on the same machine as the Gitlab EE Instance. |
@notaus557 what is you "Local storage directory:" set to in mattermosts config? |
it's the gitlab suggested default setting data has mattermost:root owner, I also tried with 777, but no change. |
Ah ok, |
sorry to say, no change with data in /tmp |
Any fixes , i'm using s3 storage |
Hello everyone, any news for this issue? |
Anyone can try to complile last plugin commit? Maybe can solve the problem? |
I use 1.1 version and change some code in plugin.go as workaround, in my case backstore is s3 minio.
then repace the "save local file" section:
|
Sorry but doesn't work with local storage. same collabora istance with nextcloud works correctly. |
I can confirm this issue:
Mattermost 7.3.0 Debian / Collabora Plugin 1.1.0 COOLWSD Version: LOKit Version: Collabora Office 22.05.6.1 Debian GNU/Linux 10 (buster) Viewing / Editing flles works, but we cannot save changes.
|
@yunusem Can you help us? |
@sarz4fun Hi, I just quickly read the discussion from top to bottom, the only outcome I can think of is that you need a small debugging about your local storage when the saving action is happening. So, in my opinion, it is not related to any session management since editing works, and this comment should have helped. Maybe try harder with file and path permissions? |
hello, i have tried with 777 permissions to attachment folder but no luck. Invalid or missing token error on saving. |
Whatever document I edit with Mattermost and Collabora, if I save or the autosave do it, the document isn´t saved at all. Matermost log file - no issues; Collabora logfile - no issues;
Any ideas what I can do?
The text was updated successfully, but these errors were encountered: