I once turned off the wiki now want to switch it back. Retry several times already, doesn’t work. Somebody pls help…
Hey @reno.zhang, welcome to the GitLab Community Forum!
Unfortunately, it looks like you’ve run into a known bug that I reported last week. I encourage you to give that issue a thumbs up, which will allow you to receive any updates on it.
To work around the issue you can still re-enable the wiki via the API. For example, the following API call would do the trick, just be sure to replace
PROJECT_ID with your project ID and
TOKEN with a PAT scoped for
curl --request PUT \ --url 'https://gitlab.com/api/v4/projects/PROJECT_ID?wiki_enabled=yes' \ --header 'authorization: Bearer TOKEN'