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 won't upload larger files #5438

Closed
jangrimm opened this issue Jun 16, 2017 · 3 comments
Closed

Nextcloud won't upload larger files #5438

jangrimm opened this issue Jun 16, 2017 · 3 comments

Comments

@jangrimm
Copy link

jangrimm commented Jun 16, 2017

Steps to reproduce

I try to upload a file 200 MB large (not that big, thus), yet I can't get it done. Neither via nextcloud web, WebDAV nor nextcloud client. I properly set up the php.ini configuration and everything around.

  1. Install nextcloud and try to upload the file

Expected behaviour

The file is uploaded

Actual behaviour

Web: It uploads, but finally nothing happens. After the (upload) process, just nothing
WebDAV on Windows: I/O Device Error
Nextcloud Client: Nothing happens (the nextcloud log doesn't say anything else)

Server configuration

Operating system: Deb 8

Web server: Plesk's apache

Database: mysql

PHP version: 7

Nextcloud version: (see Nextcloud admin page) latest

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

Where did you install Nextcloud from: setup.php

Signing status:

Signing status
Login as admin user into your Nextcloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results here.

List of activated apps:

App list
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder

Nextcloud configuration:

Config report
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder

or 

Insert your config.php content here. 
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)

Are you using external storage, if yes which one: -

Are you using encryption: yes

Are you using an external user-backend, if yes which one: -

LDAP configuration (delete this part if not used)

LDAP config
With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your Nextcloud installation folder

Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';


Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.

Client configuration

Browser:

Operating system:

Logs

Web server error log

Web server error log
Insert your webserver log here

Nextcloud log (data/nextcloud.log)

Nextcloud log
Insert your Nextcloud log here

Browser log

Browser log
Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...
@sunjam
Copy link

sunjam commented Jun 17, 2017

Hi, there is a maximum file size option under Admin > Additional Settings. Please take a look at what it is currently set to. Fyi, I set mine to 2gb. Be sure to post back the solution if you find it. :)

Also, here is a way to change maximum upload filesize in Apache. You can google for Nginx info, etc.

  • vim /etc/php*/apache2/php.ini
  • vim /etc/php*/apache2/php.ini
  • Find upload_max_filesize and change it (along with post_max_size)
  • Save the file
  • Restart apache2
  • Edit admin settings in NC to reflect php.ini

Here is a link to a forum discussion about changing Maximum File Upload size on Nextcloud.

@benbrummer
Copy link

benbrummer commented Jun 19, 2017

For Plesk use following Settings:
PHP Settings for your-nextcloud.com:
Leave everything default, except:
max_execution_timem => 3600
max_input_time => 3600
open_basedir => add ":/dev/urandom:/proc/meminfo" to the end of line

Additional directives:
opcache.enable_cli=1
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=10000
opcache.memory_consumption=128
opcache.save_comments=1
opcache.revalidate_freq=1

As @sunjam mentioned change Setting under Admin > Additional Settings.
Do not change php.ini directly, but only with Plesk Gui

If you use nginx there will be additional steps to to

@MorrisJobke
Copy link
Member

I assume this is fixed with the latest hints. I will close this. If there are still problems with it, please first checkout the forums for help: https://help.nextcloud.com/ because this looks more like a setup problem, than a real bug.

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

4 participants