Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009949Openbravo ERPA. Platformpublic2009-07-17 19:472009-08-19 00:00
plujan 
jpabloae 
urgentminorhave not tried
closedfixed 
5
pi 
2.50MP3pi 
No
Core
No
0009949: I got an error when rebuilding the system from the console about a non trusting file
Now that HG Mercurial revision is intended to replace old svn revision, I got an error while rebuilding from the console:

Build failed, message: [sql] Failed to execute: UPDATE AD_MODULE SET VERSION_ID='Not trusting file /mnt2/OpenbravoERP-PI-psg/pi/.hg/hgrc from untrusted user openbravo, group openbravo [sql] Not trusting file /mnt2/OpenbravoERP-PI-psg/pi/.hg/hgrc from untrusted user openbravo, group openbravo [sql] 98711645ff0d' WHERE AD_MODULE_ID='0' The following error occurred while executing this line: /mnt2/OpenbravoERP-PI-psg/pi/build.xml:657: The following error occurred while executing this line: /mnt2/OpenbravoERP-PI-psg/pi/build.xml:662: The following error occurred while executing this line: /mnt2/OpenbravoERP-PI-psg/pi/build.xml:312: The following error occurred while executing this line: /mnt2/OpenbravoERP-PI-psg/pi/build.xml:316: The following error occurred while executing this line: /mnt2/OpenbravoERP-PI-psg/pi/src/build.xml:287: The following error occurred while executing this line: /mnt2/OpenbravoERP-PI-psg/pi/src/build.xml:299: The following error occurred while executing this line: /mnt2/OpenbravoERP-PI-psg/pi/src/build.xml:303: org.postgresql.util.PSQLException: ERROR: value too long for type character varying(60) /mnt2/OpenbravoERP-PI-psg/pi/build.xml:633: The following error occurred while executing this line: /mnt2/OpenbravoERP-PI-psg/pi/build.xml:657: The following error occurred while executing this line: /mnt2/OpenbravoERP-PI-psg/pi/build.xml:662: The following error occurred while executing this line: /mnt2/OpenbravoERP-PI-psg/pi/build.xml:312: The following error occurred while executing this line: /mnt2/OpenbravoERP-PI-psg/pi/build.xml:316: The following error occurred while executing this line: /mnt2/OpenbravoERP-PI-psg/pi/src/build.xml:287: The following error occurred while executing this line: /mnt2/OpenbravoERP-PI-psg/pi/src/build.xml:299: The following error occurred while executing this line: /mnt2/OpenbravoERP-PI-psg/pi/src/build.xml:303: org.postgresql.util.PSQLException: ERROR: value too long for type character varying(60)
1. Enter as Openbravo
2. Go to General Setup > Application > Module Management
3. Choose a module to install, for example, Hello World
4. A message about a required rebuild is displayed. Click in Rebuild Now
5. You will see above errors when building.
No tags attached.
Issue History
2009-07-17 19:47plujanNew Issue
2009-07-17 19:47plujanAssigned To => shuehner
2009-07-17 19:47plujanOBNetwork customer => No
2009-07-17 19:48plujanStatusnew => scheduled
2009-07-17 19:48plujanfix_in_branch => pi
2009-07-20 13:34jpabloaeNote Added: 0018410
2009-07-20 15:06shuehnerPriorityimmediate => urgent
2009-07-20 15:06shuehnerfix_in_branchpi =>
2009-07-20 15:06shuehnerAssigned Toshuehner => jpabloae
2009-07-20 15:07shuehnerNote Added: 0018422
2009-07-22 18:31jpabloaeStatusscheduled => resolved
2009-07-22 18:31jpabloaeFixed in Version => pi
2009-07-22 18:31jpabloaeFixed in SCM revision => n/a
2009-07-22 18:31jpabloaeResolutionopen => fixed
2009-07-22 18:31jpabloaeNote Added: 0018565
2009-08-18 12:17arunkumarStatusresolved => closed
2009-08-18 12:17arunkumarNote Added: 0019000
2009-08-19 00:00anonymoussf_bug_id0 => 2839884

Notes
(0018410)
jpabloae   
2009-07-20 13:34   
The user running Tomcat (e.g. tomcatuser) is not trusted by the Mercurial repository. So I believe it's a configuration issue which must be documented in the Installation guide. To fix it, create a file in /etc/mercurial/hgrc with these lines:

[trusted]
users=tomcatuser

This way tomcatuser will be trusted in the repository.
(0018422)
shuehner   
2009-07-20 15:07   
@Jpabloae: Please update the environment setup documentation to include this step if as user uses hg and tomcat user different then user owning the files..
(0018565)
jpabloae   
2009-07-22 18:31   
Fixed, added to the installation documentation:
http://wiki.openbravo.com/wiki/ERP/2.50/Openbravo_ERP_Installation#Mercurial_clone [^]

As using Mercurial is something specific to the installation method, I've added it as a part in that document, under the Mercurial section.
(0019000)
arunkumar   
2009-08-18 12:17   
The wiki documentation gives a clear picture on how to resolve this issue.So I will close this issue.