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

[Bug]: Maximum number of allowable file uploads has been exceeded at Unknown#0, only in .md files #4052

Closed
6 of 9 tasks
Whoffie opened this issue Apr 14, 2023 · 4 comments
Closed
6 of 9 tasks
Labels

Comments

@Whoffie
Copy link

Whoffie commented Apr 14, 2023

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
  • Nextcloud Server is running on 64bit capable CPU, PHP and OS.
  • I agree to follow Nextcloud's Code of Conduct.

Bug description

To my knowledge, this is not a PHP or server issue. I am able to upload images and other documents to my main Nextcloud file system. The issue arises when an image is uploaded to a markdown document using Nextcloud's built-in markdown editor. When an image is uploaded, a simple "Upload error" appears in the top right corner of my screen. Upon further inspection of the logs, I see the following response:

Maximum number of allowable file uploads has been exceeded at Unknown#0

This would lead me to believe that there is something wrong with my install / PHP settings specifically, but as I mentioned earlier, I am able to upload any number of documents and images to my Nextcloud file section.

I am currently on the latest version, Nextcloud Hub 4 (26.0.0)

Steps to reproduce

  1. Create a document in Markdown
  2. Attempt to upload an image using the built-in WYSIWYG editor

Expected behavior

An image is successfully inserted into the markdown document

Installation method

Community Manual installation with Archive

Nextcloud Server version

26

Operating system

Other

PHP engine version

PHP 8.1

Web server

Apache (supported)

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

No response

List of activated Apps

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "192.168.0.159",
            "dontbestup.id"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "26.0.0.11",
        "overwrite.cli.url": "http:\/\/192.168.0.159\/nextcloud",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "filelocking.enabled": true,
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 1.5
        }
    }
}

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

@Whoffie Whoffie added 0. Needs triage bug Something isn't working labels Apr 14, 2023
@solracsf
Copy link
Member

solracsf commented Apr 14, 2023

@szaimen szaimen transferred this issue from nextcloud/server Apr 14, 2023
@juliusknorr
Copy link
Member

This error is issued by PHP so it looks like a setup issue. You might want to check the value of max_file_uploads in your php configuration.

@blizzz
Copy link
Member

blizzz commented Jun 19, 2023

@Whoffie any updates on those questions?

@mejo-
Copy link
Member

mejo- commented Jun 19, 2023

Let's close the issue for now. @Whoffie if you still experience the issue, please try to provide further details as asked in the questions above and don't hesitate to reopen.

@mejo- mejo- closed this as completed Jun 19, 2023
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

5 participants