Error 500 on Merge Requests
Hello,
after Upgrade from v17.1.2 to v17.2.0, we can no longer see merge requests. If I click on the Merge Request, I see Error 500.
On logfile I see:
"exception.message": "undefined method `allowed_for?' for nil:NilClass\n\n next true if generate_commit_message_data.allowed_for?(@user)\n
...
"exception.cause_class": "NoMethodError",
Gitlab is self hostet on Ubuntu 22.04 as package gitlab-ee:17.2.0-ee.0
What can we do?
**Update/workaround** In the [comments there](https://gitlab.com/gitlab-org/gitlab/-/issues/473716#note_2010275661) is a provided workaround that resolved this issue:
> It sounds to me that they have outdated CloudConnector::Access data.
> The reason why is outdated, may be that they at some point were using online cloud license, and then switched/downgraded to legacy license.
> This has happened before, when a customer started trialing the Ultimate license. For trials, we do not use the online cloud license.
>
> Can we check if the customer is using legacy license? Are they using AI features at all?
> If that is the case, the workaround for this would be to delete obsolete CloudConnctor::Access data:
>
> ```ruby
> CloudConnector::Access.delete_all
> ```
> — [Comment](https://gitlab.com/gitlab-org/gitlab/-/issues/473716#note_2010275661) by @nmilojevic1
issue