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. Nextcloud
  3. Maximum upload size

Maximum upload size

Scheduled Pinned Locked Moved Nextcloud
8 Posts 3 Posters 1.3k 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.
    • archosA Offline
      archosA Offline
      archos
      wrote on last edited by
      #1

      Hi, is it possible to increase the maximum upload file size? And where is this file located, somehow I can't find it. Thank you very much.

      A 1 Reply Last reply
      0
      • archosA archos

        Hi, is it possible to increase the maximum upload file size? And where is this file located, somehow I can't find it. Thank you very much.

        A Offline
        A Offline
        ApplegateR
        wrote on last edited by
        #2

        @archos I believe it edit in php.ini in file manager

        Go check file manager then that should be show php after edit restart the app will take affect

        Richard Applegate
        Anthem Coffee and Tea
        Joe Coffee
        IT/Administrator Server/Network

        1 Reply Last reply
        2
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by girish
          #3

          The default in nextcloud package are already quite high.

          RUN crudini --set /etc/php/7.4/apache2/php.ini PHP upload_max_filesize 5G && \
              crudini --set /etc/php/7.4/apache2/php.ini PHP post_max_size 5G && \
          

          Do you need more than above? Also, check /app/data/.htaccess as well which is a htaccess file nextcloud auto-generates for the data directory. (Note: confusingly, there is also a /app/data/htaccess which is for the code directory).

          archosA 1 Reply Last reply
          2
          • girishG girish

            The default in nextcloud package are already quite high.

            RUN crudini --set /etc/php/7.4/apache2/php.ini PHP upload_max_filesize 5G && \
                crudini --set /etc/php/7.4/apache2/php.ini PHP post_max_size 5G && \
            

            Do you need more than above? Also, check /app/data/.htaccess as well which is a htaccess file nextcloud auto-generates for the data directory. (Note: confusingly, there is also a /app/data/htaccess which is for the code directory).

            archosA Offline
            archosA Offline
            archos
            wrote on last edited by
            #4

            @girish Thank you for your reply. I'm working abroad and I have bad internet at the guesthouse. So I wanted to upload some movies to Nextcloud. So I was wondering if there was a problem increasing the max upload to 10GB

            A 1 Reply Last reply
            0
            • archosA archos

              @girish Thank you for your reply. I'm working abroad and I have bad internet at the guesthouse. So I wanted to upload some movies to Nextcloud. So I was wondering if there was a problem increasing the max upload to 10GB

              A Offline
              A Offline
              ApplegateR
              wrote on last edited by
              #5

              @archos there no problem but make sure higher ram that can run movie.. and space

              Richard Applegate
              Anthem Coffee and Tea
              Joe Coffee
              IT/Administrator Server/Network

              archosA 1 Reply Last reply
              2
              • A ApplegateR

                @archos there no problem but make sure higher ram that can run movie.. and space

                archosA Offline
                archosA Offline
                archos
                wrote on last edited by
                #6

                @ApplegateR Thank you for the information. So it's enough just to add in the file manager to php.ini code, which gave here @girish ?

                RUN crudini --set /etc/php/7.4/apache2/php.ini PHP upload_max_filesize 10G && \
                    crudini --set /etc/php/7.4/apache2/php.ini PHP post_max_size 5G && \
                
                girishG 1 Reply Last reply
                0
                • archosA archos

                  @ApplegateR Thank you for the information. So it's enough just to add in the file manager to php.ini code, which gave here @girish ?

                  RUN crudini --set /etc/php/7.4/apache2/php.ini PHP upload_max_filesize 10G && \
                      crudini --set /etc/php/7.4/apache2/php.ini PHP post_max_size 5G && \
                  
                  girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #7

                  @archos You have to edit /app/data/php.ini and add something like:

                  [PHP]
                  upload_max_filesize=10G
                  post_max_size=10G
                  

                  And restart the app.

                  archosA 1 Reply Last reply
                  2
                  • girishG girish

                    @archos You have to edit /app/data/php.ini and add something like:

                    [PHP]
                    upload_max_filesize=10G
                    post_max_size=10G
                    

                    And restart the app.

                    archosA Offline
                    archosA Offline
                    archos
                    wrote on last edited by
                    #8

                    @girish Great, it's settled. Thank you both so much.

                    1 Reply Last reply
                    1
                    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