Thanks for the update.
Original Message:
Sent: Dec 13, 2021 05:18 AM
From: Mohammed Sheeraz
Subject: Cannot load DevTest version from Database
Hi Vaibhav, thanks for your inputs.
It was an issue with the db table not having the LISA Version info, somehow missed during the backup.
Tried different method for backup by exporting tables from one DB to another and it worked successfully by upgrading all tables to 10.6
Regrads,
Mohammed Sheeraz
Original Message:
Sent: Dec 09, 2021 12:36 AM
From: Vaibhav Jain
Subject: Cannot load DevTest version from Database
Hi Sheeraj,
In that case as a workaround, you can use the new DB for 10.6 and import the relevant tables from old DB. Hope this will help you in the migration process meanwhile you are trying to find a resolution for existing issue.
Thanks
------------------------------
Regards,
Vaibhav Jain
Capgemini
Original Message:
Sent: 12-06-2021 11:52 AM
From: Mohammed Sheeraz
Subject: Cannot load DevTest version from Database
Hi Vaibhav,
As mentioned, I tried creating a new DB and adding that configuration in the site.properties. I could able to start the registry and tables created automatically.
If I point to 10.3 DB details it is failing to start registry and unable to upgrade the tables of DB.
And, I have the value of internal db flag as below
lisadb.internal.enabled=false
Thanks, Sheeraz
Original Message:
Sent: 12-06-2021 04:36 AM
From: Vaibhav Jain
Subject: Cannot load DevTest version from Database
Hi SHeeraz,
Please check the values of internal db flag also in dradis and site. properties
example: dradis.db.internal.enabled=true
Also, try creating a default db once as per new installation and then change the configuration
Thanks
------------------------------
Regards,
Vaibhav Jain
Capgemini
Original Message:
Sent: 12-06-2021 03:59 AM
From: Mohammed Sheeraz
Subject: Cannot load DevTest version from Database
Hi Vaibhav,
EDB for 10.6 is configured successfully and have DB details in dradis.properties file.
I'm trying for registry which is in the different server and EDB in one server.
Here, I added 10.3 DB details in the site.properties and restarted registry. Since it should upgrade DB tables automatically but it couldn't.
I might be doing something wrong.
Thanks, Sheeraz
Original Message:
Sent: 12-05-2021 03:43 AM
From: Vaibhav Jain
Subject: Cannot load DevTest version from Database
Hi Sheeraz,
When running Enterprise Dashboard with any database other than Derby, you must add the dradis.properties file, that has the database connection information, in the DevTest home folder before starting the Enterprise Dashboard. Post addition, please restart ED as well.
Thanks.
------------------------------
Regards,
Vaibhav Jain
Capgemini
Original Message:
Sent: 12-03-2021 08:17 AM
From: Mohammed Sheeraz
Subject: Cannot load DevTest version from Database
Hi All,
I am trying to upgrade DevTest 10.3 to 10.6, once installation is completed, pointed the registry DB in the site.properties and started registry.
But unable to start it as getting below error.
2021-11-30 17:23:43,506Z (17:23) [main] ERROR com.itko.lisa.coordinator.TestRegistryImpl - Cannot load DevTest version from Database.
com.itko.lisa.exception.UpgradeException: Cannot load DevTest version from Database.
at com.itko.lisa.utils.db.safeguard.DatabaseSafeGuard.getDBLisaVersion(DatabaseSafeGuard.java:188)
at com.itko.lisa.utils.db.safeguard.DatabaseSafeGuard.checkIfMigrationIsPossible(DatabaseSafeGuard.java:120)
at com.itko.lisa.utils.db.safeguard.DatabaseSafeGuard.checkIfDatabaseCanBeChanged(DatabaseSafeGuard.java:104)
at com.itko.lisa.coordinator.TestRegistryImpl.main(TestRegistryImpl.java:2191)
Could anyone please help me on this.
Thanks in advance.
Mohammed Sheeraz