@Jean,
Thank a lot for your answer.
I played around with a spare laptop.
1/ I installed a minimal Ubuntu 20 with BBB 2.7 and Greenlight v3, an internal hostname and a self-signed certificate
I installed Greenlight v2 from docker and restored the GLv2 database backup-ed from the production server (running BBB 2.5 and GLv2)
I managed to migrate v2 to v3 after struggling a few hours with the fact that GLv2 did not recognize the self-signed certificate.
Also, I found the official migration documentation a little bit unclear.
Indeed it begins with:
In Greenlight v2 .env file, add the following variables:
V3_ENDPOINT, which points to your Greenlight v3 URL.
V3_SECRET_KEY_BASE, a copy from Greenlight v3 SECRET_KEY_BASE.
But then it reads below
Retrieve GLv2's SECRET_KEY_BASE:
Edit the .env file on your GLv2 machine and replace the value of V3_SECRET_KEY_BASE with the copied value.
On your GLv3 machine, replace the SECRET_KEY_BASE in your .env file with the same value that you copied from GLv2.
Ensure that the SECRET_KEY_BASE values for GLv2, GLv3, and the V3_SECRET_KEY_BASE variable in GLv2's .env file are now synchronized.
which is not quite logical: V3_SECRET_KEY_BASE must actually be the SECRET_KEY_BASE from v3 and not from v2 :-/
Eventually I was able to migrate roles, users and rooms and synchronize recordings in GLv3, and I checked that I was able to access my own GL user account in v3 with the same password as in v2.
2/ I backup-ed the GLv3 directory, crashed the operating system and installed on my test laptop: Ubuntu 22 with BBB 3 and Greenlight v3
And I checked that I was able to restore the previous GLv3 backup.
Everything seems to be fine now, so I will reinstall the production server...
Regards,
Mélanie