Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~/kerja/openbravo2$ ant update.database
- OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=1024m; support was removed in 8.0
- Buildfile: /home/tiko/kerja/openbravo2/build.xml
- set.code.rev:
- code.rev:
- init:
- core.lib:
- init:
- compile:
- build.jar:
- build:
- database.lib:
- compile:
- jar:
- buildvalidation:
- [sql] Executing commands
- [sql] 2 of 2 SQL statements executed successfully
- buildvalidation:
- [java] 0 [main] INFO org.openbravo.base.ExecutionLimitBaseProcess - Executing buildValidation: org.openbravo.buildvalidation.DatabaseDecimalNumberCheck
- [java] 19 [main] INFO org.openbravo.base.ExecutionLimitBaseProcess - Executing buildValidation: org.openbravo.buildvalidation.DatabaseVersionCheck
- update.database:
- [sql] Executing commands
- [sql] 2 of 2 SQL statements executed successfully
- update.database.java:
- [java] 0 INFO - Database connection: jdbc:postgresql://localhost:5432/openbravo. User: postgres. System User: postgres
- [java] 794 INFO - Executing full update.database
- [java] 799 INFO - Max threads 2
- [java] 1139 INFO - Loading model from database...
- [java] 1154 INFO - Reading tables...
- [java] 7442 INFO - Reading views...
- [java] 7564 INFO - Reading sequences...
- [java] 7570 INFO - Reading triggers...
- [java] 7601 INFO - Reading functions...
- [java] 8003 INFO - Sorting foreign keys, indexes and checks...
- [java] 8081 INFO - Starting function trigger and view standardization in 2 threads
- [java] 17880 INFO - Standardidized 308 functions, 318 triggers and 47 views in 9800 ms
- [java] 17895 INFO - Reading model files...
- [java] 22831 INFO - Loading data from XML files
- [java] 25934 INFO - Loading and applying configuration scripts
- [java] 25940 INFO - Applying data part of configuration script: org.openbravo.v3
- [java] 25942 INFO - Loading configuration script: /home/tiko/kerja/openbravo2/modules/org.openbravo.v3/src-db/database/configScript.xml
- [java] 26630 INFO - Applying data part of configuration script: org.openbravo.importProdutCategory.template
- [java] 26633 INFO - Loading configuration script: /home/tiko/kerja/openbravo2/modules/org.openbravo.importProdutCategory.template/src-db/database/configScript.xml
- [java] We didn't found the row that we wanted to change. Table:[AD_PROCESS_PARA] PK[: 262]
- [java] We didn't found the row that we wanted to change. Table:[AD_PROCESS_PARA] PK[: 262]
- [java] We didn't found the row that we wanted to change. Table:[AD_PROCESS_PARA] PK[: 262]
- [java] We didn't found the row that we wanted to change. Table:[AD_PROCESS_PARA] PK[: 330]
- [java] We didn't found the row that we wanted to change. Table:[AD_PROCESS_PARA] PK[: 330]
- [java] We didn't found the row that we wanted to change. Table:[AD_PROCESS_PARA] PK[: 330]
- [java] We didn't found the row that we wanted to change. Table:[AD_COLUMN] PK[: 4674]
- [java] We didn't found the row that we wanted to change. Table:[AD_COLUMN] PK[: 4687]
- [java] We didn't found the row that we wanted to change. Table:[AD_COLUMN] PK[: 7822]
- [java] We didn't found the row that we wanted to change. Table:[AD_COLUMN] PK[: 7829]
- [java] We didn't found the row that we wanted to change. Table:[AD_COLUMN] PK[: 7843]
- [java] We didn't found the row that we wanted to change. Table:[AD_COLUMN] PK[: 7843]
- [java] We didn't found the row that we wanted to change. Table:[AD_COLUMN] PK[: 7845]
- [java] We didn't found the row that we wanted to change. Table:[AD_COLUMN] PK[: 7885]
- [java] We didn't found the row that we wanted to change. Table:[AD_COLUMN] PK[: 7922]
- [java] We didn't found the row that we wanted to change. Table:[AD_COLUMN] PK[: 7924]
- [java] We didn't found the row that we wanted to change. Table:[AD_COLUMN] PK[: 7924]
- [java] We didn't found the row that we wanted to change. Table:[AD_COLUMN] PK[: 8655]
- [java] We didn't found the row that we wanted to change. Table:[AD_COLUMN] PK[: 9038]
- [java] We didn't found the row that we wanted to change. Table:[AD_COLUMN] PK[: 9181]
- [java] We didn't found the row that we wanted to change. Table:[AD_COLUMN] PK[: 9243]
- [java] We didn't found the row that we wanted to change. Table:[AD_COLUMN] PK[: 9282]
- [java] We didn't found the row that we wanted to change. Table:[AD_COLUMN] PK[: 9282]
- [java] We didn't found the row that we wanted to change. Table:[AD_COLUMN] PK[: 9295]
- [java] We didn't found the row that we wanted to change. Table:[AD_COLUMN] PK[: 802886]
- [java] We didn't found the row that we wanted to change. Table:[AD_COLUMN] PK[: 803722]
- [java] We didn't found the row that we wanted to change. Table:[AD_COLUMN] PK[: 1005500001]
- [java] We didn't found the row that we wanted to change. Table:[AD_COLUMN] PK[: 1005500001]
- [java] We didn't found the row that we wanted to change. Table:[AD_FIELD] PK[: 5969]
- [java] We didn't found the row that we wanted to change. Table:[AD_FIELD] PK[: 5982]
- [java] We didn't found the row that we wanted to change. Table:[AD_FIELD] PK[: 5982]
- [java] We didn't found the row that we wanted to change. Table:[AD_FIELD] PK[: 5982]
- [java] We didn't found the row that we wanted to change. Table:[AD_FIELD] PK[: 5984]
- [java] We didn't found the row that we wanted to change. Table:[AD_FIELD] PK[: 6018]
- [java] We didn't found the row that we wanted to change. Table:[AD_FIELD] PK[: 6018]
- [java] We didn't found the row that we wanted to change. Table:[AD_FIELD] PK[: 6018]
- [java] We didn't found the row that we wanted to change. Table:[AD_FIELD] PK[: 7152]
- [java] We didn't found the row that we wanted to change. Table:[AD_FIELD] PK[: 7152]
- [java] We didn't found the row that we wanted to change. Table:[AD_FIELD] PK[: 803231]
- [java] We didn't found the row that we wanted to change. Table:[AD_FIELD] PK[: 1005500004]
- [java] We didn't found the row that we wanted to change. Table:[AD_FIELD] PK[: 1005500004]
- [java] We didn't found the row that we wanted to change. Table:[AD_FIELD] PK[: 1005500004]
- [java] We didn't found the row that we wanted to change. Table:[AD_VAL_RULE] PK[: 141]
- [java] 26994 INFO - Checking if database structure was modified locally.
- [java] 27667 INFO - Checking if data has changed in the application dictionary.
- [java] 27726 INFO - Executing script prescript-systemuser-PostgreSql.sql
- [java] 27746 INFO - Executed 3 SQL command(s) successfully in 5 ms
- [java] 27748 INFO - Executing script prescript-PostgreSql.sql
- [java] 27937 INFO - Executed 115 SQL command(s) successfully in 187 ms
- [java] 27941 INFO - Updating database model...
- [java] 28190 INFO - Executed 53 SQL command(s) successfully in 81 ms
- [java] 28199 INFO - Executed 5 forced SQL command(s) with 1 error(s) in 7 ms
- [java] 28205 INFO - Executed 1 forced SQL command(s) successfully in 13 ms
- [java] 28318 INFO - Executed 104 SQL command(s) successfully in 80 ms
- [java] 28354 INFO - Comparing databases to find data differences...
- [java] 30448 INFO - Disabling foreign keys
- [java] 30531 INFO - Executed 139 SQL command(s) successfully in 79 ms
- [java] 30534 INFO - Disabling triggers
- [java] 30573 INFO - Executed 226 SQL command(s) successfully in 33 ms
- [java] 30676 INFO - Executed 830 SQL command(s) successfully in 86 ms
- [java] 30679 INFO - Running modulescripts...
- [java] 30705 INFO - Executing moduleScript: org.openbravo.modulescript.HBFix
- [java] 30721 INFO - Executing moduleScript: org.openbravo.modulescript.InitializeCostingMigrationPreference
- [java] 30770 INFO - Executing moduleScript: org.openbravo.advpaymentmngt.modulescript.InitializeAPRMReadyPreference
- [java] 30788 INFO - Updating Application Dictionary data...
- [java] 31137 INFO - Recreating Primary Keys...
- [java] 31192 INFO - Executing oncreatedefault statements for mandatory columns...
- [java] 31363 INFO - Executed 80 SQL command(s) successfully in 156 ms
- [java] 31604 INFO - Executed 900 SQL command(s) successfully in 226 ms
- [java] 31606 INFO - Dropping temporary tables...
- [java] 31942 INFO - Executed 65 SQL command(s) successfully in 312 ms
- [java] 31962 INFO - Executed 3 forced SQL command(s) successfully in 16 ms
- [java] 31964 INFO - Enabling Foreign Keys...
- [java] 32001 INFO - Batch statement failed. Rolling back and retrying all the statements in a non-batched connection.
- [java] 32035 WARN - SQL Command failed with: ERROR: insert or update on table "ad_column" violates foreign key constraint "ad_element_ad_column"
- [java] Detail: Key (ad_element_id)=(912) is not present in table "ad_element".
- [java] 32037 WARN - -- END
- [java] ALTER TABLE AD_COLUMN
- [java] ADD CONSTRAINT AD_ELEMENT_AD_COLUMN FOREIGN KEY (AD_ELEMENT_ID) REFERENCES AD_ELEMENT (AD_ELEMENT_ID)
- [java] 32157 WARN - SQL Command failed with: ERROR: insert or update on table "ad_module_dependency" violates foreign key constraint "ad_module_dependency_ad_depend"
- [java] Detail: Key (ad_dependent_module_id)=(FF8081812FBF677A012FBF6A0D3E0003) is not present in table "ad_module".
- [java] 32159 WARN - -- END
- [java] ALTER TABLE AD_MODULE_DEPENDENCY
- [java] ADD CONSTRAINT AD_MODULE_DEPENDENCY_AD_DEPEND FOREIGN KEY (AD_DEPENDENT_MODULE_ID) REFERENCES AD_MODULE (AD_MODULE_ID)
- [java] 32478 INFO - Executed 139 SQL command(s) with 2 error(s) in 475 ms
- [java] 32480 INFO - Enabling Triggers...
- [java] 32539 INFO - Executed 226 SQL command(s) successfully in 53 ms
- [java] 32543 INFO - Executing script postscript-PostgreSql.sql
- [java] 32569 INFO - Executed 12 SQL command(s) successfully in 23 ms
- [java] 33225 ERROR - Not all the foreign keys were correctly activated. Please review which ones were not, and fix the missing references, or recover the backup of your sources.
- [java] java.lang.Exception: There were serious problems while updating the database. Please review and fix them before continuing with the application rebuild
- [java] at org.openbravo.ddlutils.process.DBUpdater.checkErrors(DBUpdater.java:324)
- [java] at org.openbravo.ddlutils.process.DBUpdater.update(DBUpdater.java:140)
- [java] at org.openbravo.ddlutils.task.AlterDatabaseDataAll.doExecute(AlterDatabaseDataAll.java:69)
- [java] at org.openbravo.ddlutils.task.BaseDatabaseTask.execute(BaseDatabaseTask.java:88)
- [java] at org.openbravo.ddlutils.task.AlterDatabaseJava.main(AlterDatabaseJava.java:81)
- [java] Exception in thread "main" java.lang.Exception: There were serious problems while updating the database. Please review and fix them before continuing with the application rebuild
- [java] at org.openbravo.ddlutils.process.DBUpdater.update(DBUpdater.java:145)
- [java] at org.openbravo.ddlutils.task.AlterDatabaseDataAll.doExecute(AlterDatabaseDataAll.java:69)
- [java] at org.openbravo.ddlutils.task.BaseDatabaseTask.execute(BaseDatabaseTask.java:88)
- [java] at org.openbravo.ddlutils.task.AlterDatabaseJava.main(AlterDatabaseJava.java:81)
- [java] Caused by: java.lang.Exception: There were serious problems while updating the database. Please review and fix them before continuing with the application rebuild
- [java] at org.openbravo.ddlutils.process.DBUpdater.checkErrors(DBUpdater.java:324)
- [java] at org.openbravo.ddlutils.process.DBUpdater.update(DBUpdater.java:140)
- [java] ... 3 more
- BUILD FAILED
- /home/tiko/kerja/openbravo2/build.xml:704: The following error occurred while executing this line:
- /home/tiko/kerja/openbravo2/src-db/database/build.xml:80: Java returned: 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement