PDA

View Full Version : "Specified data directory is not empty"



tcb21
08-20-2009, 04:32 PM
Hey all. I downloaded hold'em manager on my computer and used it for awhile, but the software was a little buggy. So I tried to uninstall everything and redownload it. I followed the instructions for the postgreSQL installation and before the Initialize Database Cluster screen, I got an error message saying:

The specified data directory is not empty.

If you have an existing database with the same major version number, you do not need to initialize a database cluster. If you have an existing database with a different major version you need to backup your old database and create a new one.

Can anyoe tell me what to do from here to get my Hold'Em manager working again? I am not very good with computers, so please be is simple as possible.

Thanks!

fozzy71
08-20-2009, 06:01 PM
When you uninstall postgresql it does not delete your database in the \data folder. This is to make it easy to reinstall postgresql to the same directory,w hen you are having problems, and use the same DB.

How do I re-install PostgreSQL and use a previous database? (http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=177)


If you have any problems trying to restore that data folder, and want to start over and do a clean reinstall of postgresql, here are my cliff notes:

Vista: Turn off UAC - http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=73

Turn off Windows Firewall for installing HM and PostgreSQL. Once you get those installed you can add exceptions to the firewall. If you have a 3rd party firewall, uninstall it completely before installing HM/SQL - http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=171

For uninstalling SQL please follow these steps:

1) Uninstall PostgreSQL from the Windows Control Panel.
2) manually delete the Program Files\Postgresql folders
3) run the command - start > run > cmd >

net user postgres /delete
4) reboot.
5) install PostgreSQL again, with your firewall uninstalled or turned off if windows firewall, using these directions and postgresql.zip version. - http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=176