Skip to content
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

OnlyOffice 6.3.0 snap wont work with NC 21 + OO 7.0.2. #71

Closed
scornet256 opened this issue May 26, 2021 · 4 comments
Closed

OnlyOffice 6.3.0 snap wont work with NC 21 + OO 7.0.2. #71

scornet256 opened this issue May 26, 2021 · 4 comments
Labels
confirmed-bug Issues with confirmed bugs

Comments

@scornet256
Copy link

scornet256 commented May 26, 2021

Do you want to request a feature or report a bug?
Bug report ...

What is the current behavior?
Trows error and Nextcloud 21.0.1 with OnlyOffice Plugin version 7.0.2 will not save and use OnlyOffice 6.3.0 provided from a snap, where it did use to work with 6.2.2.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
image

What is the expected behavior?
Settings saved and a usable OnlyOffice Document Server.

Did this work in previous versions of DocumentServer?
Yes, after snap revert onlyoffice-ds to 6.2.2 all works fine.

DocumentServer version:
6.3.0 - snap

Operating System:
Ubuntu 20.04 LTS

Browser version:
Any ...

With both versions I've enabled the JWT settings using these commands:

snap set onlyoffice-ds onlyoffice.jwt-enabled=true
snap set onlyoffice-ds onlyoffice.jwt-secret=supersecretstring
@ShockwaveNN ShockwaveNN transferred this issue from ONLYOFFICE/DocumentServer May 26, 2021
@ShockwaveNN
Copy link

Seems this is snap related problem moving it to correct repo

@igwyd please take a look

@scornet256
Copy link
Author

Sorry and thanks @ShockwaveNN ... :)

@igwyd
Copy link
Member

igwyd commented May 27, 2021

hello, @scornet256.
I can confirm - this is bug, issue 50622 in our private issue tracker.
But there is a workaround:

  1. Upgrade onlyoffice-ds
snap refresh --channel=stable onlyoffice-ds
  1. Disable JWT and change secret string to "secret"
snap set onlyoffice-ds onlyoffice.jwt-enabled=false 
snap set onlyoffice-ds onlyoffice.jwt-secret=secret
  1. Enable JWT again with your original key
snap set onlyoffice-ds onlyoffice.jwt-enabled=true 
snap set onlyoffice-ds onlyoffice.jwt-secret=supersecretstring

@ShockwaveNN ShockwaveNN added the confirmed-bug Issues with confirmed bugs label May 27, 2021
@scornet256
Copy link
Author

@igwyd Thank you! The workaround works indeed ... 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmed-bug Issues with confirmed bugs
Projects
None yet
Development

No branches or pull requests

3 participants