Strapi V5 with PostregSQL in Azure

I have done the following steps:

  1. Deployed a Web App + Database in Azure (Postgresql) - This configures a vnet so db can be accessed privately from web app
  2. I have setup a storage account and container
  3. I have changed the environment variables to the app service to match those in the strapi config for the database and the storage container
  4. I have added the storage container info to plugin.ts in strapi code
  5. I have deployed via github actions

The website deploys and I can access the admin panel but I cannot register the first admin user. Its as though it cannot see the database for some reason. If I manually add the azure db connection info to localhost for my dev environment it connects perfeectly and does what its suppose to. Its just the web app cannot see the db for some reason. I also deployed a web app and database separately and set the database to fully public for all IPs and accessible from all azure services and still strapi will not move to the next screen or work with the db in azure. So I am at a standstill and not sure how to debug this.

I checked log streams and I am not seeing any errors. What else shoudl I check?

This topic has been created from a Discord post (1284190327363731557) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

I do notice in my browser I am getting this error: strapi-DTVbBIX9.js:2615 TypeError: Cannot read properties of undefined (reading ‘isEE’)
at _0e (strapi-DTVbBIX9.js:2615:11967)

I have finally gotten it working!

Hello! Nice, what was the issue in the end?

So for startup config in azure you have to do node node_modules/@strapi/strapi/bin/strapi.js start

And I was dumb also thinking the azure storage container plugin for v4 would work for v5. I was wrong so that was breaking the code. For now I don’t have a storage solution other than public/uploads unfortunately

<@852922891280187462> - the lack of support for Azure Cloud Storage is also screwing me over.

Yea I would think they would want to support more enterprise architecture so some of the big dogs start using it.

who/what are big dogs?