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. Cannot Restore Nextcloud Backups via rsync to MinIO – fsmetadata.json ENOENT Error

Cannot Restore Nextcloud Backups via rsync to MinIO – fsmetadata.json ENOENT Error

Scheduled Pinned Locked Moved Nextcloud
11 Posts 4 Posters 517 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.
  • BenoitB Benoit

    Hello, I’m encountering an issue with my Nextcloud backups via rsync to an unencrypted MinIO on a Cloudron server. I’m unable to properly restore a backup—I always get the same error on one file:

    External Error: Error loading fsmetadata.json: ENOENT: no such file or directory, open '/home/yellowtent/appsdata/appid/fsmetadata.json'

    The only backup I’ve been able to restore is the very first (oldest) one from a month ago… How can I fix this? Thank you for your help!

    Cloudron v8.3.1 (Ubuntu 20.04.4 LTS)

    BrutalBirdieB Offline
    BrutalBirdieB Offline
    BrutalBirdie
    Partner
    wrote on last edited by
    #2

    @Benoit said in Cannot Restore Nextcloud Backups via rsync to MinIO – fsmetadata.json ENOENT Error:

    Ubuntu 20.04.4 LTS

    FYI: Ubuntu 20.04 LTS (Focal Fossa) reached its end-of-life (EOL) on May 31, 2025.
    This means that Ubuntu 20.04 will no longer receive free security patches, maintenance updates, or bug fixes from Canonical. While the system won't stop working, it becomes increasingly vulnerable to security threats.


    Hey @Benoit can you check iniside the minio if the latest backup indeed has files?

    Like my work? Consider donating a drink. Cheers!

    BenoitB 1 Reply Last reply
    0
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #3

      @Benoit for a start check if the backup storage has a fsmetadata.json for the backup which is failing, to make sure the file actually exist on the backup storage side.

      1 Reply Last reply
      0
      • BrutalBirdieB BrutalBirdie

        @Benoit said in Cannot Restore Nextcloud Backups via rsync to MinIO – fsmetadata.json ENOENT Error:

        Ubuntu 20.04.4 LTS

        FYI: Ubuntu 20.04 LTS (Focal Fossa) reached its end-of-life (EOL) on May 31, 2025.
        This means that Ubuntu 20.04 will no longer receive free security patches, maintenance updates, or bug fixes from Canonical. While the system won't stop working, it becomes increasingly vulnerable to security threats.


        Hey @Benoit can you check iniside the minio if the latest backup indeed has files?

        BenoitB Offline
        BenoitB Offline
        Benoit
        translator
        wrote on last edited by
        #4

        @BrutalBirdie yes i know that and we start OS upgrades. Yes the backups have files. But not all the files because of rsync.
        @nebulon it seems the fsmetadata.json isn't exist... I tried with a new manual backup and the fsmetadata is not created, but we have no error during the backup process.

        1 Reply Last reply
        0
        • nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #5

          Actually also with rsync all files should exist for each backup. Can you check the app data to see if that contains the file for a start? It would be at /home/yellowtent/appsdata/<appid>/fsmetadata.json

          BenoitB 1 Reply Last reply
          0
          • nebulonN nebulon

            Actually also with rsync all files should exist for each backup. Can you check the app data to see if that contains the file for a start? It would be at /home/yellowtent/appsdata/<appid>/fsmetadata.json

            BenoitB Offline
            BenoitB Offline
            Benoit
            translator
            wrote on last edited by
            #6

            @nebulon said in Cannot Restore Nextcloud Backups via rsync to MinIO – fsmetadata.json ENOENT Error:

            /home/yellowtent/appsdata/

            yes it is

            Capture d’écran du 2025-04-23 11-53-24.png

            1 Reply Last reply
            0
            • nebulonN Offline
              nebulonN Offline
              nebulon
              Staff
              wrote on last edited by
              #7

              but you say it is not uploaded to minio then afterwards during a backup?

              1 Reply Last reply
              1
              • BenoitB Offline
                BenoitB Offline
                Benoit
                translator
                wrote on last edited by
                #8

                Yes, no fsmetadata.json on minio. I can only restore the oldest backup without errors. All the others fail and I always get the same error. Naturally, when I retry the task, Nextcloud ends up either empty or in an error state.

                1 Reply Last reply
                0
                • nebulonN Offline
                  nebulonN Offline
                  nebulon
                  Staff
                  wrote on last edited by
                  #9

                  It really should be uploaded just like all the other files. You should see something like box:backupformat/rsync Adding fsmetadata.json early on during the backup process.

                  Maybe we have to debug this on your instance then to see what happens, if you don't see any error in the backup logs itself. For this please enable remote ssh support and send us a mail to support@cloudron.io with Cloudron details.

                  1 Reply Last reply
                  2
                  • BenoitB Offline
                    BenoitB Offline
                    Benoit
                    translator
                    wrote on last edited by
                    #10

                    ok thanks @nebulon i write to support.

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

                      @Benoit thanks for your patience! The issue was that listObjects API call in minio is not returning all objects. Some bug in minio. Moving to listObjectsV2 API makes it work.

                      Fixed in https://git.cloudron.io/platform/box/-/commit/48bf21a537d634167e6477d2671794056b87a592

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