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. Mattermost
  3. Mattermost large file upload issue

Mattermost large file upload issue

Scheduled Pinned Locked Moved Mattermost
6 Posts 2 Posters 1.2k Views 2 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.
  • potemkin_aiP Offline
    potemkin_aiP Offline
    potemkin_ai
    wrote on last edited by
    #1

    Hello!

    I believe I faced some issue: I needed to upload 195Mb file to my local hosted Mattermost with S3 to host files (from my virtual machine provider, not AWS). The file was reported to be uploaded Ok (after I adjusted the settings on Console to upload such a large uploads, but then we try to download it, it just give 8Mb file.

    If try to download it via public link, it gives back all 195Mb, but the archive is corrupted.

    I also checked my S3 storage, and there are 39 files - all of them of 5Mb, except for one (the last one), which 1,35Mb (screenshot attached).

    I tried to Google the issue, and it says it could be something related to nginx upload settings.

    Any glue?Screenshot 2021-06-23 at 12.52.41.png

    girishG 2 Replies Last reply
    0
    • potemkin_aiP potemkin_ai

      Hello!

      I believe I faced some issue: I needed to upload 195Mb file to my local hosted Mattermost with S3 to host files (from my virtual machine provider, not AWS). The file was reported to be uploaded Ok (after I adjusted the settings on Console to upload such a large uploads, but then we try to download it, it just give 8Mb file.

      If try to download it via public link, it gives back all 195Mb, but the archive is corrupted.

      I also checked my S3 storage, and there are 39 files - all of them of 5Mb, except for one (the last one), which 1,35Mb (screenshot attached).

      I tried to Google the issue, and it says it could be something related to nginx upload settings.

      Any glue?Screenshot 2021-06-23 at 12.52.41.png

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

      @potemkin_ai said in Mattermost large file upload issue:

      I needed to upload 195Mb file to my local hosted Mattermost with S3 to host files

      If I understand correctly, you have configured mattermost to store files on s3. You then uploaded file via mattermost and you are finding that the uploaded files are corrupt. Is this the case?

      potemkin_aiP 1 Reply Last reply
      0
      • girishG girish

        @potemkin_ai said in Mattermost large file upload issue:

        I needed to upload 195Mb file to my local hosted Mattermost with S3 to host files

        If I understand correctly, you have configured mattermost to store files on s3. You then uploaded file via mattermost and you are finding that the uploaded files are corrupt. Is this the case?

        potemkin_aiP Offline
        potemkin_aiP Offline
        potemkin_ai
        wrote on last edited by
        #3

        @girish said in Mattermost large file upload issue:

        @potemkin_ai said in Mattermost large file upload issue:

        I needed to upload 195Mb file to my local hosted Mattermost with S3 to host files

        If I understand correctly, you have configured mattermost to store files on s3. You then uploaded file via mattermost and you are finding that the uploaded files are corrupt. Is this the case?

        Thank you for the clarification! Not sure that it's corrupt - it doesn't download in full; and when it does - it is corrupt, indeed.

        1 Reply Last reply
        0
        • potemkin_aiP potemkin_ai

          Hello!

          I believe I faced some issue: I needed to upload 195Mb file to my local hosted Mattermost with S3 to host files (from my virtual machine provider, not AWS). The file was reported to be uploaded Ok (after I adjusted the settings on Console to upload such a large uploads, but then we try to download it, it just give 8Mb file.

          If try to download it via public link, it gives back all 195Mb, but the archive is corrupted.

          I also checked my S3 storage, and there are 39 files - all of them of 5Mb, except for one (the last one), which 1,35Mb (screenshot attached).

          I tried to Google the issue, and it says it could be something related to nginx upload settings.

          Any glue?Screenshot 2021-06-23 at 12.52.41.png

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

          @potemkin_ai https://docs.mattermost.com/configure/configuration-settings.html?highlight=s3#file-storage says that they haven't tested with many S3 providers - just DO spaces and minio other than s3. So, maybe that's the issue.

          potemkin_aiP 1 Reply Last reply
          0
          • girishG girish

            @potemkin_ai https://docs.mattermost.com/configure/configuration-settings.html?highlight=s3#file-storage says that they haven't tested with many S3 providers - just DO spaces and minio other than s3. So, maybe that's the issue.

            potemkin_aiP Offline
            potemkin_aiP Offline
            potemkin_ai
            wrote on last edited by
            #5

            @girish thanks for getting back! I guess it could be the issue, but I don’t expect things to be very different and this provider is used by quite a lot of the clients without any issues.

            Let me see if I will be able to get some history in here and shall I then send a feedback to Mattermost, I guess?

            girishG 1 Reply Last reply
            0
            • potemkin_aiP potemkin_ai

              @girish thanks for getting back! I guess it could be the issue, but I don’t expect things to be very different and this provider is used by quite a lot of the clients without any issues.

              Let me see if I will be able to get some history in here and shall I then send a feedback to Mattermost, I guess?

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

              @potemkin_ai yes, correct, letting the mattermost folks know would be the next step since this does not look like a packaging issue.

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