Z
ZITADEL
Z
ZITADEL
Zitadel Mirror Command
Original message was deleted
ZITADEL
Join
ZITADEL - Identity infrastructure, simplified for you.
4,316
Members
View on Discord
F
FFO
•
6/29/24, 7:20 AM
Hm this error
"enable
_durable
_locking
_for
_serializable
" is weird
.
Maybe a compatibility issue with a DB version
, need to check with the others
A
adlerhurst
•
7/1/24, 12:51 PM
hi
The cockroach error happens if you use a version older than 23
.2
(see
https://zitadel.com/docs/support/advisory/a10009
for more details
)
the duplicate key error is strange
, never had that during tests
. Can you retry using the
--replace
--replace
-flag
(
https://zitadel.com/docs/self-hosting/manage/cli/mirror#usage
)
ZITADEL Docs
Date and Version
ZITADEL Docs
The mirror command allows you to do database to database migrations
. This functionality is useful to copy data from one database to another
.
G
gsmitt
Not sure about this "Currently the encryption keys of the source database must b...
F
FFO
•
7/2/24, 12:36 PM
I think that is the masterkey
F
FFO
•
7/3/24, 6:06 AM
@adlerhurst should be able to help here
A
adlerhurst
•
7/5/24, 1:33 PM
hm i try to reproduce your error
A
adlerhurst
•
7/5/24, 1:34 PM
how many events does your system have
?
A
adlerhurst
•
7/6/24, 10:43 AM
Thanks i try to reproduce
A
adlerhurst
•
7/12/24, 7:10 AM
Thanks
A
adlerhurst
•
7/17/24, 4:37 PM
i have a different error than you have but i try to reproduce
A
adlerhurst
•
7/18/24, 5:28 AM
somehow my config does not get parsed
A
adlerhurst
•
7/18/24, 7:24 AM
okay the configs will be read correctly after this one is merged
:
https://github.com/zitadel/zitadel/pull/8330
The first run was successful so i need to further investigate the issue you had
GitHub
fix(mirror): read config correctly by adlerhurst · Pull Request #83...
Which Problems Are Solved
The mirror command read the configurations in the wrong order
How the Problems Are Solved
The Pre execution run of mirror reads the default config first and then applies t
.
.
.
A
adlerhurst
•
7/18/24, 11:14 PM
you need to execute all of them
A
adlerhurst
•
7/19/24, 7:46 AM
What i think could be the problem is that zitadel used the default config and tried to copy the data to the same database
.
A
adlerhurst
•
7/22/24, 7:50 AM
this looks ways better because this error happens during the verify
.
A
adlerhurst
•
7/22/24, 7:50 AM
I try to fix this error
Next page
--replace
--replace