"undefined method" error when GitLab pulls from GitHub
Description of the problem
Letting GitLab pull a repository from github fails with the error:
The repository failed to update 53 minutes ago.
Last successful update about 19 hours ago.
undefined method `commit_id' for nil:NilClass
This happens both on manually-triggered pulls (button Update Now
) and on pulls triggered by the webhook that GitLab inserted on GitHub.
Which Group/Project (with full path) is experiencing the issue?
sosy-lab/software/llvm-j
Only this project is affected, another project syncs nicely.
Approximate date/time when the error occurred.
2018-04-16 08:00 CEST
Describe what you were doing right before the issue occurred.
We have imported this project from GitHub in order to use GitLab's CI. The import worked fine. In the past, a GitLab project with the same name has already existed, but was deleted before importing it from GitHub again.
Edited by Philipp Wendler