community-plugins icon indicating copy to clipboard operation
community-plugins copied to clipboard

rbac backend not working.

Open crazy-canux opened this issue 7 months ago • 1 comments

Workspace

rbac

📜 Description

[1] /Users/canche01/Code/iep/iep/node_modules/@backstage/backend-defaults/node_modules/@backstage/backend-app-api/src/wiring/BackendInitializer.ts:96 [1] throw new Error( [1] ^ [1] [1] [1] Error: No extension point or service available for the following ref(s): serviceRef{core.auditor} [1] at BackendInitializer.#getInitDeps (/Users/canche01/Code/iep/iep/node_modules/@backstage/backend-defaults/node_modules/@backstage/backend-app-api/src/wiring/BackendInitializer.ts:96:13) [1] at process.processTicksAndRejections (node:internal/process/task_queues:95:5) [1] at (/Users/canche01/Code/iep/iep/node_modules/@backstage/backend-defaults/node_modules/@backstage/backend-app-api/src/wiring/BackendInitializer.ts:289:30) [1] at async Promise.all (index 6) [1] at BackendInitializer.#doStart (/Users/canche01/Code/iep/iep/node_modules/@backstage/backend-defaults/node_modules/@backstage/backend-app-api/src/wiring/BackendInitializer.ts:239:5) [1] at BackendInitializer.start (/Users/canche01/Code/iep/iep/node_modules/@backstage/backend-defaults/node_modules/@backstage/backend-app-api/src/wiring/BackendInitializer.ts:149:5) [1] at BackstageBackend.start (/Users/canche01/Code/iep/iep/node_modules/@backstage/backend-defaults/node_modules/@backstage/backend-app-api/src/wiring/BackstageBackend.ts:38:11)

👍 Expected behavior

can start backend server

👎 Actual Behavior with Screenshots

can't start backend server.

👟 Reproduction steps

follow the docs.

📃 Provide the context for the Bug.

[1] /Users/canche01/Code/iep/iep/node_modules/@backstage/backend-defaults/node_modules/@backstage/backend-app-api/src/wiring/BackendInitializer.ts:96 [1] throw new Error( [1] ^ [1] [1] [1] Error: No extension point or service available for the following ref(s): serviceRef{core.auditor} [1] at BackendInitializer.#getInitDeps (/Users/canche01/Code/iep/iep/node_modules/@backstage/backend-defaults/node_modules/@backstage/backend-app-api/src/wiring/BackendInitializer.ts:96:13) [1] at process.processTicksAndRejections (node:internal/process/task_queues:95:5) [1] at (/Users/canche01/Code/iep/iep/node_modules/@backstage/backend-defaults/node_modules/@backstage/backend-app-api/src/wiring/BackendInitializer.ts:289:30) [1] at async Promise.all (index 6) [1] at BackendInitializer.#doStart (/Users/canche01/Code/iep/iep/node_modules/@backstage/backend-defaults/node_modules/@backstage/backend-app-api/src/wiring/BackendInitializer.ts:239:5) [1] at BackendInitializer.start (/Users/canche01/Code/iep/iep/node_modules/@backstage/backend-defaults/node_modules/@backstage/backend-app-api/src/wiring/BackendInitializer.ts:149:5) [1] at BackstageBackend.start (/Users/canche01/Code/iep/iep/node_modules/@backstage/backend-defaults/node_modules/@backstage/backend-app-api/src/wiring/BackstageBackend.ts:38:11)

👀 Have you spent some time to check if this bug has been raised before?

  • [x] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Are you willing to submit PR?

None

crazy-canux avatar May 09 '25 13:05 crazy-canux

Hello @crazy-canux, do you mind sharing what version of Backstage and the RBAC plugins you are using?

PatAKnight avatar May 12 '25 13:05 PatAKnight

@PatAKnight ,

Facing the same problem, Here is the environment details,

Backstage version: 1.35.1 Latest plugin version: rbac-backend: 6.2.6 (https://www.npmjs.com/package/@backstage-community/plugin-rbac-backend)

snps-srikako avatar May 26 '25 09:05 snps-srikako

@snps-srikako, It looks like the issue you're encountering comes from a change added in version 6.0.0 of the RBAC backend plugin, where we started using the core auditor service added in Backstage 1.36.

PatAKnight avatar May 27 '25 12:05 PatAKnight