Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MBP-van-Edwin:openbravo erasser$ ant update.database -Dforce=true compile.complete
- Buildfile: /Users/erasser/Documents/work/openbravo/build.xml
- set.code.rev:
- code.rev:
- init:
- core.lib:
- init:
- compile:
- build.jar:
- build:
- copy.core.lib:
- database.lib:
- init:
- compile:
- build.jar:
- jar:
- buildvalidation:
- [sql] Executing commands
- [sql] 2 of 2 SQL statements executed successfully
- buildvalidation:
- [java] 1 [main] INFO org.openbravo.buildvalidation.BuildValidationHandler - Executing build validation: org.openbravo.buildvalidation.AccountingTabs
- [java] 818 [main] INFO org.openbravo.buildvalidation.BuildValidationHandler - Executing build validation: org.openbravo.buildvalidation.DuplicateDocExchangeRate
- [java] 879 [main] INFO org.openbravo.buildvalidation.BuildValidationHandler - Executing build validation: org.openbravo.buildvalidation.DuplicatedJavaPackage
- [java] 917 [main] INFO org.openbravo.buildvalidation.BuildValidationHandler - Executing build validation: org.openbravo.buildvalidation.DuplicatedPriceListVersion
- [java] 960 [main] INFO org.openbravo.buildvalidation.BuildValidationHandler - Executing build validation: org.openbravo.buildvalidation.PaymentGLItemCheck
- [java] 977 [main] INFO org.openbravo.buildvalidation.BuildValidationHandler - Executing build validation: org.openbravo.buildvalidation.PreferenceConflict
- [java] 1055 [main] INFO org.openbravo.buildvalidation.BuildValidationHandler - Executing build validation: org.openbravo.buildvalidation.User1Ready
- [java] 1151 [main] INFO org.openbravo.buildvalidation.BuildValidationHandler - Executing build validation: org.openbravo.advpaymentmngt.buildvalidation.UniquePaymentForTransaction
- [java] 1218 [main] INFO org.openbravo.buildvalidation.BuildValidationHandler - Executing build validation: org.openbravo.advpaymentmngt.buildvalidation.UnpostRefundPayments
- [java] 1265 [main] INFO org.openbravo.buildvalidation.BuildValidationHandler - Executing build validation: org.openbravo.advpaymentmngt.buildvalidation.WrongPaymentScheduleDetailsCheck
- update.database:
- [sql] Executing commands
- [sql] 2 of 2 SQL statements executed successfully
- update.database.java:
- [java] Executing database update process without checking changes in local files.
- [java] 0 INFO - Database connection: jdbc:postgresql://localhost:5433/openbravo. User: tad
- [java] 1568 INFO - Executing full update.database
- [java] 1582 INFO - Reading tables...
- [java] 24068 INFO - Reading views...
- [java] 24479 INFO - Reading sequences...
- [java] 24496 INFO - Reading triggers...
- [java] 24613 INFO - Reading functions...
- [java] 25544 INFO - Sorting foreign keys, indexes and checks...
- [java] 25682 INFO - Starting function and trigger standardization.
- [java] 56325 INFO - Checking datatypes from the model loaded from the database
- [java] 56334 INFO - Original model loaded from database.
- [java] 56494 INFO - Reading model files...
- [java] 68047 INFO - Checking datatypes from the model loaded from XML files
- [java] 68136 INFO - Loading data from XML files
- [java] 77974 INFO - Loading and applying configuration scripts
- [java] 77998 INFO - Applying structure part of configuration script: org.openbravo.v3
- [java] 78009 INFO - Loading configuration script: /Users/erasser/Documents/work/openbravo/modules/org.openbravo.v3/src-db/database/configScript.xml
- [java] 78118 INFO - Applying structure part of configuration script: biz.cleardrop.warehouse.pickinglist.template
- [java] 78126 INFO - Loading configuration script: /Users/erasser/Documents/work/openbravo/modules/biz.cleardrop.warehouse.pickinglist.template/src-db/database/configScript.xml
- [java] 78153 INFO - Applying structure part of configuration script: biz.cleardrop.salarypaymentapprovaltemplate
- [java] 78177 INFO - Loading configuration script: /Users/erasser/Documents/work/openbravo/modules/biz.cleardrop.salarypaymentapprovaltemplate/src-db/database/configScript.xml
- [java] 78199 INFO - Applying structure part of configuration script: biz.cleardrop.webshopproducts.template
- [java] 78215 INFO - Loading configuration script: /Users/erasser/Documents/work/openbravo/modules/biz.cleardrop.webshopproducts.template/src-db/database/configScript.xml
- [java] 78227 INFO - Applying structure part of configuration script: biz.cleardrop.createrfctpl
- [java] 78240 INFO - Loading configuration script: /Users/erasser/Documents/work/openbravo/modules/biz.cleardrop.createrfctpl/src-db/database/configScript.xml
- [java] 78262 INFO - Applying structure part of configuration script: biz.cleardrop.pricingengine.template
- [java] 78278 INFO - Loading configuration script: /Users/erasser/Documents/work/openbravo/modules/biz.cleardrop.pricingengine.template/src-db/database/configScript.xml
- [java] 78292 INFO - Applying structure part of configuration script: biz.cleardrop.poapprovaltemplate
- [java] 78307 INFO - Loading configuration script: /Users/erasser/Documents/work/openbravo/modules/biz.cleardrop.poapprovaltemplate/src-db/database/configScript.xml
- [java] 78326 INFO - Applying structure part of configuration script: biz.cleardrop.pricecalculation.template
- [java] 78343 INFO - Loading configuration script: /Users/erasser/Documents/work/openbravo/modules/biz.cleardrop.pricecalculation.template/src-db/database/configScript.xml
- [java] Checking if database structure was modified locally.
- [java] 80058 INFO - Database was modified locally, but as update.database command is forced, the database will be updated anyway.
- [java] 80070 INFO - Executing default prescript
- [java] 80215 WARN - SQL Command failed with: ERROR: must be owner of operator +
- [java] 80222 WARN - -- END
- [java]
- [java] CREATE OPERATOR +(
- [java] PROCEDURE = "add_days",
- [java] LEFTARG = timestamptz,
- [java] RIGHTARG = numeric,
- [java] COMMUTATOR = +)
- [java] 80228 WARN - SQL Command failed with: ERROR: must be owner of operator +
- [java] 80235 WARN - -- END
- [java]
- [java] CREATE OPERATOR + (
- [java] LEFTARG = date,
- [java] RIGHTARG = numeric,
- [java] PROCEDURE = add_days,
- [java] COMMUTATOR = +
- [java] )
- [java] 80404 WARN - SQL Command failed with: ERROR: permission denied for language c
- [java] 80418 WARN - -- END
- [java]
- [java]
- [java] CREATE OR REPLACE FUNCTION uuid_generate_v4()
- [java] RETURNS uuid
- [java] AS '$libdir/uuid-ossp', 'uuid_generate_v4'
- [java] VOLATILE STRICT LANGUAGE C;
- [java]
- [java] CREATE OR REPLACE FUNCTION get_uuid()
- [java] RETURNS varchar AS
- [java] $BODY$ DECLARE
- [java] /*************************************************************************
- [java] * The contents of this file are subject to the Openbravo Public License
- [java] * Version 1.1 (the "License"), being the Mozilla Public License
- [java] * Version 1.1 with a permitted attribution clause; you may not use this
- [java] * file except in compliance with the License. You may obtain a copy of
- [java] * the License at http://www.openbravo.com/legal/license.html
- [java] * Software distributed under the License is distributed on an "AS IS"
- [java] * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
- [java] * License for the specific language governing rights and limitations
- [java] * under the License.
- [java] * The Original Code is Openbravo ERP.
- [java] * The Initial Developer of the Original Code is Openbravo SLU
- [java] * All portions are Copyright (C) 2008-2009 Openbravo SLU
- [java] * All Rights Reserved.
- [java] * Contributor(s): ______________________________________.
- [java] ************************************************************************/
- [java] var VARCHAR:=uuid_generate_v4();
- [java] BEGIN
- [java] WHILE var=uuid_generate_v4()::varchar LOOP
- [java] END LOOP;
- [java] return replace(upper(uuid_generate_v4()::varchar),'-','');
- [java] END; $BODY$
- [java] LANGUAGE 'plpgsql' VOLATILE
- [java] 80455 INFO - Executed 117 SQL command(s) with 3 error(s)
- [java] 80463 INFO - Updating database model...
- [java] 81147 INFO - Executed 81 SQL command(s) successfully
- [java] 81162 INFO - Executed 6 forced SQL command(s) with 1 error(s)
- [java] 81168 INFO - Executed 1 forced SQL command(s) successfully
- [java] 81172 INFO - Model update complete.
- [java] 81215 INFO - Disabling foreign keys
- [java] 82111 INFO - Executed 408 SQL command(s) successfully
- [java] 82122 INFO - Disabling triggers
- [java] 82309 INFO - Executed 398 SQL command(s) successfully
- [java] 82478 INFO - Executed 836 SQL command(s) successfully
- [java] 82496 INFO - Executing moduleScript: org.openbravo.modulescript.AdminFlagOnCreateDefaults
- [java] 82552 INFO - Executing moduleScript: org.openbravo.modulescript.AlertMASequenceProduct
- [java] 82597 INFO - Executing moduleScript: org.openbravo.modulescript.ConvertImages
- [java] 82643 INFO - Executing moduleScript: org.openbravo.modulescript.CreateDoctypeTemplate
- [java] 82689 INFO - Executing moduleScript: org.openbravo.modulescript.CreateLineForSequenceProduct
- [java] 82713 INFO - Executing moduleScript: org.openbravo.modulescript.DeleteDuplicateMatchInvoice
- [java] 82844 INFO - Executing moduleScript: org.openbravo.modulescript.DeleteInventoryLines
- [java] 82922 INFO - Executing moduleScript: org.openbravo.modulescript.DeleteRedundantTranslations
- [java] 82997 INFO - Executing moduleScript: org.openbravo.modulescript.HBFix
- [java] 83049 INFO - Executing moduleScript: org.openbravo.modulescript.InitializeAcctDimensionsInClient
- [java] 83263 INFO - Executing moduleScript: org.openbravo.modulescript.InitializeAlertStatus
- [java] 83311 INFO - Executing moduleScript: org.openbravo.modulescript.InitializeBPCurrency
- [java] 83355 INFO - Executing moduleScript: org.openbravo.modulescript.InitializeCostingMigrationPreference
- [java] 83376 INFO - Executing moduleScript: org.openbravo.modulescript.InitializeGeneralLedgerOrganization
- [java] 83417 INFO - Executing moduleScript: org.openbravo.modulescript.InitializeIsPaymentPaid
- [java] 83430 INFO - Executing moduleScript: org.openbravo.modulescript.InitializeOnHandWarehouse
- [java] 83452 INFO - Executing moduleScript: org.openbravo.modulescript.Issue21640WrongMatchInvAccounting
- [java] 83503 INFO - Executing moduleScript: org.openbravo.modulescript.PaymentZeroAmount
- [java] 83548 INFO - Executing moduleScript: org.openbravo.modulescript.UniqueValidCombination
- [java] 83826 INFO - Executing moduleScript: org.openbravo.modulescript.UpdateADClientInfo
- [java] 83898 INFO - Executing moduleScript: org.openbravo.modulescript.UpdateADTrees
- [java] 83940 INFO - Executing moduleScript: org.openbravo.modulescript.UpdateCostingRulesWhenNotCalculatedCosts
- [java] 83992 INFO - Executing moduleScript: org.openbravo.modulescript.UpdateDueDate
- [java] 84033 INFO - Executing moduleScript: org.openbravo.modulescript.UpdateEmailPasswords
- [java] 84061 INFO - Executing moduleScript: org.openbravo.modulescript.UpdateFactAcctDescription
- [java] 84073 INFO - Executing moduleScript: org.openbravo.modulescript.UpdateFinancialAccountAccounts
- [java] 84112 INFO - Executing moduleScript: org.openbravo.modulescript.UpdateGrandTotal
- [java] 84126 INFO - Executing moduleScript: org.openbravo.modulescript.UpdateMTransactionCostingStatus
- [java] 84141 INFO - Executing moduleScript: org.openbravo.modulescript.UpdateOpenClosePeriodsButton
- [java] 84159 INFO - Executing moduleScript: org.openbravo.modulescript.UpdateProcessGoodsJavaDocAction
- [java] 84172 INFO - Executing moduleScript: org.openbravo.modulescript.UpdateProductPrice
- [java] 84219 INFO - Executing moduleScript: org.openbravo.modulescript.UpdateRequestProcessOrg
- [java] 84233 INFO - Executing moduleScript: org.openbravo.modulescript.UpdateReservationQtys
- [java] 84245 INFO - Executing moduleScript: org.openbravo.modulescript.UpdateReversalDocumentTypes
- [java] 84300 INFO - Executing moduleScript: org.openbravo.modulescript.UpgradeToPocEmail
- [java] 84332 INFO - Executing moduleScript: biz.cleardrop.magentoconnectorenterprise.modulescript.TaskValidation
- [java] 84346 INFO - Executing moduleScript: nl.cleardrop.erpmag.modulescript.TaskValidation
- [java] 84416 INFO - Executing moduleScript: org.openbravo.advpaymentmngt.modulescript.AlertsForWrongInvoices
- [java] 84476 INFO - Executing moduleScript: org.openbravo.advpaymentmngt.modulescript.AlertsForWrongOrders
- [java] 84529 INFO - Executing moduleScript: org.openbravo.advpaymentmngt.modulescript.CreateAccountingConfiguration
- [java] 84681 INFO - Executing moduleScript: org.openbravo.advpaymentmngt.modulescript.CreateDocumentNoSequence
- [java] 84778 INFO - Executing moduleScript: org.openbravo.advpaymentmngt.modulescript.InitializeAPRMReadyPreference
- [java] 84791 INFO - Executing moduleScript: org.openbravo.advpaymentmngt.modulescript.LinkCreditPayments
- [java] 84844 INFO - Executing moduleScript: org.openbravo.advpaymentmngt.modulescript.UpdateCustomerBalance
- [java] 84872 INFO - Executing moduleScript: org.openbravo.advpaymentmngt.modulescript.UpdateGeneratedUsedCreditColumns
- [java] 84927 INFO - Executing moduleScript: org.openbravo.advpaymentmngt.modulescript.UpdatePaymentScheduledetail
- [java] 84943 INFO - Executing moduleScript: org.openbravo.advpaymentmngt.modulescript.UpdateReconciliationProcessButtonValue
- [java] 84995 INFO - Executing moduleScript: org.openbravo.advpaymentmngt.modulescript.UpdateReconciliationStatementProcessedValue
- [java] 85065 INFO - Executing moduleScript: org.openbravo.advpaymentmngt.modulescript.UpdateRecordId2Value
- [java] 85109 INFO - Executing moduleScript: org.openbravo.advpaymentmngt.modulescript.UpdateTransactionBPExchangeRate
- [java] 85158 INFO - Executing moduleScript: org.openbravo.userinterface.selector.UpdateLanguageColumn
- [java] 85197 INFO - Executing moduleScript: org.openbravo.userinterface.skin.s250to300Comp.modulescript.DefaultSkin
- [java] 85237 INFO - Executing moduleScript: org.openbravo.v3.datasets.SetDefaultRole
- [java] 85269 INFO - Loading and applying configuration scripts
- [java] 85276 INFO - Applying data part of configuration script: org.openbravo.v3
- [java] 85280 INFO - Loading configuration script: /Users/erasser/Documents/work/openbravo/modules/org.openbravo.v3/src-db/database/configScript.xml
- [java] 86122 INFO - Applying data part of configuration script: biz.cleardrop.warehouse.pickinglist.template
- [java] 86134 INFO - Loading configuration script: /Users/erasser/Documents/work/openbravo/modules/biz.cleardrop.warehouse.pickinglist.template/src-db/database/configScript.xml
- [java] 86149 INFO - Applying data part of configuration script: biz.cleardrop.salarypaymentapprovaltemplate
- [java] 86153 INFO - Loading configuration script: /Users/erasser/Documents/work/openbravo/modules/biz.cleardrop.salarypaymentapprovaltemplate/src-db/database/configScript.xml
- [java] We didn't found the row that we wanted to change. Table:[AD_FIELD] PK[: 0FE0C09374EC45F2998A7FF61F09EC75]
- [java] 86171 INFO - Applying data part of configuration script: biz.cleardrop.webshopproducts.template
- [java] 86174 INFO - Loading configuration script: /Users/erasser/Documents/work/openbravo/modules/biz.cleardrop.webshopproducts.template/src-db/database/configScript.xml
- [java] 86185 INFO - Applying data part of configuration script: biz.cleardrop.createrfctpl
- [java] 86193 INFO - Loading configuration script: /Users/erasser/Documents/work/openbravo/modules/biz.cleardrop.createrfctpl/src-db/database/configScript.xml
- [java] 86200 INFO - Applying data part of configuration script: biz.cleardrop.pricingengine.template
- [java] 86206 INFO - Loading configuration script: /Users/erasser/Documents/work/openbravo/modules/biz.cleardrop.pricingengine.template/src-db/database/configScript.xml
- [java] 86217 INFO - Applying data part of configuration script: biz.cleardrop.poapprovaltemplate
- [java] 86221 INFO - Loading configuration script: /Users/erasser/Documents/work/openbravo/modules/biz.cleardrop.poapprovaltemplate/src-db/database/configScript.xml
- [java] Warning: old value in row not equal to expected one. Table:[AD_COLUMN] PK[: 2221] Old Value found: @Processed@='Y' Old value expected @Posted@='Y'
- [java] 86277 INFO - Applying data part of configuration script: biz.cleardrop.pricecalculation.template
- [java] 86281 INFO - Loading configuration script: /Users/erasser/Documents/work/openbravo/modules/biz.cleardrop.pricecalculation.template/src-db/database/configScript.xml
- [java] 86298 INFO - Comparing databases to find differences
- [java] 89924 INFO - Updating Application Dictionary data...
- [java] 93215 INFO - Removing invalid rows.
- [java] 93836 INFO - Executed 92 SQL command(s) successfully
- [java] 93845 INFO - Recreating Primary Keys
- [java] 93933 INFO - Executing oncreatedefault statements for mandatory columns
- [java] 94779 INFO - Executed 247 SQL command(s) successfully
- [java] 94783 INFO - Recreating not null constraints
- [java] 95365 INFO - Executed 908 SQL command(s) successfully
- [java] 95370 INFO - Executing update final script (dropping temporary tables)
- [java] 96078 INFO - Executed 76 SQL command(s) successfully
- [java] 96127 INFO - Executed 5 forced SQL command(s) with 1 error(s)
- [java] 96132 INFO - Executed 1 forced SQL command(s) with 1 error(s)
- [java] 96139 INFO - Executed 1 forced SQL command(s) with 1 error(s)
- [java] 96146 INFO - Executed 1 forced SQL command(s) with 1 error(s)
- [java] 96153 INFO - Executed 1 forced SQL command(s) with 1 error(s)
- [java] 96156 WARN - SQL Command failed with: ERROR: operator does not exist: timestamp with time zone + numeric
- [java] Hint: No operator matches the given name and argument type(s). You might need to add explicit type casts.
- [java] Position: 2273
- [java] 96162 WARN - There are still 1 forced commands not executed sucessfully (likely related to failed view statements).
- [java] 96165 INFO - Enabling Foreign Keys and Triggers
- [java] 97957 INFO - Executed 408 SQL command(s) successfully
- [java] 98175 INFO - Executed 398 SQL command(s) successfully
- [java] 98183 INFO - Executing default postscript
- [java] 98223 WARN - SQL Command failed with: ERROR: permission denied for language c
- [java] 98227 WARN - -- END
- [java]
- [java] CREATE OR REPLACE FUNCTION uuid_generate_v4()
- [java] RETURNS uuid
- [java] AS '$libdir/uuid-ossp', 'uuid_generate_v4'
- [java] VOLATILE STRICT LANGUAGE C;
- [java] 98340 INFO - Executed 13 SQL command(s) with 1 error(s)
- [java] 100018 ERROR - Not all the commands in the final update step were executed correctly. This likely means at least one foreign key was not activated successfully. Please review which one, 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.task.AlterDatabaseDataAll.doExecute(AlterDatabaseDataAll.java:231)
- [java] at org.openbravo.ddlutils.task.BaseDatabaseTask.execute(BaseDatabaseTask.java:86)
- [java] at org.openbravo.ddlutils.task.AlterDatabaseJava.main(AlterDatabaseJava.java:38)
- [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.task.AlterDatabaseDataAll.doExecute(AlterDatabaseDataAll.java:250)
- [java] at org.openbravo.ddlutils.task.BaseDatabaseTask.execute(BaseDatabaseTask.java:86)
- [java] at org.openbravo.ddlutils.task.AlterDatabaseJava.main(AlterDatabaseJava.java:38)
- [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.task.AlterDatabaseDataAll.doExecute(AlterDatabaseDataAll.java:231)
- [java] ... 2 more
- [java] --- Nested Exception ---
- [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.task.AlterDatabaseDataAll.doExecute(AlterDatabaseDataAll.java:231)
- [java] at org.openbravo.ddlutils.task.BaseDatabaseTask.execute(BaseDatabaseTask.java:86)
- [java] at org.openbravo.ddlutils.task.AlterDatabaseJava.main(AlterDatabaseJava.java:38)
- BUILD FAILED
- /Users/erasser/Documents/work/openbravo/build.xml:740: The following error occurred while executing this line:
- /Users/erasser/Documents/work/openbravo/src-db/database/build.xml:80: Java returned: 1
- Total time: 1 minute 46 seconds
- MBP-van-Edwin:openbravo erasser$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement