IdentityServer / IdentityServer4

OpenID Connect and OAuth 2.0 Framework for ASP.NET Core
https://identityserver.io
Apache License 2.0
9.23k stars 4.02k forks source link

How to upgrade from Identity Server 4 v3.1.4 to v4.0.0 to not lose data? #5428

Closed Duke4848 closed 2 years ago

Duke4848 commented 2 years ago

I need to upgrade from IdS 4 to 4.0.0, a lots of tables change between 3.1.4 and 4.0.0 but I can't find any migration tool or process. I can upgrade my nuget packate to 4.0.0 and generate migration but it will drop and recreate the tables, what about data inside?

brockallen commented 2 years ago

Here are some upgrade guides to the latest: https://docs.duendesoftware.com/identityserver/v6/upgrades/

Duke4848 commented 2 years ago

Here are some upgrade guides to the latest: https://docs.duendesoftware.com/identityserver/v6/upgrades/

Thanks, that will do. Is there any official upgrade from IdS3 to IdS4 3.x.x ? I got this covered by custom migration tool, but if there is an official way...

brockallen commented 2 years ago

Is there any official upgrade from IdS3 to IdS4 3.x.x

Unfortunately no. I do know of some consulting companies that have specialized in this, so if you need that level of assistance then contact us for a referral.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Questions are community supported only and the authors/maintainers may or may not have time to reply. If you or your company would like commercial support, please see here for more information.

github-actions[bot] commented 2 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.