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

Spreadsheet size limit #236

Closed
Mbarmem opened this issue Mar 25, 2020 · 8 comments
Closed

Spreadsheet size limit #236

Mbarmem opened this issue Mar 25, 2020 · 8 comments

Comments

@Mbarmem
Copy link

Mbarmem commented Mar 25, 2020

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

What is the current behavior?
File not opening

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Open spreadsheet file > 100 MB

What is the expected behavior?
File should open

Did this work in previous versions of DocumentServer?
No idea

DocumentServer Docker tag:
onlyoffice/documentserver

Host Operating System:
Debian 10 Docker with Traefik

@Mbarmem
Copy link
Author

Mbarmem commented Mar 25, 2020

Error is "The filesize exceeds the limitation of your server".

@ShockwaveNN
Copy link
Contributor

By default limit for uncompressed xlsx file is 300MB (you can try to extract your file as zip as see how much space it took)

You can find limits in /etc/onlyoffice/documentserver/default.json and overwrite them by redefining in /etc/onlyoffice/documentserver/local.json file.

@RadesGhani
Copy link

Any update on this issue? I had similar problem when opening 200MB++ xlsx file. As suggested by @ShockwaveNN

By default limit for uncompressed xlsx file is 300MB (you can try to extract your file as zip as see how much space it took)

You can find limits in /etc/onlyoffice/documentserver/default.json and overwrite them by redefining in /etc/onlyoffice/documentserver/local.json file.

I extracted my xlsx file and the final size is just around 208MB :
image

And then here's my local.json configuration for FileConverter :
image

As shown above my configuration should suffice to open my xlsx file, however the problem persist after I configure it like that and restart the service using "supervisorctl restart all". I'm using the latest docker image of OnlyOffice Document Server integrated with local Nextcloud14 app.

@ShockwaveNN
Copy link
Contributor

@RadesGhani I just have a talk with our dev team

There is some things we notice:

  1. Judging by screenshot you got encrypted file, in that case inputLimits are ignored
  2. For encrypted files maxDownloadBytes is used. In your case it set to 404857600 seems this should be enough

We think there is maybe some error in ConvertService for your file, not related to size limits.
Could you look at /var/log/onlyoffice/documentserver/converter/ and see for errors

Also if there is some error I think it's better to create new issue, since this maybe another problem than original one

@joelchittum

This comment has been minimized.

@ShockwaveNN

This comment has been minimized.

@serinemsas

This comment was marked as off-topic.

@ShockwaveNN

This comment was marked as off-topic.

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

5 participants