Volto Alternate Link (redirect) returns error 500 [Solved]

Tried with a new installation an a different set of versions:

  • Plone 6.0.10
  • Volto 17.15.5
  • Node 20 / 18
  • Yarn 3.4.1 / 3.6.1

But in all of this I get the 500 (Internal server error). I'm using RAZZLE_PROXY_API_PATH as my plone is not on the default location, but also tried to run volto with a Plone in the default location

I created the volto project in Ubuntu 22 with the follwing commands:

# Install nvm
nvm install 20
nvm use 20
npm install -g yo
npm install -g yarn
yarn set version 3.4.1
npm install -g @plone/generator-volto
yo @plone/volto
# cd to project
yarn install
yarn build
yarn start:prod

No idea what's going wrong, I will report back if I find something more