Max Upload size from public share link?

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): 28.0.2 - 28.0.2.5
Operating system and version (eg, Ubuntu 20.04): Linux 5.15.0-94-generic #104-Ubuntu Apache or nginx version _(eg, Apache 2.4.25)_: nginx/1.18.0 (fpm-fcgi)`
PHP version (eg, 7.4): 8.2.6
The issue you are facing:

  • When I create a shared link for external people to use, it seems to be capped at 50MB limit when uploaded videos.

Steps to replicate it:

  1. Create a shared link to a test folder
  2. Follow the created link to the upload page
  3. By uploading videos under 50MB this works, Above this comes the message “An unknown error has occurred”. or “Cannot upload file “xy””

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "***REMOVED SENSITIVE VALUE***"
    ],
    "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "mysql",
    "version": "28.0.2.5",
    "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "mysql.utf8mb4": true,
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "mail_smtpmode": "smtp",
    "mail_sendmailmode": "smtp",
    "theme": "",
    "loglevel": 0,
    "maintenance": false,
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpport": "587",
    "mail_smtpauthtype": "LOGIN",
    "default_phone_region": "DE",
    "memcache.local": "\\OC\\Memcache\\APCu",
    "updater.release.channel": "stable",
    "trashbin_retention_obligation": "7, 7",
    "app_install_overwrite": [
        "files_antivirus",
        "gpgmailer"
    ],
    "maintenance_window_start": 1

The output of your Apache/nginx/system log in /var/log/____:

[16/Feb/2024:08:18:16 +0100] “POST /apps/text/public/session/20276/push HTTP/1.1” 403 2 “-” “Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0”

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

[PHP] Fehlersuche: Creation of dynamic property OCA\FirstRunWizard\Settings\Personal::$urlGenerator is deprecated at /usr/share/nginx/nextcloud/apps/firstrunwizard/lib/Settings/Personal.php#40

I am also seeing in the dev tools under Network: 413 with and answer: Request Entity Too Large
The requested resource does not allow request data with PUT requests, or the amount of data provided in the request exceeds the capacity limit.

Within my php.ini I have set:

upload_max_filesize: 16G
post_max_size: 16G

max_input_time: 3600
max_execution_time: 3600

Maybe
client_max_body_size
in
/etc/nginx/nginx.conf

Read here.