[GUIDE] Directus v12 migration
-
With @directus version 12 some things have changed, see v12.0.0 Changelog and Potential Breaking Changes.
For Cloudron users the biggest issue will be the following:
This change affects instances previously using features that now require a license, including:
- SSO — SSO login will no longer work. Users who authenticate through SSO will be unable to log in and must be converted to email and password users to regain access.
We advise applying for an "Open Innovation Grant" licence here: https://directus.com/oig if you are eligible for it.
With such a licence you can fully migrate to Directus v12 without losing any features and functions.Option 1: Setting the licence in the
/app/data/env.shfileOpen the Web File Manager of your @directus app and add the following line:
export LICENSE_KEY="YOUR_LICENSE_KEY"Option 2: Admin facing modal for migration
After updating @directus to version v12 you get greeted with the following view:

Press theContinuebutton.This view gives the option to either manage your licence or disable SSO.
Press theManage Licensebutton:

Following that, press the
Add Licensebutton:

Enter your licence key (1) and press save (2):

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login