Migration failed: Azure Container App
π¬Self-hostedβQuestionβ
Solved
Hello, I am trying to get Zitadel set up for a PoC as an Azure container app right now and running into an issue relating to migration? I have loosely followed the docker compose documentation as we are deploying individual container apps within the same container app environment with OpenTofu.
I've confirmed that the zitadel container is able to access the postgres container app via the given postgres host env var shown below.
Currently deployed:
* DNS server with entries pointing dev-zitadel*.customdomain.com to the application gateway
* Application Gateway to point the dev-zitadel*.customdomain.com traffic to the default container app url: blah.region.azurecontainerapps.io
* Postgresql (zitadel_postgresql) as a container app in the same environment, which is using a mounted Azure file share as the data directory.
* Zitadel (zitadel), which immediately starts a migration and then eventually failing with
* the logs have been attached as a .txt
* the env vars have also been attached
* Zitadel login (zitadel-login)
Any help or guidance would be appreciated!
I've confirmed that the zitadel container is able to access the postgres container app via the given postgres host env var shown below.
Currently deployed:
* DNS server with entries pointing dev-zitadel*.customdomain.com to the application gateway
* Application Gateway to point the dev-zitadel*.customdomain.com traffic to the default container app url: blah.region.azurecontainerapps.io
* Postgresql (zitadel_postgresql) as a container app in the same environment, which is using a mounted Azure file share as the data directory.
* Zitadel (zitadel), which immediately starts a migration and then eventually failing with
level=error msg="migration failed" caller="/home/runner/work/zitadel/zitadel/cmd/setup/setup.go:378" error="ID=MIGR-as3f7 Message=Errors.Internal" name=03_default_instance* the logs have been attached as a .txt
* the env vars have also been attached
* Zitadel login (zitadel-login)
Any help or guidance would be appreciated!
zitadel_logs.txt10.26KB
zitadel_env_vars.tf2.96KB
