Hi there, thanks a lot for your all the work Netlify is doing to build a better web
I’m trying to implement Netlify CMS for a Jekyll static site whom repo is on a self-hosted gitlab instance.
I’ve followed your documentation. Created an app in gitlab on instance level with “api” permission.
When I go on mywebsite/admin/ the login screen shows, it seems to go smooth and I get to the CMS dashboard.
But every collection is empty. I thought it came from my config.yml but it seems right. Then I checked the browser console on the admin page and there it is :
failed to load file from GitLab: _data/nav.yml implementation.js:42:16 API_ERROR: cms %5E2.0.0/dist/netlify-cms.js:51 cms %5E2.0.0/dist/netlify-cms.js:51 cms %5E2.0.0/dist/netlify-cms.js:208 entries.js:882:14 persistEntry entries.js:882
It says a similar message for every static file I point to. It doesn’t write any error for folders, although they look empty.
Then I tried to create a author and I get that error in the console :
API_ERROR: cms %5E2.0.0/dist/netlify-cms.js:51 cms %5E2.0.0/dist/netlify-cms.js:51 cms %5E2.0.0/dist/netlify-cms.js:208 [entries.js:882:14](webpack://NetlifyCms/.-core/dist/esm/actions/entries.js) persistEntry entries.js:882
So it looks like there’s a permission or access issue somewhere.
My config.yml backend section looks like that :
backend: name: gitlab repo: indiehost/website branch: add-blog-and-cms auth_type: implicit # Required for implicit grant app_id: xxxxxx api_root: https://git.indie.host/api/v4 base_url: https://git.indie.host auth_endpoint: oauth/authorize site_domain: https://web2.beta.liiib.re
For info, I’m working on “add-blog-and-cms” branch for the moment and will merge when everythink working to master. authors, post and all are on ‘add-blog-and-cms’ branch at the moment.
In Gitlab, the app is instance-level and has settings:
Trusted : true
Confidential : true
Scopes : api
I have no more idea to make it work Please help