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

setup max upload file limited failed #6058

Closed
aabbbaabbb opened this issue Aug 10, 2017 · 1 comment
Closed

setup max upload file limited failed #6058

aabbbaabbb opened this issue Aug 10, 2017 · 1 comment

Comments

@aabbbaabbb
Copy link

Steps to reproduce

I follow the video to setup nextcloud
https://www.youtube.com/watch?v=nXr_muYB6xI

change conf of /etc/php/7.0/apache2/php.ini
memory_limit = 2500MB
post_max_size = 2400MB
upload_max_filesize = 2300MB

restart apache2

login to NC by admin and change admin->additional settings->file dandling->Maximum upload size
change to 2300MB

upload a 4GB file

upload success

Expected behaviour
cannot upload bigger than 2300 MB file

Actual behaviour
upload a 4GB file success

No errors in any log file.

Server configuration

Operating system: ubuntu 16.04 LTS

Web server : Apache2

Database :Mysql

PHP version :php7

Nextcloud version: 12.0.0

Updated from an older Nextcloud/ownCloud or fresh install:fresh install

Are you using encryption: no

Browser: Google Chrome

Operating system:ubuntu 16.04 LTS

@MorrisJobke
Copy link
Member

login to NC by admin and change admin->additional settings->file dandling->Maximum upload size
change to 2300MB

This is not an actual restriction, but an maximum limit that is raised. That means, that this only was one possible issue, that would forbid to upload bigger files. It was never meant in a way that quota for example does. And this setting will go once we have chunked upload in the web UI as well. It is only a technical limitation not a business logic.

The reason it work for you: in other configuration files (apache/php) this is set to a higher limit and therefor works.

Closing as non-issue.

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

2 participants