Quantcast
Channel: Question and Answer » postgresql
Viewing all articles
Browse latest Browse all 1138

How to reinstall PostgreSQL over an existing installation

$
0
0

I am trying to upgrade an installer created with NSIS that installs postgresql. It used to install postgresql 8.3 but we want to upgrade the DB to 9.4.4.

The old version on of the DB used to be an MSI installer but they have switched to a Windows EXE with the later version. The old version was able to install over a existing installation. The new version breaks and gives me a very general error that I can’t use to pinpoint the issue.

Error:

The installation directory must be an absolute path, containing only
letters, numbers and the characters ‘-’, ‘/’, ‘.’ and ‘_’, and must be
writable.

This is my install command:

postgresql-9.4.4-1-windows-x64.exe –prefix “C:postgres” –datadir
“C:postgresdata” –enable_acledit 1 –install_runtimes 0
–serverport 5432 –superpassword “XXXX” –servicepassword “XXXX” –unattendedmodeui minimal –mode unattended –debuglevel 0 –serviceaccount “postgres” –create_shortcuts 0

The Bitrock installer only provides the above error with no path detail or anything to act on.

Any clues or suggestions? (Thanks)


Viewing all articles
Browse latest Browse all 1138

Trending Articles