#Issue while upgrading backstage from 1.33.6 to 1.34.X

2 messages · Page 1 of 1 (latest)

open nexus
#

Hi,
Geetting issue while upgrading my backstage from 1.33.6 to 1.34.x

packages/backend/Dockerfile :

using node engine , node:18-bookworm-slim
root backstage Dockerfile:
here also, node18 engine only

tried upgrading backstage from cli : yarn backstage-cli versions:bump --pattern '@{backstage,roadiehq}/*' --release 1.34.0
Current Versions:
Backstage: 1.34.0 (version i have added manually in backstage.json after above version bump command)
Node.js: v20.19.5 ---> local node version
TypeScript: 5.3.3 --> yarn list typescript --depth=0
Backstage CLI: 0.29.6 --> yarn list @backstage/cli --depth=0
Package Manager: yarn@1.22.22

version bumped to desired version, but backend not working

Error: attached ,txt for logs can somebody help me here,

tardy charm
#

Hi @open nexus, being nearly a year back on version makes it terribly hard to help support you. That you had to manually update the backstage.json file does jump out as a red flag, the version bump command will do that for you and has done that fro a few years now.

Looking at the error - "Error: Policy already set" - I can at least point you in a direction. I'm pretty sure that's related to the Permissions Framework and setting the Permission Policy. It's being called twice, I'd dig into that.