what do you have in git-data/repositories for that id240 ?
[root@git arhi]# pwd
/var/opt/gitlab/git-data/repositories/arhi
[root@git arhi]# ls -la
total 8
drwxr-sr-x. 2 git root 4096 Sep 23 03:27 .
drwxrws---. 10 git root 4096 Sep 24 13:56 ..
[root@git arhi]#
if there is no data in the old storage dir … looks like this cipher fails 'cause dir is empty