v6 windows allinone installer pg_path not define

Reported by GEM on 2011-02-22
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP Server
Low
OpenERP's Framework R&D

Bug Description

Hi,
when I install allinone installer, server+2 clients+postgresql, in server\openerp-server.conf, pg_path is always defined to "None", in the past with allinone when postgresql and the server was installed in the same time, this option was defined.
The consequence is that in the menu, when I try to use backup or import database, there is a simpne message "could not backup/retore database". A good thing would be to verify if pg_path is different of None, and if not to display a message which says to define the install path for pg_path (in the case where the server is installed as a standalone package).
Bye

Changed in openobject-server:
assignee: nobody → Stephane Wirtel (OpenERP) (stephane-openerp)
importance: Undecided → Low
status: New → Confirmed
GEM (nimp3) wrote :

Hi,
to solve the problem when postgresql is installed with installer (no previous install for postgresql)
change line 295 :

SectionEnd

by

WriteIniStr "$INSTDIR\Server\openerp-server.conf" "options" "pg_path" " $INSTDIR\PostgreSQL\bin"
SectionEnd

bye

GEM (nimp3) wrote :

Hi,
don't forget to restart openerp server after writting in conf file :
WriteIniStr "$INSTDIR\Server\openerp-server.conf" "options" "pg_path" " $INSTDIR\PostgreSQL\bin"
nsExec::Exec "net stop openerp-server-6.0"
sleep 2

nsExec::Exec "net start openerp-server-6.0"
sleep 2

bye

Changed in openobject-server:
assignee: Stephane Wirtel (OpenERP) (stephane-openerp) → OpenERP's Framework R&D (openerp-dev-framework)
Changed in openobject-server:
status: Confirmed → Fix Committed

The fix in setup.nsi has landed in trunk at revision 3623 revid: <email address hidden>
Thanks for helping improving the windows support in OpenERP, as usual! :-)

Changed in openobject-server:
milestone: none → 6.1
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers