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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0000204
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] K. Packagingcriticalalways2008-05-07 21:582009-03-18 11:01
ReporterlauriebView Statuspublic 
Assigned Tojpabloae 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSWindowsDatabasePostgreSQLJava version1.5 update 15
OS Version2003 R2Database version8.2Ant version1.7
Product VersionSCM revisionMP4 
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

0000204: AT235MP4: Installer fails to build database on Postgres

DescriptionInstaller fails to build database. Install logs attached
Steps To ReproduceInstall 235MP4, Select Postgress, Full install (with demo data), developer install. Installer reports error
TagsAT235MP4
Attached Fileszip file icon installation_logs.zip [^] (9,556 bytes) 2008-05-07 21:58

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0000067)
jpabloae (viewer)
2008-05-08 00:16

Reproduced. The command assumes that the pg_restore executable is in the system path, and it shouldn't.
(0000068)
jpabloae (viewer)
2008-05-08 00:36

A workaround until a new installer is provided:
Add the PostgreSQL binaries directory (PostgreSQL\8.2\bin) to the system's PATH environment variable. It's necessary to add it without spaces (use DOS name in case there are). For example:
C:\Progra~1\PostgreSQL\8.2\bin

This has to be fixed also in the upcoming 2.40alpha installer.
(0000071)
jpabloae (viewer)
2008-05-08 12:16

Not a regression, the bug was also there in the 2.35MP1 installer.
(0000072)
laurieb (viewer)
2008-05-08 12:17

Yes I can confirm it was also in 2.35MP1
(0000074)
laurieb (viewer)
2008-05-08 13:45

The workround did not work for me. I tried adding ;C:\Progra~1\PostgreSQL\8.2\bin to my Path (thats correct on my test machine), but the same problem occurred.

I selected mode="complete", complete="developer" (not standard) and asked for sample data to be installed
(0000075)
jpabloae (viewer)
2008-05-08 14:28

Hi laurieb,

After adding that to the path, to make sure it's been added correctly, open a command line windows (start->run->cmd), and run "pg_restore --version", to see if the command is available.
(0000076)
laurieb (viewer)
2008-05-08 15:52

pg_restore --version says version 8.2.6 when in the bin directory.
I've tried lots of combinations in the path but I can't get it to find pg_restore unless I'm in the bin folder. I think the answer is DONT install Postgres in "Program Files".

I'll leave this for now and continue with other tests
(0000128)
jpabloae (viewer)
2008-05-11 11:47

Fixed, now it uses the PostgreSQL path detected or specified in the installation. This will be available in the final 2.35MP4 installer.

- Issue History
Date Modified Username Field Change
2008-05-07 21:58 laurieb New Issue
2008-05-07 21:58 laurieb Assigned To => cromero
2008-05-07 21:58 laurieb File Added: installation_logs.zip
2008-05-07 23:09 jpabloae Assigned To cromero => jpabloae
2008-05-08 00:16 jpabloae Note Added: 0000067
2008-05-08 00:16 jpabloae Status new => @40@
2008-05-08 00:36 jpabloae Status @40@ => scheduled
2008-05-08 00:36 jpabloae Note Added: 0000068
2008-05-08 00:41 jpabloae Relationship added has duplicate 0000205
2008-05-08 00:42 jpabloae Relationship added has duplicate 0000203
2008-05-08 08:03 pjuvara Tag Attached: AT235MP4
2008-05-08 08:09 pjuvara Summary AT235MP4 => AT235MP4: Installer fails to build database on Postgres
2008-05-08 12:16 jpabloae Note Added: 0000071
2008-05-08 12:17 laurieb Note Added: 0000072
2008-05-08 13:45 laurieb Note Added: 0000074
2008-05-08 14:28 jpabloae Note Added: 0000075
2008-05-08 15:52 laurieb Note Added: 0000076
2008-05-09 11:39 jpabloae Project Openbravo ERP => @5@
2008-05-11 11:47 jpabloae Status scheduled => resolved
2008-05-11 11:47 jpabloae Resolution open => fixed
2008-05-11 11:47 jpabloae Note Added: 0000128
2008-05-15 16:38 jpabloae Category A. Installation and Platform => Installer
2008-11-13 07:02 jpabloae Status resolved => closed
2008-11-25 21:41 pjuvara Sticky Issue No => Yes
2008-11-25 21:43 pjuvara Project @5@ => Openbravo ERP
2008-11-25 21:45 pjuvara Category Installer => K. Packaging
2008-11-25 21:47 pjuvara Sticky Issue Yes => No
2009-03-18 11:01 anonymous sf_bug_id 0 => 2691233


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker