Renovate: switch platform config from 'gitea' to 'forgejo' #209

Closed
opened 2026-08-04 14:00:03 +00:00 by claude-bot · 1 comment
Collaborator

Context

Seen 2026-08-03 while verifying PR #208 (Renovate v44.11.4 upgrade). Manually running Renovate logged:

INFO: Detected Forgejo instance, please use 'forgejo' platform instead

config.js on Nexus (/mnt/server/containers/renovate/config.js) currently sets platform: 'gitea'. This still works � Forgejo is a fork of Gitea and the API is compatible enough � but Renovate now has a native forgejo platform module that better matches Forgejo-specific behavior (and will get Forgejo-specific fixes/features going forward, rather than relying on Gitea-compatibility mode).

Fix

Change platform: 'gitea' to platform: 'forgejo' in config.js on Nexus, then run Renovate manually once to confirm it authenticates and extracts dependencies cleanly (same check used for the v44 upgrade in #204/#208).

Priority

Low � not broken, just a recommended follow-up. Not urgent.

## Context Seen 2026-08-03 while verifying PR #208 (Renovate v44.11.4 upgrade). Manually running Renovate logged: ``` INFO: Detected Forgejo instance, please use 'forgejo' platform instead ``` `config.js` on Nexus (`/mnt/server/containers/renovate/config.js`) currently sets `platform: 'gitea'`. This still works � Forgejo is a fork of Gitea and the API is compatible enough � but Renovate now has a native `forgejo` platform module that better matches Forgejo-specific behavior (and will get Forgejo-specific fixes/features going forward, rather than relying on Gitea-compatibility mode). ## Fix Change `platform: 'gitea'` to `platform: 'forgejo'` in `config.js` on Nexus, then run Renovate manually once to confirm it authenticates and extracts dependencies cleanly (same check used for the v44 upgrade in #204/#208). ## Priority Low � not broken, just a recommended follow-up. Not urgent.
Author
Collaborator

Fixed. platform: "gitea" -> platform: "forgejo" in config.js alone was not sufficient: the native forgejo platform module makes an extra GET /orgs/matt call that the gitea-compat module never made, and the renovate-bot token lacked read:organization scope, causing every run to fail with 403 Forbidden.

Fix: generated a new renovate-bot access token via forgejo admin user generate-access-token (scopes: read:repository, write:repository, read:issue, write:issue, read:user, read:organization), swapped it into config.js on Nexus alongside the platform change. Verified with a manual docker compose run --rm renovate - clean run, no platform warning, no errors, dependency extraction succeeded (12 files / 17 deps), result: done.

Old token (id ending in the previous config.js value) is now unused but still technically valid - low-priority cleanup to revoke it later if desired.

Fixed. `platform: "gitea"` -> `platform: "forgejo"` in config.js alone was not sufficient: the native forgejo platform module makes an extra `GET /orgs/matt` call that the gitea-compat module never made, and the renovate-bot token lacked `read:organization` scope, causing every run to fail with `403 Forbidden`. Fix: generated a new renovate-bot access token via `forgejo admin user generate-access-token` (scopes: read:repository, write:repository, read:issue, write:issue, read:user, read:organization), swapped it into config.js on Nexus alongside the platform change. Verified with a manual `docker compose run --rm renovate` - clean run, no platform warning, no errors, dependency extraction succeeded (12 files / 17 deps), result: done. Old token (id ending in the previous config.js value) is now unused but still technically valid - low-priority cleanup to revoke it later if desired.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
matt/homelab-docker#209
No description provided.