Project CI CD page returns 500 error

I have migrate my gitlab 10.1.1 from one server to another using the backup:create and backup:restore functions. I have not copied the old gitlab-secrets.json because the new instance seems to have created one, somehow (maybe as part of the backup:restore).

I went to one of my projects CI/CD page under settings and got a 500 error. I then tried to actually copy the gitlab-secrets.json from the old gitlab instance but it didn’t help.

However, it only seems to happen for a specific project for which I did have secrets defined so I am slightly confused about what to do? Can I reset this even assuming I might lose some data?

OK, actually using the old instance gitlab-secrets.json solves the problem. The issue is that I forgot a gitlab-ctl reconfigure && gitlab-ctl restart. All ok now.