Openbravo Issue Tracking System - Openbravo ERP |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0009949 | Openbravo ERP | A. Platform | public | 2009-07-17 19:47 | 2009-08-19 00:00 |
|
| Reporter | plujan | |
| Assigned To | jpabloae | |
| Priority | urgent | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | |
| Platform | | OS | 5 | OS Version | |
| Product Version | pi | |
| Target Version | 2.50MP3 | Fixed in Version | pi | |
| Merge Request Status | |
| Review Assigned To | |
| OBNetwork customer | No |
| Web browser | |
| Modules | Core |
| Support ticket | |
| Regression level | |
| Regression date | |
| Regression introduced in release | |
| Regression introduced by commit | |
| Triggers an Emergency Pack | No |
|
| Summary | 0009949: I got an error when rebuilding the system from the console about a non trusting file |
| Description | 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) |
| Steps To Reproduce | 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. |
| Proposed Solution | |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | |
| Attached Files | |
|
| 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 |
|
Notes |
|
|
|
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. |
|
|
|
|
|
@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.. |
|
|
|
|
|
|
|
|
|
The wiki documentation gives a clear picture on how to resolve this issue.So I will close this issue. |
|