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

Nextcloud Office can't open word files, because of JavaScript? #3104

Closed
michelleDeko opened this issue Aug 11, 2023 · 1 comment
Closed

Nextcloud Office can't open word files, because of JavaScript? #3104

michelleDeko opened this issue Aug 11, 2023 · 1 comment

Comments

@michelleDeko
Copy link

michelleDeko commented Aug 11, 2023

Describe the bug
Opening a word document with Nextcloud Office results in following error message:
image
It doesn't happen with PowerPoint or Excel files.

To Reproduce
Steps to reproduce the behavior:

  1. Open Word document.
  2. Get error message

Expected behavior
It should work

Client details:

  • OS: Windows
  • Browser: Microsoft Edge (happens with other browsers too)
  • Version 23.0.1
  • Device: desktop

Server details

Operating system: Debian 12

Web server: Nginx

Database: MariaDB

PHP version: 8.1

Nextcloud version: 23.0.1

Version of the richdocuments app 8.1.1

Version of Collabora Online 23.5.202

Logs

Nextcloud log (data/nextcloud.log)

{"reqId":"Rupt5M2U5uwqIpXXLC5f","level":3,"time":"2023-08-11T06:55:02+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Couldn't re-calculate unencrypted size for files_versions/Schulmappen/Call Center.docx.v1657785659","userAgent":"--","version":"27.0.2.1","exception":{"Exception":"OC\\ServerNotAvailableException","Message":"Legacy cipher is no longer supported!","Code":0,"Trace":[{"file":"/var/www/cloud.deko.yt/apps/encryption/lib/Crypto/Encryption.php","line":247,"function":"getLegacyCipher","class":"OCA\\Encryption\\Crypto\\Crypt","type":"->"},{"file":"/var/www/cloud.deko.yt/lib/private/Files/Storage/Wrapper/Encryption.php","line":595,"function":"begin","class":"OCA\\Encryption\\Crypto\\Encryption","type":"->"},{"file":"/var/www/cloud.deko.yt/lib/private/Files/Storage/Wrapper/Encryption.php","line":517,"function":"fixUnencryptedSize","class":"OC\\Files\\Storage\\Wrapper\\Encryption","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/cloud.deko.yt/lib/private/Files/Storage/Wrapper/Encryption.php","line":175,"function":"verifyUnencryptedSize","class":"OC\\Files\\Storage\\Wrapper\\Encryption","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/cloud.deko.yt/lib/private/Files/Storage/Wrapper/Wrapper.php","line":153,"function":"filesize","class":"OC\\Files\\Storage\\Wrapper\\Encryption","type":"->"},{"file":"/var/www/cloud.deko.yt/lib/private/Files/View.php","line":1143,"function":"filesize","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->"},{"file":"/var/www/cloud.deko.yt/lib/private/Files/View.php","line":385,"function":"basicOperation","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/cloud.deko.yt/apps/files_versions/lib/Storage.php","line":530,"function":"filesize","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/cloud.deko.yt/apps/files_versions/lib/Storage.php","line":893,"function":"getVersions","class":"OCA\\Files_Versions\\Storage","type":"::"},{"file":"/var/www/cloud.deko.yt/apps/files_versions/lib/Command/Expire.php","line":60,"function":"expire","class":"OCA\\Files_Versions\\Storage","type":"::"},{"file":"/var/www/cloud.deko.yt/lib/private/Command/CommandJob.php","line":35,"function":"handle","class":"OCA\\Files_Versions\\Command\\Expire","type":"->"},{"file":"/var/www/cloud.deko.yt/lib/private/BackgroundJob/Job.php","line":54,"function":"run","class":"OC\\Command\\CommandJob","type":"->"},{"file":"/var/www/cloud.deko.yt/lib/private/BackgroundJob/QueuedJob.php","line":47,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/cloud.deko.yt/cron.php","line":152,"function":"execute","class":"OC\\BackgroundJob\\QueuedJob","type":"->"}],"File":"/var/www/cloud.deko.yt/apps/encryption/lib/Crypto/Crypt.php","Line":330,"message":"Couldn't re-calculate unencrypted size for files_versions/Schulmappen/Call Center.docx.v1657785659","exception":{},"CustomMessage":"Couldn't re-calculate unencrypted size for files_versions/Schulmappen/Call Center.docx.v1657785659"}}

In case you need it, here is my nginx config too: https://paste.miichelle.moe/upload/snake-falcon-emu

@michelleDeko
Copy link
Author

So, I was able to identify the problem. The firewall at work blocked it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant