Zitadel mirror not working
I am getting this below error,
zitadel init --config mirror-config.yaml
INFO[0000] initialization started caller="/home/runner/work/zitadel/zitadel/cmd/initialise/init.go:70"
DEBU[0000] failed to get oid for command type caller="/home/runner/work/zitadel/zitadel/internal/eventstore/v3/eventstore.go:118" error="no rows in result set"
INFO[0000] verify user caller="/home/runner/work/zitadel/zitadel/cmd/initialise/verify_user.go:40" username=zitadel
INFO[0000] verify database caller="/home/runner/work/zitadel/zitadel/cmd/initialise/verify_database.go:40" database=zitadel
INFO[0000] verify grant caller="/home/runner/work/zitadel/zitadel/cmd/initialise/verify_grant.go:35" database=zitadel user=zitadel
DEBU[0000] failed to get oid for command type caller="/home/runner/work/zitadel/zitadel/internal/eventstore/v3/eventstore.go:118" error="no rows in result set"
INFO[0000] verify zitadel caller="/home/runner/work/zitadel/zitadel/cmd/initialise/verify_zitadel.go:80" database=zitadel
FATA[0000] unable to initialize ZITADEL caller="/home/runner/work/zitadel/zitadel/cmd/initialise/init.go:66" error="failed to connect to
about psql , i also able to check it login and database and all, i am not sure where i am goin wrong or is this the issue with ziitadel mirror
user=zitadel database=zitadel
: 127.0.0.1:5432 (localhost): failed SASL auth: FATAL: password authentication failed for user "zitadel" (SQLSTATE 28P01)"
------------------------------------------
i have chekced the cockraocdh db , its loging working and there is database created andabout psql , i also able to check it login and database and all, i am not sure where i am goin wrong or is this the issue with ziitadel mirror

3 Replies
@adlerhurst do you have some idea sir
hey @fireblazerš„ welcome to the server, looking into it š
hey @fireblazerš„ the error you got is for wrong password, pls check your
mirror-config.yaml
credentials
there is a similar issue on discord https://discord.com/channels/927474939156643850/1105617213798502420
pls make sure that the db user exists and has the proper permissions before running zitadel init
againHi @fireblazerš„
would it be possible to share the configuration (without any secrets)?