Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Vikunja
  3. Attaching 5 MB image to task results in "413 Request Entity Too Large"

Attaching 5 MB image to task results in "413 Request Entity Too Large"

Scheduled Pinned Locked Moved Solved Vikunja
6 Posts 3 Posters 1.0k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • canadaduaneC Offline
      canadaduaneC Offline
      canadaduane
      wrote on last edited by
      #1

      I get the following error when trying to attach/upload a 4.6 MB image to a Vikunja task:

      413 Request Entity Too Large
      nginx/1.18.0 (Ubuntu)
      

      21c74174-17db-4f16-8647-dcdd41d0a452-image.png

      Reading a few other threads here related to this error message (but for different apps) one of the recommendations was to increase the RAM. I did so, from 256 MB to 1 GB; however, the error remains when trying to upload.

      Any suggested solutions from here?

      1 Reply Last reply
      0
      • canadaduaneC Offline
        canadaduaneC Offline
        canadaduane
        wrote on last edited by
        #2

        A couple of interesting notes:

        • Reducing the size of the image to ~2 MB does not help
        • But I can upload an image that is about 100KB
        1 Reply Last reply
        0
        • subvenS Offline
          subvenS Offline
          subven
          wrote on last edited by subven
          #3

          Take a look at the config.yml first:

          files:
            # The path where files are stored basepath: 
          /app/data/files/ # relative to the binary
            # The maximum size of a file, as a human-readable string.
            # Warning: The max size is limited 2^64-1 bytes due to the underlying datatype
            maxsize: 20MB
          
          canadaduaneC 1 Reply Last reply
          0
          • subvenS subven

            Take a look at the config.yml first:

            files:
              # The path where files are stored basepath: 
            /app/data/files/ # relative to the binary
              # The maximum size of a file, as a human-readable string.
              # Warning: The max size is limited 2^64-1 bytes due to the underlying datatype
              maxsize: 20MB
            
            canadaduaneC Offline
            canadaduaneC Offline
            canadaduane
            wrote on last edited by
            #4

            @subven Yes, I did take a look there and my yml is still set to the default 20 MB. Is that what you mean for me to check for?

            girishG 1 Reply Last reply
            0
            • canadaduaneC canadaduane

              @subven Yes, I did take a look there and my yml is still set to the default 20 MB. Is that what you mean for me to check for?

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #5

              @canadaduane think there is a bug in the nginx config of the package. I have fixed it now, can you please update and try?

              canadaduaneC 1 Reply Last reply
              1
              • girishG girish

                @canadaduane think there is a bug in the nginx config of the package. I have fixed it now, can you please update and try?

                canadaduaneC Offline
                canadaduaneC Offline
                canadaduane
                wrote on last edited by
                #6

                @girish It's fixed! Thank you very much.

                1 Reply Last reply
                2
                • nebulonN nebulon marked this topic as a question on
                • nebulonN nebulon has marked this topic as solved on
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Bookmarks
                  • Search