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
  • Brite
  • 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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Can't import backup: Error loading fsmetadata.json

Can't import backup: Error loading fsmetadata.json

Scheduled Pinned Locked Moved Unsolved Support
backuprestore
15 Posts 3 Posters 283 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.
  • jamesJ Offline
    jamesJ Offline
    james
    Staff
    wrote last edited by
    #6

    Hello @difficult222

    @difficult222 said in Can't import backup: Error loading fsmetadata.json:

    I can find this file in two locations in my Object Storage:

    backup/2026-01-24-060000-602/app_name_v1.4.0/fsmetadata.json

    backup/snapshot/app_0245750c-82b5-4b4c-b6ea-15c53d6046b6/fsmetadata.json

    These two files. Can you check the size of these two files and also the content?

    Also, since the error is with this file /home/yellowtent/appsdata/f6e82f5e-ae79-403b-b824-f96d8989b4f4/fsmetadata.json
    Can you check if this file really does not exist?

    1 Reply Last reply
    0
    • D Offline
      D Offline
      difficult222
      wrote last edited by
      #7

      Sure! Thanks for the instructions!

      The two fsmetadata.jsons files in Object Storage look like this:

      {
        "emptyDirs": [
          "./data/modules/BulkEdit/test/BulkEditTest",
          "./data/files/preload",
          "./data/files/import",
          "./data/files/backup/log"
        ],
        "execFiles": [
          "./data/omeka-s-cli.phar"
        ],
        "symlinks": [
          {
            "path": "./data/modules/Ldap",
            "site": "/app/code/modules_vanilla/Ldap"
          },
          {
            "path": "./data/themes/default",
            "site": "/app/code/themes_vanilla/default"
          }
        ]
      }
      

      size: 428 byte

      How can I check if /home/yellowtent/appsdata/f6e82f5e-ae79-403b-b824-f96d8989b4f4/fsmetadata.json exists?

      When I start the terminal I only have home/cloudron/..., but no home/yellow-tent/...

      1 Reply Last reply
      0
      • jamesJ Offline
        jamesJ Offline
        james
        Staff
        wrote last edited by
        #8

        Hello @difficult222
        For this you need to ssh into your Cloudron server.
        There you can check /home/yellowtent

        1 Reply Last reply
        0
        • D Offline
          D Offline
          difficult222
          wrote last edited by difficult222
          #9

          I sshed into the server, and the file really does not exist:

          cloudron# ls /home/yellowtent/appsdata/f6e82f5e-ae79-403b-b824-f96d8989b4f4/fsmetadata.json   
          
          ls: cannot access '/home/yellowtent/appsdata/f6e82f5e-ae79-403b-b824-f96d8989b4f4/fsmetadata.json': No such file or directory
          

          The content of the directory:

          cloudron# cd /home/yellowtent/appsdata/f6e82f5e-ae79-403b-b824-f96d8989b4f4/
          cloudron# ls -la
          total 2552
          drwxr-xr-x 5 yellowtent yellowtent    4096 Jan 30 23:06 .
          drwxr-xr-x 4 yellowtent yellowtent    4096 Jan 28 19:35 ..
          drwxr-xr-x 3 yellowtent yellowtent    4096 Jan 28 20:07 2026-01-24-060000-602
          -rw-r--r-- 1 yellowtent yellowtent    6343 Jan 31 23:06 config.json
          drwxr-xr-x 6 www-data   www-data      4096 Jan 30 15:02 data
          -rw-r--r-- 1 yellowtent yellowtent 2582680 Jan 31 23:06 mysqldump
          drwxr-xr-x 3 yellowtent yellowtent    4096 Jan 28 20:15 snapshot
          
          1 Reply Last reply
          1
          • J Online
            J Online
            joseph
            Staff
            wrote last edited by
            #10

            @difficult222 there is something wrong with that output . It has 2026-01-24-060000-602 and snapshot . These directories should not be there (in fact, they are part of backups).

            Can you check if those directories exist in the Hezner S3 also? If it did, something has gone wrong with how the backups are getting created . Could it be that you changed the prefix of a site? Or used a prefix that already had some contents from previous backup setup?

            1 Reply Last reply
            0
            • D Offline
              D Offline
              difficult222
              wrote last edited by
              #11

              right now, it looks like that in Hetzner Object Storage:
              grafik.png

              No, I didn't change the prefix of a site.

              Should I just delete everything on Hetzner and start again?

              1 Reply Last reply
              0
              • D Offline
                D Offline
                difficult222
                wrote last edited by
                #12

                I deleted everything on S3 and then made a fresh backup and tried to import again: Same error.

                This is the structure on hetzner:

                [2026-02-07 14:12:46 CET] 3.1MiB STANDARD 2026-02-07-131010-053/app_example.com_v1.4.0.backupinfo
                [2026-02-07 14:11:58 CET] 8.3KiB STANDARD 2026-02-07-131010-053/app_example.com_v1.4.0/config.json
                [2026-02-07 14:11:58 CET]   428B STANDARD 2026-02-07-131010-053/app_example.com_v1.4.0/fsmetadata.json
                [2026-02-07 14:12:46 CET] 4.0GiB STANDARD 2026-02-07-131010-053/app_example.com_v1.4.0/mysqldump
                [2026-02-07 14:11:58 CET] 3.1MiB STANDARD snapshot/app_0245750c-82b5-4b4c-b6ea-15c53d6046b6.backupinfo
                [2026-02-07 14:11:07 CET] 8.3KiB STANDARD snapshot/app_0245750c-82b5-4b4c-b6ea-15c53d6046b6/config.json
                [2026-02-07 14:11:07 CET]   428B STANDARD snapshot/app_0245750c-82b5-4b4c-b6ea-15c53d6046b6/fsmetadata.json
                [2026-02-07 14:11:57 CET] 4.0GiB STANDARD snapshot/app_0245750c-82b5-4b4c-b6ea-15c53d6046b6/mysqldump
                

                Still same error:

                box:backupformat/rsync Recreating empty directories in {"localRoot":"/home/yellowtent/appsdata/f6e82f5e-ae79-403b-b824-f96d8989b4f4","layout":[]}
                Feb 07 14:19:49 box:apptask run: app error for state pending_import: BoxError: Error loading fsmetadata.json:ENOENT: no such file or directory, open '/home/yellowtent/appsdata/f6e82f5e-ae79-403b-b824-f96d8989b4f4/fsmetadata.json' at restoreFsMetadata (/home/yellowtent/box/src/backupformat/rsync.js:188:38) at Object.download (/home/yellowtent/box/src/backupformat/rsync.js:290:11) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async download (/home/yellowtent/box/src/backuptask.js:129:5) at async Object.downloadApp (/home/yellowtent/box/src/backuptask.js:169:5) at async installCommand (/home/yellowtent/box/src/apptask.js:341:9) { reason: 'External Error', details: {} }
                Feb 07 14:19:49 box:tasks setCompleted - 3594: {"result":null,"error":{"message":"Error loading fsmetadata.json:ENOENT: no such file or directory, open '/home/yellowtent/appsdata/f6e82f5e-ae79-403b-b824-f96d8989b4f4/fsmetadata.json'","reason":"External Error"},"percent":100}
                Feb 07 14:19:49 box:tasks updating task 3594 with: {"completed":true,"result":null,"error":{"message":"Error loading fsmetadata.json:ENOENT: no such file or directory, open '/home/yellowtent/appsdata/f6e82f5e-ae79-403b-b824-f96d8989b4f4/fsmetadata.json'","reason":"External Error"},"percent":100}
                Feb 07 14:19:49 Exiting with code 0
                Feb 07 14:19:49 box:taskworker Task took 171.978 seconds
                Feb 07 14:19:49 BoxError: Error loading fsmetadata.json:ENOENT: no such file or directory, open '/home/yellowtent/appsdata/f6e82f5e-ae79-403b-b824-f96d8989b4f4/fsmetadata.json'
                
                

                Might be something wrong with the way I create the backup?

                1 Reply Last reply
                0
                • jamesJ Offline
                  jamesJ Offline
                  james
                  Staff
                  wrote last edited by
                  #13

                  Hello @difficult222

                  Please contact us at support@cloudron.io and reference this issue so we can have a look at your system to figure out what is going on.

                  1 Reply Last reply
                  0
                  • D Offline
                    D Offline
                    difficult222
                    wrote last edited by
                    #14

                    I did, thanks

                    1 Reply Last reply
                    1
                    • J Online
                      J Online
                      joseph
                      Staff
                      wrote last edited by
                      #15

                      @difficult222 I have replied to your ticket.

                      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