I encountered this error when trying to re-install Postgres.
**Problem running the post-install step. Installation may not complete correctly.»
asked Jun 10, 2020 at 16:23
I found the following solution in this article:
https://webkul.com/blog/postgresql-windows-installation-problem-running-post-install-step-installation-may-not-complete-correctly/
This worked great so thought I would share here also so I have a place to refer to when I hit this error.
Solution:
1. Uninstall PostgreSQL
-
Run command: net user postgres /delete
-
Click: Control Panel -> User Accounts -> Configure advanced user profile properties -> delete all “Unknown User” instances that seem to be left from PostgreSQL installation.
-
Run command: net user postgres /add
-
Run: compmgmt.msc -> Click Local Users and Groups -> Users -> postgres ->Member of -> Add… -> Administrators -> OK
-
Run: runas /user:postgres cmd.exe ->
-
change into the directory where your installer is and execute your installer (version may be different) postgresql-8.4.9-1-windows.exe
installed successfully without errors. Checked data folder and confirmed files created successfully.
- Run: compmgmt.msc -> Local Users and Groups -> Users -> postgres -> Member of -> Administrators -> Remove
9/ Run: compmgmt.msc -> Local Users and Groups -> Users -> postgres -> Member of -> Add… -> Power Users —
answered Jun 10, 2020 at 16:23
Rod PaddockRod Paddock
1942 silver badges4 bronze badges
-
Created
7 May 2018 -
Category
PostgreSQL
If during installing PostgreSQL there appears such notification: “Problem running the post-install step. Installation may not complete correctly.” it means that the database engine has run into certain problems and it is highly probable that it has not been installed.
Solution:
- Delete current PostgreSQL installation [appwiz.cpl]
- Open management console [mmc]
- From File menu choose Add/Remove Snap-in…
- Next, choose Local users and groups from the list, click Add > button and confirm the choice for the local computer by clicking OK
- Choose Users catalogue from the tree at the left sife. Next, left-click the field at the right side and choose New user option
- Name the user as ‘postgres’ and fill in Password field. Confirm the password. Choose User cannot change password and Password never expires fields and proceed to creating a user.
- Find postgres on users list, double-click it to display edition options and enter Member of tab. Click Add… button, choose Advanced… options in the users list, double-click on it to call it up for editing and go to the Group Member tab. Click Add…, select the advanced option and in the next window Find Now. From the list of displayed local groups, select Administrators and save your changes.
- Move the installation package directly to C: disc and launch the command:
runas /user:postgres cmd.exe
You will be asked for a password to the postgres user, write it down and in the displayed command window find the main catalogue
cd /
Now, launch postgreSQL installation package.
- The installation should proceed without any trouble. The PostgreSQL service will be registered in the system.
- Remember abouy deleting postgres user from Administrators group and add him to Power Users group, as in point 7.
Was this article helpful?
|
|||
Alexandrovich
06.06.17 — 11:24 |
Никак не ставится Postgre на Windows Standart 2008 начиная с версии 9.1, до 9.1 все замечательно. В конце установки выдает сообщение: Советы в интернете не помогли, все грешат на права каталога куда ставится Postgre, но права полные, от админа устанавливал тоже не помогло, на диске D делал каталог, пробовал туда поставить и все равно тот же результат. |
||
polosov
1 — 06.06.17 — 11:25 |
(0) «initialisation» — прям так написано? |
||
Alexandrovich
2 — 06.06.17 — 11:30 |
(1) Да |
||
Alexandrovich
3 — 06.06.17 — 11:44 |
Есть у кого то идеи как побороть ошибку? |
||
VladZ
4 — 06.06.17 — 11:46 |
(3) Решение проблемы: выкинуть PostgreSQL, установить MS SQL. |
||
lock19
5 — 06.06.17 — 11:49 |
(4) Или потавить PostgreSQL на линукс. |
||
polosov
6 — 06.06.17 — 11:52 |
(0) http://www.sql.ru/forum/697164/delus-opytom-poborot-installyator-postgresql-v-windows |
||
lock19
7 — 06.06.17 — 11:53 |
(0) Postgre pro? |
||
МихаилМ
8 — 06.06.17 — 11:55 |
нет такой версии Windows Standart 2008 |
||
pessimist
9 — 06.06.17 — 12:05 |
(0) При попытке запуска службы в журнал событий ничего не пишется? Может ещё у инсталлятора свой лог? |
||
Alexandrovich
10 — 06.06.17 — 13:04 |
(9) Инсталлятор от 1С. До установки службы не доходит. |
||
pessimist
11 — 06.06.17 — 13:15 |
(10) В интернетах про права пишут. UAC отключить? |
||
Alexandrovich
12 — 06.06.17 — 13:35 |
(11) Да, отключил, тот же результат. |
||
LuciferArh 13 — 06.06.17 — 15:56 |
Попробуйте поставить отсюда: https://postgrespro.ru/products/1c_build |
TurboConf — расширение возможностей Конфигуратора 1С
Following the steps in this guide I was able to get the installer to run, but it’s failing. Error message is not of much help. Following some forum recommendations I uninstalled and reinstalled the OS. i.e. new VM. Running Ubuntu 18.04 on an Azure F4 VM.
It appears to be similar to this unsolved windows 7 issue, which was asking for some logs, I attached the install.log in case that is relevant
Any thoughts on what to try next?
---------------------------------------------------------------------------- Configuration Summary Review and confirm the following configuration settings: Installation directory: /opt/ThingWorxH2Trial-8.4.0-SNAPSHOT Local ThingWorx port: 8080 Local ThingWorx SSL port: 443 Minimum Java heap size for ThingWorx: 1024 Maximum Java heap size for ThingWorx: 2048 Press [Enter] to continue: ---------------------------------------------------------------------------- Setup is ready to install ThingWorx Trial for H2. Do you want to continue? [Y/n]: Y ---------------------------------------------------------------------------- Setup is installing ThingWorx Trial for H2. This might take a few minutes. 0% ______________ 50% ______________ 100% ########################################Warning: Problem running post-install step. Installation may not complete correctly Error running ./check-http-response --username "Administrator" --password **** --hostname "localhost" --hostport "443" --useSSL=1: 1 Press [Enter] to continue: Warning: Problem running post-install step. Installation may not complete correctly Error occured while running postInstall Validation scripts Press [Enter] to continue: # ---------------------------------------------------------------------------- ThingWorx Trial for H2 installation failed. Error: There has been an error. Error occured while running postInstall Validation scripts Press [Enter] to continue:
Ситуация не такая банальная как кажется,по крайне мере для меня
Сначала о системе Windows 7 Х64 профессиональная (активирована,русскоязычная),диск NTFS,компьютер совершенно новый
Устанавливал postgresql версии 9.1.1-1,9.05-1, устанавливаю впервые
Как я понял старые версии не пойдут на компьютере.Скачивал с POstgreSQL.ru.net
Юзер переименован на английский, комп называется по английски, UAC спустил вниз, автоматизировал вторичный вход, отключил антивирус, у меня одна учетная запись администратора, устанавливал в разные папки(давал право на общее пользование ,устанавливал и на разные диски,microsoft visual c++ есть 2008 года,Microsoft.NET Framework 4Extended+русский языковый пакет
Исполнял и такой совет
«Открываем путь c:/windows/system32/drivers/etc/, в этом каталоге открываем блокнотом файл hosts, и в этом файле смотрим прописана ли следующая строчка:
127.0.0.1 localhost
(обратите внимание — строчка должна быть именно такой — без «#»).
Если не прописана, то вписываем её в конец и сохраняем файл.»
Кстати у меня существует # 127.0.0.1 localhost это не противоречит.К тому же у меня два hosts(это связанно с Alcohol120% что бы он не выходил в интернет там использован кряк)
Скачал с сайта некий исходник PostgreSQL 9.05 X64.Так и не понял для чего он нужен,архив не не setupa,куда устанавливать не понятно.
Вымотался психологически жутко,пробуя установить её.
Представляю что меня ещё ждёт установка XM и совместимость PostgreSql
Пишет всю эту долбанутую фразу
Warning
Problem running post-install step. Installation may not complete correctly
The database cluster initialisation failed.
Помогите пожалуйта