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

PNGs with larger sizes fail to upload #10345

Closed
BlackHoleFox opened this issue Jul 23, 2018 · 4 comments
Closed

PNGs with larger sizes fail to upload #10345

BlackHoleFox opened this issue Jul 23, 2018 · 4 comments
Labels

Comments

@BlackHoleFox
Copy link

Steps to reproduce

  1. Install the latest snap on Ubuntu 16 LTS
  2. Try to upload a .png with a larger resolution and filesize ( 4.34 MB)
  3. Look at the browser console to see error

Expected behavior

The file should upload to the server

Actual behavior

An error is thrown in the console and the webpage hangs forever

Server configuration

Operating system: Ubuntu 16.04 LTS

Web server: Apache

Database: MySQL

PHP version: 7.1.17

Nextcloud version: 13.0.4

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

Where did you install Nextcloud from: Ubuntu Snap

Signing status:

No errors

Browser Log:

core.js?v=960bda7d-8:4 PUT https://domain.domain.com/remote.php/webdav/FirefoxIcon2.png 413 ()
merged-index.js?v=960bda7d-8:1318 Uncaught TypeError: Cannot read property 'message' of undefined
    at HTMLInputElement.fail (merged-index.js?v=960bda7d-8:1318)
    at e.(/index.php/apps/files/anonymous function).(anonymous function)._trigger (https://domain.domain.com/core/vendor/core.js?v=960bda7d-8:13:10075)
    at e.(/index.php/apps/files/anonymous function).(anonymous function)._onFail (https://domain.domain.com/index.php/js/files/merged-index.js?v=960bda7d-8:2672:18)
    at e.(/index.php/apps/files/anonymous function).(anonymous function)._onFail (https://domain.domain.com/core/vendor/core.js?v=960bda7d-8:13:5077)
    at Object.<anonymous> (merged-index.js?v=960bda7d-8:2706)
    at j (core.js?v=960bda7d-8:2)
    at Object.fireWith [as rejectWith] (core.js?v=960bda7d-8:2)
    at x (core.js?v=960bda7d-8:4)
    at XMLHttpRequest.<anonymous> (core.js?v=960bda7d-8:4)
@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #10184 (Uploading medium size files fails), #8954 (Uploading large files fails), #2090 (Add max share size to public upload), #5438 (Nextcloud won't upload larger files), and #4604 (Upload via public folder fails).

@BlackHoleFox
Copy link
Author

The bot is partly right but I have found no actual solutions or talk of a fix being implemented. I have tested with the client and it says the server responds with a file too large error. Does anyone know how to either fix this or to enable a larger upload size with a Snap install?

@MorrisJobke
Copy link
Member

cc @kyrofa for the snap question.

@skjnldsv
Copy link
Member

skjnldsv commented Jun 7, 2019

As I cannot reproduce the original issue anymore, I will close this ticket. If this is still happening please make sure to upgrade to the latest version. After that, feel free to reopen.

@skjnldsv skjnldsv closed this as completed Jun 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants