Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0011523
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo Deployment Options] Ubuntu packagemajoralways2009-11-27 10:302011-11-24 16:46
ReporternetworkbView Statuspublic 
Assigned Togorka_gil 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_16
OS VersionCommunity ApplianceDatabase version8.3.8Ant version1.7.1
Product VersionSCM revision 
Review Assigned To
Summary

0011523: error when install Openbravo ERP with apt-get and exists the openbravo's user previously

Descriptionwhen install Openbravo ERP with apt-get, and exists the openbravo's user previously, error is returned:

BUILD FAILED
/opt/OpenbravoERP-2.50/openbravo-erp/build.xml:213: The environment variable JAVA_HOME is not set.

Total time: 0 seconds
Steps To Reproduce. create openbravo user
. execute "sudo apt-get install openbravo-erp"
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0022222)
gorka_gil (administrator)
2009-11-27 10:36

When the user openbravo exists previously to install openbravo-erp package, the /home/openbravo/.profile file is not updated with the global variables needed.

The workaround is execute this:

sed -i 's/umask\ 022/umask\ 002/g' /home/openbravo/.profile
echo 'export ANT_OPTS="-Xmx1024M -XX:MaxPermSize=128M"' >> /home/openbravo/.profile
echo 'export CATALINA_HOME=/usr/share/tomcat6' >> /home/openbravo/.profile
echo 'export CATALINA_BASE=/opt/OpenbravoERP-2.50/tomcat' >> /home/openbravo/.profile
echo 'export JAVA_HOME=/usr/lib/jvm/java-6-sun' >> /home/openbravo/.profile
echo 'export CATALINA_OPTS="-Djava.awt.headless=true -Xms384M -Xmx1024M -XX:MaxPermSize=256M"' >> /home/openbravo/.profile

- Issue History
Date Modified Username Field Change
2009-11-27 10:30 networkb New Issue
2009-11-27 10:30 networkb Assigned To => jpabloae
2009-11-27 10:33 gorka_gil Assigned To jpabloae => gorka_gil
2009-11-27 10:33 gorka_gil Status new => scheduled
2009-11-27 10:33 gorka_gil fix_in_branch => pi
2009-11-27 10:36 gorka_gil Note Added: 0022222
2009-11-27 10:36 gorka_gil Status scheduled => resolved
2009-11-27 10:36 gorka_gil Resolution open => fixed
2011-11-24 16:46 gorka_gil Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker