pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #11399: CreateUser error when upgrading
2+ messages / 2 participants
[nested] [flat]

* BUG #11399: CreateUser error when upgrading
@ 2014-09-11 20:23 kkaminski@vidsys.com
  2014-09-12 05:25 ` Re: BUG #11399: CreateUser error when upgrading Michael Paquier <michael.paquier@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: kkaminski@vidsys.com @ 2014-09-11 20:23 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      11399
Logged by:          Kathy Kaminski
Email address:      kkaminski@vidsys.com
PostgreSQL version: 9.0.16
Operating system:   Windows 2008 R2 
Description:        

I'm trying to install PostGres via InstallShield for our application as a
prerequisite.  I noticed it won't let me upgrade from 9.0.13 to 9.0.16.  I
see the following error:

Error running
C:\Users\Administrator\AppData\Local\Temp\2\postgresql_installer_d64e804b58\validateuser.exe
"." "postgres" "****" : Program ended with an error exit code 

My InstallShield installer doesn't know the difference between new install &
upgrade (it doesn't need to, it just invokes the installer), I just pass the
same params to my prereq.

Now, if I try to net /delete my user account, then run the installer, then I
get an error that it won't let me use the password I used before (which is
odd because it will allow it on a fresh install).  I changed the password,
ran through the install finally and THEN can't start the service because of
a permissions problem on the data directory!

I can't think of a way to work around this issue.  Seems that the script
should be smart enough to know it's doing an upgrade and to ignore the user
params.  I tried 9.0.16 & 9.0.18, but in 9.0.18 we can't run the 32 bit
installer because of another bug.

Here's what I'm passing for reference (passwords changed):

--unattendedmodeui none --mode unattended --superaccount postgres
--serviceaccount postgres --servicepassword password--superpassword
password--datadir "%SYSTEMDRIVE%\ProgramData\PostgreSQL\9.0\data"  


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #11399: CreateUser error when upgrading
  2014-09-11 20:23 BUG #11399: CreateUser error when upgrading kkaminski@vidsys.com
@ 2014-09-12 05:25 ` Michael Paquier <michael.paquier@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Michael Paquier @ 2014-09-12 05:25 UTC (permalink / raw)
  To: kkaminski@vidsys.com; +Cc: pgsql-bugs

On Fri, Sep 12, 2014 at 5:23 AM,  <kkaminski@vidsys.com> wrote:
> I'm trying to install PostGres via InstallShield for our application as a
> prerequisite.  I noticed it won't let me upgrade from 9.0.13 to 9.0.16.  I
> see the following error:
>
> Error running
> C:\Users\Administrator\AppData\Local\Temp\2\postgresql_installer_d64e804b58\validateuser.exe
This exe file is not part of the PostgreSQL code. You should contain
the person or the organism that made the msi you are using and report
to them that this script has a problem.
Regards,
-- 
Michael


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2014-09-12 05:25 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-09-11 20:23 BUG #11399: CreateUser error when upgrading kkaminski@vidsys.com
2014-09-12 05:25 ` Michael Paquier <michael.paquier@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox