Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017769Openbravo ERP01. General setuppublic2011-06-23 02:122012-02-16 16:44
tolland 
vmromanos 
lowminoralways
closedunable to reproduce 
30fedora 14
main 
 
Core
No
0017769: installing modules using the module management is failing with "Your system contains some data inconsistencies"
with only the default settings, if i try to install any modules from the central repo the module installs, but fails when i try to run "rebuild now"

the error message is;
"Error:
Your system contains some data inconsistencies that must be resolved before applying this maintenance pack. The version you are installing introduces stronger consistency checking and that validation failed. The system hasn't been modified and it is still stable. You may continue using it in its current configuration. However, you must address the problems described in the validation messages below (either by uninstalling the affected modules, or by resolving the problems the validation found), before you can restart the installation process."


However I have not installed any other modules. The Show log is empty - see attachment.

1 "ant smartbuild" runs through fine
2 tomcat has been restarted.
3 ant buildvalidation
4 ant run.tests
5 ant check.module.consistency

all run fine.

nothing is logged to openbravo.log or the console.







try and install the US community localization pack into a pristine devel/main bravo
VMA-Reviewed
png Screenshot-Openbravo - Module Management - Mozilla Firefox.png (170,614) 2011-06-23 02:12
https://issues.openbravo.com/file_download.php?file_id=4214&type=bug
png
Issue History
2011-06-23 02:12tollandNew Issue
2011-06-23 02:12tollandAssigned To => dalsasua
2011-06-23 02:12tollandFile Added: Screenshot-Openbravo - Module Management - Mozilla Firefox.png
2011-06-23 02:12tollandModules => Core
2011-06-23 02:53tollandNote Added: 0038508
2011-06-23 03:00tollandNote Added: 0038509
2011-06-23 13:23shuehnerNote Added: 0038513
2011-06-23 13:23shuehnerStatusnew => feedback
2011-06-25 09:36tollandNote Added: 0038529
2011-06-27 16:42shuehnerNote Added: 0038540
2011-07-20 18:09dalsasuaAssigned Todalsasua => jonalegriaesarte
2011-09-15 19:07dmitry_mezentsevNote Added: 0040962
2011-09-15 19:09dmitry_mezentsevNote Added: 0040963
2011-09-15 19:09dmitry_mezentsevPriorityurgent => low
2011-09-15 19:09dmitry_mezentsevSeveritymajor => minor
2011-10-07 11:30dmitry_mezentsevStatusfeedback => scheduled
2011-10-07 11:30dmitry_mezentsevfix_in_branch => pi
2012-02-15 19:04iciordiaAssigned Tojonalegriaesarte => vmromanos
2012-02-16 16:44vmromanosStatusscheduled => closed
2012-02-16 16:44vmromanosResolutionopen => unable to reproduce
2012-02-16 16:44vmromanosTag Attached: VMA-Reviewed

Notes
(0038508)
tolland   
2011-06-23 02:53   
OK, I wasn't running the devel/main I was running one from some time earlier this afternoon.

rebasing to the current version, caused the "rebuild now" error message to be displayed as "JAVA_HOME is not set"

this is on fedora so JDK is icedtea and JAVA_HOME is not normally required. However i passed that env variable to catalina in eclipse and its running through ok now.
(0038509)
tolland   
2011-06-23 03:00   
its looks like the CATALINA_BASE and CATALINA_HOME have to be set as well
(0038513)
shuehner   
2011-06-23 13:23   
Hi tolland,

Looking at your last comments looks like you didn't check the environment installation documentation at all.
Please go back there and check and follow all of those. If the system is not configured correctly following those the process will of course fail.

Then try again, if then the process still has some problem update the issue with the new information.
(0038529)
tolland   
2011-06-25 09:36   
the JAVA_HOME variable is a sun jdk specific env variable, so I was concerned that it might be used to detect and configure some SUN specific settings.

so i did not want to set that system wide.

I have made changes to set the env variable.

However the point of the initial issue was that the ant smartbuild run from the modules management was not reporting the any build failure message and the log was empty.
(0038540)
shuehner   
2011-06-27 16:42   
Hi tolland,

JAVA_HOME is not directly jdk-specific but more important does not configure any settings but the location of the jdk (if some tool uses it).
Use via openbravo comes by:
a.) direct use in the build.xml files
b.) indirect use via ant, which uses it to locate the javac compile to use.

However your point about the missing info at that part of the rebuild (when it's just about to be started) are very valid...
(0040962)
dmitry_mezentsev   
2011-09-15 19:07   
Hi Tolland,

>However your point about the missing info at that part of the rebuild (when it's >just about to be started) are very valid...

Could you please update this issue (Title and description) so that it contains above topic clear and not some prerequisites to it.

Thanks.
(0040963)
dmitry_mezentsev   
2011-09-15 19:09   
Updated based on what in reality this issue is about.