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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0009949
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2009-07-17 19:472009-08-19 00:00
ReporterplujanView Statuspublic 
Assigned Tojpabloae 
PriorityurgentResolutionfixedFixed in Versionpi
StatusclosedFix in branchFixed in SCM revisiona
ProjectionnoneETAnoneTarget Version2.50MP3
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Merge Request Status
Review Assigned To
OBNetwork customerNo
Web browser
ModulesCore
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0009949: I got an error when rebuilding the system from the console about a non trusting file

DescriptionNow 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)
Steps To Reproduce1. 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0018410)
jpabloae (viewer)
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 (administrator)
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 (viewer)
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 (viewer)
2009-08-18 12:17

The wiki documentation gives a clear picture on how to resolve this issue.So I will close this issue.

- Issue History
Date Modified Username Field Change
2009-07-17 19:47 plujan New Issue
2009-07-17 19:47 plujan Assigned To => shuehner
2009-07-17 19:47 plujan OBNetwork customer => No
2009-07-17 19:48 plujan Status new => scheduled
2009-07-17 19:48 plujan fix_in_branch => pi
2009-07-20 13:34 jpabloae Note Added: 0018410
2009-07-20 15:06 shuehner Priority immediate => urgent
2009-07-20 15:06 shuehner fix_in_branch pi =>
2009-07-20 15:06 shuehner Assigned To shuehner => jpabloae
2009-07-20 15:07 shuehner Note Added: 0018422
2009-07-22 18:31 jpabloae Status scheduled => resolved
2009-07-22 18:31 jpabloae Fixed in Version => pi
2009-07-22 18:31 jpabloae Fixed in SCM revision => n/a
2009-07-22 18:31 jpabloae Resolution open => fixed
2009-07-22 18:31 jpabloae Note Added: 0018565
2009-08-18 12:17 arunkumar Status resolved => closed
2009-08-18 12:17 arunkumar Note Added: 0019000
2009-08-19 00:00 anonymous sf_bug_id 0 => 2839884


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker