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. cp: cannot create hard link Error - RSYNC, CIFS, Cloudron v. 9.0.18

cp: cannot create hard link Error - RSYNC, CIFS, Cloudron v. 9.0.18

Scheduled Pinned Locked Moved Unsolved Support
backuprsync
7 Posts 3 Posters 40 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.
  • luckowL Offline
    luckowL Offline
    luckow
    translator
    wrote last edited by luckow
    #1

    Feb 21 14:05:20 "cp: cannot create hard link '/mnt/managedbackups/58732e6d-3bf2-4a05-bb5f-01696d7d848e/my.example.org/2026-02-21-124607-895/app_photos.example.org__v1.97.4/data/typesense/state/snapshot/snapshot_00000000000000009833/db_snapshot/016039.sst' to '/mnt/managedbackups/58732e6d-3bf2-4a05-bb5f-01696d7d848e/my.example.org/snapshot/app_ae48c3a4-2341-4a5b-80fe-852cd9f98cb6/data/typesense/state/snapshot/snapshot_"... 59556276 more characters,

    And yes: the error is correct. There is an empty folder. There is no reason to create a link to nothing.

    Q: How to clear the cache/memory of rsync to solve this problem?

    Pronouns: he/him | Primary language: German

    1 Reply Last reply
    1
    • J Offline
      J Offline
      joseph
      Staff
      wrote last edited by
      #2

      Does this happen consistently? That file looks like some temporary file, so maybe it "disappeared" . Is this also on v9.0.18 ?

      luckowL 1 Reply Last reply
      1
      • J joseph

        Does this happen consistently? That file looks like some temporary file, so maybe it "disappeared" . Is this also on v9.0.18 ?

        luckowL Offline
        luckowL Offline
        luckow
        translator
        wrote last edited by
        #3

        @joseph said in cp: cannot create hard link Error - RSYNC, CIFS, Cloudron v. 9.0.18:

        Does this happen consistently?

        Yes. No chance for a backup. Tried it several times. Every time it quits with cp exited with code 1 signal null That's why a ask for "how to wipe the rsync brain?". Cloudron v. 9.0.18

        Pronouns: he/him | Primary language: German

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

          Hello @luckow
          For context and documentation, is this a Cloudron app or a custom app?

          In both cases, can you please attempt the following.

          • Put the app into recovery mode
          • Attempt to create an app backup

          If this works, I suspect the app is creating/deleting/moving files so fast that while a snapshot is created the file is already changed.
          Under normal circumstances this should not be a problem, so if this works, we will have to look into it.
          I also assume this issue is specific to the rsync type backup, since the tgz style will not care about such a scenario.

          luckowL 1 Reply Last reply
          0
          • jamesJ james

            Hello @luckow
            For context and documentation, is this a Cloudron app or a custom app?

            In both cases, can you please attempt the following.

            • Put the app into recovery mode
            • Attempt to create an app backup

            If this works, I suspect the app is creating/deleting/moving files so fast that while a snapshot is created the file is already changed.
            Under normal circumstances this should not be a problem, so if this works, we will have to look into it.
            I also assume this issue is specific to the rsync type backup, since the tgz style will not care about such a scenario.

            luckowL Offline
            luckowL Offline
            luckow
            translator
            wrote last edited by
            #5

            @james It immich. Directly installed from the app store. After putting the app into recovery mode and clicking "Backup," the process gets stuck at 1% Backing up photos.example.org. Waiting for lock. Any missing secret sauce to get the lock?

            Pronouns: he/him | Primary language: German

            1 Reply Last reply
            1
            • luckowL Offline
              luckowL Offline
              luckow
              translator
              wrote last edited by
              #6

              Fun fact (?): The second storage endpoint (sshfs (rsync) to a Hetzner Storage Box) works without any issues.

              Pronouns: he/him | Primary language: German

              jamesJ 1 Reply Last reply
              0
              • luckowL luckow

                Fun fact (?): The second storage endpoint (sshfs (rsync) to a Hetzner Storage Box) works without any issues.

                jamesJ Offline
                jamesJ Offline
                james
                Staff
                wrote last edited by james
                #7

                Hello @luckow

                @luckow said in cp: cannot create hard link Error - RSYNC, CIFS, Cloudron v. 9.0.18:

                The second storage endpoint (sshfs (rsync) to a Hetzner Storage Box) works without any issues.

                Interesting. What is the other backup site target?

                @luckow said in cp: cannot create hard link Error - RSYNC, CIFS, Cloudron v. 9.0.18:

                fter putting the app into recovery mode and clicking "Backup," the process gets stuck at 1% Backing up photos.example.org. Waiting for lock. Any missing secret sauce to get the lock?

                Did you wait for the recovery mode to finish setting up or did you enable the recovery mode and immediately pressed backup now?
                Also, only one backup task can be running at the same time.
                If the backup to the Hetzner Storage Box is still in progress, that is the reason why the other backup job is waiting for the lock.

                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