Quote:
Can I ask a quick question about PostgreSQL - I've had intermittent issues for a while now, where I get a message that HM2 cannot connect to the PostgreSQL database. I've tried the steps mentions on the HM2 website and nothing has instantly worked, though usually if I wait and try again later (after re-booting) HM2 will work again. Then it may work for a month, then I'll have another issue.
Is it worth trying to update from version 8.4 to something else? I think that I'd have to uninstall HM2 and then re-install it after updating PostgreSQL?
Thanks!
Which Operating System, Firewall, and AntiVirus are you using? I am assuming Windows 10 which is known to have issues connecting with PSQL after Windows updates. Some AV/FW (Avast, Avira, AVG, etc) can cause it to. Updating to a newer PSQL version
might help but I can't be sure. If you upgrade PSQL (will put steps below if you want to try) you should not need to reinstall HM2.
Make sure windows is fully updated until 'No New Important Updates are Found' (this may require multiple restarts and multiple 'check for updates'), including Internet Explorer (even if you use a different web browser).
Please note that reinstalling PostgreSQL will mean losing all your old data. If you have access to HM2 and your database was not corrupt then please
follow these instructions for backing up your database as a precaution in case you cannot reconnect after reinstalling PostgreSQL.
If you cannot access the database in HM2 then you can backup your database
using this method but if your database was corrupt then the best solution is to reimport all your hands from C:/HM2archive folder or if your pokersite supports it you can request all your hands and summaries and reimport them as restoring a corrupt database will just restore all the problems you had.
1) Uninstall PostgreSQL from the Windows Control Panel.
2) Delete the \PostgreSQL\X.x\data folder that is left behind.
3) Delete the sub-folder(s) in c:\users\username\appdata\roaming\HoldemManager\Da tabase (XP - c:\documents and settings\username\application data\HoldemManager\Database).
4) run the command - start > programs > accessories > command prompt > right-click > run as administrator
net user postgres /delete
After you click 'Enter' for the code above also do that same for this code:
sc delete postgresql-8.4
and click 'Enter' again.
5) Restart your PC
6) Install PostgreSQL 9.3
from here.
7) Once installed you should disable the postgresql logging as
instructed here.
8) You should now be able to
restore your database backup.
If there is an issue installing postgresql, we need to know the error - it is in the temp folder - bitrockinstaller.txt file. If you can't see it,
turn off the windows option that is hiding that directory.
Fozzy71
Customer Support