Skip to content

can't move repository - route repository creation: additional repository not found

Description

During a move from one gitaly, to a gitaly cluster, a few repositories are not migratable. They fail with the error: route repository creation: additional repository not found.

sudo -u git -- /opt/gitlab/embedded/bin/praefect -config /var/opt/gitlab/praefect/config.toml metadata -virtual-storage praefect -relative-path @hashed/f3/43/f343a80aafa11416dbea660c9adb5728982363a1db46756a4c4c86849048088b.git
2024/11/24 16:18:46 get metadata: rpc error: code = NotFound desc = repository not found

The metadata command returns the same on praefect. However, the repositories are as it seems, fine. They can still be cloned and are still served from the old gitaly. But migration seems impossible.

We couldn't find a solution to this yet.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information