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. Support
  3. Minio backup fails for no reason

Minio backup fails for no reason

Scheduled Pinned Locked Moved Solved Support
miniobackups
16 Posts 4 Posters 3.1k Views 4 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.
  • T Offline
    T Offline
    thibaud
    wrote on last edited by
    #5

    @girish

    You can check this from the graphs maybe as to how much the app consumes? It's under System view.

    Yes. As expected its huge as it is a Nextcloud. The entire app consumes 36 GB.

    Yes, new in 5.4 and 5.5

    And I think my problem appeared after 5.4 update. So basically I guess I need to increase memory limit? Up to... how much?

    robiR girishG 2 Replies Last reply
    0
    • T thibaud

      @girish

      You can check this from the graphs maybe as to how much the app consumes? It's under System view.

      Yes. As expected its huge as it is a Nextcloud. The entire app consumes 36 GB.

      Yes, new in 5.4 and 5.5

      And I think my problem appeared after 5.4 update. So basically I guess I need to increase memory limit? Up to... how much?

      robiR Offline
      robiR Offline
      robi
      wrote on last edited by
      #6

      @thibaud until it works 😕

      Conscious tech

      1 Reply Last reply
      0
      • T thibaud

        @girish

        You can check this from the graphs maybe as to how much the app consumes? It's under System view.

        Yes. As expected its huge as it is a Nextcloud. The entire app consumes 36 GB.

        Yes, new in 5.4 and 5.5

        And I think my problem appeared after 5.4 update. So basically I guess I need to increase memory limit? Up to... how much?

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

        @thibaud Yes, I would start with say 1GB or so and see if it works. Note that this memory is just the "max" and also only for the duration of the backup itself.

        1 Reply Last reply
        0
        • T Offline
          T Offline
          thibaud
          wrote on last edited by
          #8

          Thank you all.

          @girish I increased the parameters step by step and tried to backup for each (until the max i.e. 16 go). I still have the same error message. Any help?

          girishG 1 Reply Last reply
          0
          • T thibaud

            Thank you all.

            @girish I increased the parameters step by step and tried to backup for each (until the max i.e. 16 go). I still have the same error message. Any help?

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

            @thibaud Are you able to mail the entire backup log to support@cloudron.io ? Let's see if it's something obvious from the logs.

            T 1 Reply Last reply
            0
            • girishG girish

              @thibaud Are you able to mail the entire backup log to support@cloudron.io ? Let's see if it's something obvious from the logs.

              T Offline
              T Offline
              thibaud
              wrote on last edited by
              #10

              @girish Done!

              girishG 1 Reply Last reply
              0
              • T thibaud

                @girish Done!

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

                @thibaud Thanks. It seems multi-part copies are failing altogether. As in, even the first part is failing. I thought it was failing much later.

                Retrying (1) multipart copy of crsav_/snapshot/app_f0770611-2970-4e86-9047-0260e0297b79.tar.gz.enc. Error: XMLParserError: Unexpected close tag\nLine: 5\nColumn: 7\nChar: > 405 (
                

                Let me quickly test this and see if it's easy to reproduce.

                1 Reply Last reply
                0
                • girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #12

                  @thibaud Mmm, I cannot reproduce this. I tried to backup and it succeeded over ~40 parts (https://paste.cloudron.io/ihulamulow.apache). So, to take a step back, it failed in "rename" . Is there something special about the filesystem where minio is located? Is it ext4? What is the underlying filesytem of Cloudron itself?

                  T 1 Reply Last reply
                  0
                  • girishG girish

                    @thibaud Mmm, I cannot reproduce this. I tried to backup and it succeeded over ~40 parts (https://paste.cloudron.io/ihulamulow.apache). So, to take a step back, it failed in "rename" . Is there something special about the filesystem where minio is located? Is it ext4? What is the underlying filesytem of Cloudron itself?

                    T Offline
                    T Offline
                    thibaud
                    wrote on last edited by
                    #13

                    @girish

                    My Minio is self-hosted in a Docker on a Synology NAS which underlying filesystem is proprietary (btfrs). I already checked if there are any known issue reported with Minio. I will double check.

                    My Cloudron is hosted on Ubuntu / ext4.

                    imc67I 1 Reply Last reply
                    0
                    • T thibaud

                      @girish

                      My Minio is self-hosted in a Docker on a Synology NAS which underlying filesystem is proprietary (btfrs). I already checked if there are any known issue reported with Minio. I will double check.

                      My Cloudron is hosted on Ubuntu / ext4.

                      imc67I Offline
                      imc67I Offline
                      imc67
                      translator
                      wrote on last edited by
                      #14

                      @thibaud said in Minio backup fails for no reason:

                      Minio is self-hosted in a Docker on a Synology NAS which underlying filesystem is proprietary (btfrs)

                      I have exactly the same situation on two Cloudrons to Minio's on two NAS's, only difference is that my backups are rsync and not tar. I experience no single issue and with Watchtower in Docker Minio is automatically updated to the latest version within 24 hours.

                      T 1 Reply Last reply
                      0
                      • imc67I imc67

                        @thibaud said in Minio backup fails for no reason:

                        Minio is self-hosted in a Docker on a Synology NAS which underlying filesystem is proprietary (btfrs)

                        I have exactly the same situation on two Cloudrons to Minio's on two NAS's, only difference is that my backups are rsync and not tar. I experience no single issue and with Watchtower in Docker Minio is automatically updated to the latest version within 24 hours.

                        T Offline
                        T Offline
                        thibaud
                        wrote on last edited by
                        #15

                        @imc67 said in Minio backup fails for no reason:

                        my backups are rsync and not tar

                        Thanks for the tip. I switched to rsync and I was full of hope. Unfortunately it also fails.

                        @girish I send you Minio full log by mail.

                        girishG 1 Reply Last reply
                        0
                        • T thibaud

                          @imc67 said in Minio backup fails for no reason:

                          my backups are rsync and not tar

                          Thanks for the tip. I switched to rsync and I was full of hope. Unfortunately it also fails.

                          @girish I send you Minio full log by mail.

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

                          @thibaud I replied to you on support@ but the issue is that there is some long file name. The current rsync+encryption backup has some file name length limitation - https://docs.cloudron.io/backups/#encryption . There is a feature request at https://forum.cloudron.io/topic/3057/consider-improvements-to-the-backup-experience-to-support-long-filenames-directory-names .

                          Run the following command in /home/yellowtent/appsdata to find the large filenames:

                          find . -type f -printf "%f\n" | awk '{ print length(), $0 | "sort -rn" }' | less
                          
                          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