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. Feature Requests
  3. Error alerts in the file manager

Error alerts in the file manager

Scheduled Pinned Locked Moved Feature Requests
7 Posts 2 Posters 1.1k 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.
    • mehdiM Offline
      mehdiM Offline
      mehdi
      App Dev
      wrote on last edited by
      #1

      Hello !

      I just noticed that, in the file manager, when uploading multiple files at once, if there is an error during the upload there is basically no way to know without checking the console.

      I think an alert modal to warn of the error would be appropriate here. Just changing the text in the upload progress modal to "An error happened" with an "OK" button would do.

      Right now, it's quite annoying because it fails pretty often, and it's pretty much impossible to notice. It bit me once or twice.

      (btw, is it just me, or do uploads of multiple files often fail for no apparent reason?)

      1 Reply Last reply
      0
      • nebulonN Away
        nebulonN Away
        nebulon
        Staff
        wrote on last edited by
        #2

        Is there any pattern on which files fail? Like special names or sizes?

        mehdiM 1 Reply Last reply
        0
        • nebulonN nebulon

          Is there any pattern on which files fail? Like special names or sizes?

          mehdiM Offline
          mehdiM Offline
          mehdi
          App Dev
          wrote on last edited by
          #3

          @nebulon Nope. It just seems that when I upload a bunch of files, like > 10 at a time, each files has a small chance of failing. I retry, it works.

          1 Reply Last reply
          0
          • mehdiM Offline
            mehdiM Offline
            mehdi
            App Dev
            wrote on last edited by
            #4

            Honestly, the failures are a bit annoying, but the main issue here is the lack of error message. It's much more problematic in my opinion.

            1 Reply Last reply
            0
            • mehdiM Offline
              mehdiM Offline
              mehdi
              App Dev
              wrote on last edited by
              #5

              (FYI, the request just seems to time-out in the network tab of dev tools. The error in the console is:

              Object { name: "ClientError", statusCode: "Request cancelled by browser", message: "Empty message or object" }
              filemanager.js:326
              

              )

              1 Reply Last reply
              0
              • nebulonN Away
                nebulonN Away
                nebulon
                Staff
                wrote on last edited by
                #6

                I pushed a small fix for this. It now just states there is an error without further information. A better fix will come later, once I know what the best strategy is to display the error and how a user should succeed (like a retry button or such)

                mehdiM 1 Reply Last reply
                3
                • nebulonN nebulon

                  I pushed a small fix for this. It now just states there is an error without further information. A better fix will come later, once I know what the best strategy is to display the error and how a user should succeed (like a retry button or such)

                  mehdiM Offline
                  mehdiM Offline
                  mehdi
                  App Dev
                  wrote on last edited by
                  #7

                  @nebulon Amazing, thanks ! Yeah, a better solution would be welcome on a longer term. But even just showing that there is an error is an enormous enhancement. I just had to go through a good dozen directories to check that each upload worked correctly ^^

                  If you need any help / tests to further debug the underlying error, don't hesitate to ask !

                  Thanks again for the amazing responsiveness 🙂

                  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