Moved group, cannot create new group with old name (Path has been taken before)

Hi,

I’m running GitLab 10.5.3 as an omnibus installation on an Ubuntu server.

Recently I renamed a subgroup with projects in it from foo_100 to foo_200.
Now I wanted to created a new subgroup foo_100 again, but it failed with the message
Path has been taken before.

According to this answer, I thought it has someting do do with routes and tried to find it within the gitlab-rails console:

route = Route.find_by(“path LIKE ‘%foo_100%’”)
=> nil

But didn’t work.

Can somebody point me to the right place where and how I can free the used path?

I can imagine that this would destroy the automatic redirect when accessing foo_100 right now, but in this
case I don’t need it.

Thanks
Moritz