Portal broken on new install of version 5.105.0 after update from 4.8

ive got a portal problem. as in it won’t form from a click of either the sign in button or the subscribe button. this post details that there is a problem and that he downgraded the script. I dont know where to do this o a little help is needed please. ` Http (/var/www/genie/versions/5.105.0/node_modules/@tryghost/api-framework/lib/http.js:77:24) after a load of detail about stripe failing due to no ssl (im am actually ssl but behind a Traefik frontend)

[2025-01-06 14:11:17] INFO “GET /” 200 28ms
[2025-01-06 14:11:22] INFO “GET /” 200 25ms
[2025-01-06 14:11:23] INFO “GET /” 200 30ms`

If your site is on the internet, can you link it please? It can be helpful to see console log errors and network calls.

Your title mentions upgrading from 4.8. You might want to inspect your config.production.json file for anywhere that specifies loading the portal from a specific url. You might be loading the wrong version.

I don’t think there’s a general problem with the latest portal release and the latest Ghost release. My self-hosted site is running Ghost and latest portal, and all seems to be fine with membership functionality. (I just updated to confirm.)

But… it’s very possible to have things not work if you have your version for portal pinned to something incompatible with the current Ghost version, or if you built a custom version of portal that is missing some changes needed for the latest version of Ghost.

If Stripe is failing, that’s possibly the source of problems for portal. Your console logs (f12 in browser) likely have some hints.

But, to answer the question on how to run a different version of Portal - you can specify what url to load it from using the config.production.json file in your Ghost root directory (not within the theme). See Configuration - Adapt your publication to suit your needs