Hi everyone,
I’m trying to migrate Gitlab from a server to another one.
While restoring the backup on the new server, i get several errors like this one and the restore process fails.
Do you have an idea ?
48424369_2025_05_28_17.5.5/001.custom_hooks.tar": remote repository: set custom hooks: rpc error: code = Internal desc = setting custom hooks: generating prepared vote: walking directory: copying file to hash: read /var/opt/gitlab/git-data/repositories/+gitaly/tmp/default-repositories.old.1748433147.2732532550/custom_hooks: is a directory\n - @hashed/01/d5/01d54579da446ae1e75cda808cd188438834fa6249b151269db0f9123c9ddc61.git (spark/projets/projet-formation): restore custom hooks, "default/@hashed/01/d5/01d54579da446ae1e75cda808cd188438834fa6249b151269db0f9123c9ddc61.git/1748424369_2025_05_28_17.5.5/001.custom_hooks.tar": remote repository: set custom hooks: rpc error: code = Internal desc = setting custom hooks: generating prepared vote: walking directory: copying file to hash: read /var/opt/gitlab/git-data/repositories/+gitaly/tmp/default-repositories.old.1748433147.177760960/custom_hooks: is a directory\n - @hashed/58/08/580811fa95269f3ecd4f22d176e079d36093573680b6ef66fa341e687a15b5da.git (spark/projets/chug-eldorado-r2): restore custom hooks, "default/@hashed/58/08/580811fa95269f3ecd4f22d176e079d36093573680b6ef66fa341e687a15b5da.git/1748424369_2025_05_28_17.5.5/001.custom_hooks.tar": remote repository: set custom hooks: rpc error: code = Internal desc = setting custom hooks: generating prepared vote: walking directory: copying file to hash: read /var/opt/gitlab/git-data/repositories/+gitaly/tmp/default-repositories.old.1748433148.3600719694/custom_hooks: is a directory\n - @hashed/d6/06/d6061bbee6cf13bd73765faaea7cdd0af1323e4b125342ac346047f7c4bda1fc.git (spark/projets/bioprojet): restore custom hooks, "default/@hashed/d6/06/d6061bbee6cf13bd73765faaea7cdd0af1323e4b125342ac346047f7c4bda1fc.git/1748424369_2025_05_28_17.5.5/001.custom_hooks.tar": remote repository: set custom hooks: rpc error: code = Internal desc = setting custom hooks: generating prepared vote: walking directory: copying file to hash: read /var/opt/gitlab/git-data/repositories/+gitaly/tmp/default-repositories.old.1748433151.2105153144/custom_hooks: is a directory\n",“pid”:257614,“time”:“2025-05-28T11:52:36.557Z”}