The upgrade fails with this error messages
OpenEMR Error : Decryption failed authentication.
OpenEMR Error : Key in drive is not compatible (ie. can not be decrypted) with key in database - Exiting.
PHP 8.1.2-1
ubuntu 2.11
Apache/2.4.52
Here were the steps taken to get here.
-
Created new server to move to.
-
Install dependencies from the dependencies page
-
Followed the instructions to upgrade from the upgrade page
-
Backup database from v5 and imported into a new empty database created on the new server and copied key set sixa and sixb to new server before next step
-
Ran the upgrade script. No problems. Upgrade script completed with no errors.
Attempted to access the login page. A blank screen shows. Tried accessing the login screen from two more different browsers, blank. Keeps repeating the same error message.
According to @brady.miller , keys should never be deleted and keys should follow the database.
If I delete the keys, then the login username and password do not work.
I have tried upgrading from v5 - v6. That does not work. There is an internal error displayed.
There are no modifications to the v5 database.
My question. Is there a routine that upgrades the key set between versions?