akiver / cs-demo-manager

Companion application for your Counter-Strike demos.
https://cs-demo-manager.com
MIT License
1.44k stars 195 forks source link

Error during installation of CS DEMO Manager 3.5.2 won't create database csdm on initial connection. #814

Closed lorentedford closed 6 months ago

lorentedford commented 6 months ago

Describe the bug

During new installation or fresh installation in my case. I followed all the directions to install CSGO Demo manager having already installed Postgres sql previously for other projects I already had the username and password for postgres.

Here is a screen shot of the error I get. image

Either faulty directions on how to setup the database and it's structure or faulty coding.

Demo links

No response

Steps to reproduce

  1. Start with a fresh install.
  2. Download and install Windows 11 Pro.
  3. Download and install Steam.
  4. Perform all pc updates and upgrades.
  5. Download and install Postgress sql
  6. Download and install CS DEMO Manager 3.5.2
  7. Watch it all explode.

Expected behavior

To function as directions Described.

How often does this bug happen?

None

Log file

database "csdm" does not exist

Environment information

-Version 3.5.2 -OS Windows 11 Pro

Additional context

No response

lorentedford commented 6 months ago

I was able to manually create the database and it worked however. Some how in the installation it did not create the database.

wxlvis commented 6 months ago

Removing the name csdm and leaving it empty seemed to have helped me resolve this issue.