|
ADempiere Virtual Appliance Help Page
TITLE
ERROR 1001 - Last migration record not found in adempiere db
SUMARY
Getting "ERROR 1001 - Last migration record not found in adempiere db" when running "ava_agent upgrade".
This is likely caused by the changes in the ava_agent script.
Until the 353a Trunk AVA version we were using a local file to control the order and steps for the sql migration scripts.
With the 354a Trunk AVA version the ava_agent upgrade logic was moved into the ad_migrationscript table on the ADempiere database.
When 'ava_agent upgrade' gets invoked,
it does a "SELECT name FROM adempiere.ad_migrationscript ORDER BY ad_migrationscript_id DESC LIMIT 1;"
which returns empty generating the error above.
SOLUTION
See Tracker ID 2865701
|