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

After update NC25, OnlyOffice 7.6.6 documents not opening from NC android app #735

Closed
sebaxakerhtc opened this issue Oct 30, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@sebaxakerhtc
Copy link

Updated Nextcloud to 25.0.0
Onlyoffice app updated to 7.6.6
docker container onlyoffice/documentserver:latest

Can't open documents anymore.
Have tried to downgrade onlyoffice app, but NC not work this way and want update of app.
Admin log:
fatal

Android app:
app

@SergeyKorneyev
Copy link

Hello,
We haven't been able to reproduce this yet.
Could you describe the scenario in more detail? Does this happen with any document or with specific ones? Is the file shared with you or did you create it yourself?

@sebaxakerhtc
Copy link
Author

sebaxakerhtc commented Nov 1, 2022

Could you describe the scenario in more detail? Does this happen with any document or with specific ones?

Hello,
i have this problem with any document, even it was created trough Nextcloud App - it won't open.
What i try:

  • Disable and delete onlyoffice app and then reinstall it - same result
  • Remove docker container and data then pulled new one - same result
  • Reinstalled NC App from play store, F-Droid, tried nc dev - same result
    The problem that i cant open documents only from NC App. From web interface all works as expected without problems
    I have two other Nextcloud instance with NC 24 and there is no problems at all with the same app (in one NC app i have a three accounts)

May it be because of chnges of JWT? I followed by this instruction

@sebaxakerhtc
Copy link
Author

sebaxakerhtc commented Nov 1, 2022

In the log i can see this:
critical (Level 4) [onlyoffice]

"user":"--","app":"onlyoffice","method":"GET"

very strange here "user":"--"

GET /ocs/v2.php/apps/onlyoffice/api/v1/config/0?filePath=my-path-to-document.docx&directToken=bla-bla-bla&guestName=null&inframe=true

Very strange this: &guestName=null

And obout:

"userAgent":"Mozilla/5.0 (Android 12) Mobile Nextcloud-android/3.22.3 RC1","version":"25.0.0.18","data":{"app":"onlyoffice"}

As we can see from older Android and older(not updated) Nextcloud app the same result

"Mozilla/5.0 (Android 7.1.2) Mobile Nextcloud-android/3.20.3","version":"25.0.0.18"

@sebaxakerhtc
Copy link
Author

So, i found a problem.
The problem is your OnlyOffice app is not compotable with app named "Terms of service"
I don't know why, but... that's true. After disabling "Terms of service" app all works just fine!
Thank you for your tries to help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants