akiver / cs-demo-manager

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

PSQL binary not found #955

Open Relixxx1 opened 1 month ago

Relixxx1 commented 1 month ago

Describe the bug

It's a silly issue, seemingly simple, but there's a problem with PSQL.

"PSQL binary not found"

I read the entire installation documentation, but I still couldn't find a solution to my problem. I went through the entire step 2: 'Setup psql' several times, with multiple computer restarts and reinstallation of both PSQL and the application.

Demo links

No response

Steps to reproduce

I installed PostgreSQL (17.0) Server and Command Line Tools, and I added psql to the user variables (screenshot). I followed all the steps during the installation of PSQL, keeping everything on the default settings (e.g., the port). In my case, the problem is probably not on the PSQL side, because in CMD, after entering 'psql -h 127.0.0.1 -U postgres -p 5432' and providing the previously set password, everything works fine (logged in successfully in CMD).

This error mainly occurs when psql is not added to the PATH environment variable, but that's one thing to change, and one screenshot shows that in my case, this is not the solution to the problem.

If I haven't overlooked something obvious, I thought that something might be blocking the specified port or the entire 'connection' between the application and PSQL, thinking that maybe it's xampp's fault (but that's probably the wrong lead, since that software has to be manually started). Nevertheless, I uninstalled PSQL several times and reinstalled the application multiple times, restarted my computer several times. Despite all these attempts, the problem (still the same) persists.

I'm sorry if this is a simple problem to solve, which I (and the person who installed it without any issues) can't figure out. Thank you in advance for any response.

Zrzut ekranu 2024-10-21 204153 Zrzut ekranu 2024-10-21 213210

Expected behavior

It would be great to finally say goodbye to this 'PSQL binary not found' problem and log into the application to use this interesting tool.

How often does this bug happen?

None

Log file

No response

Environment information

It's hard to send environment information because the application doesn't allow opening the settings while in the login view, but I'll try:

OS: Windows 11 Home Version: 10.0.22631 Build 22631 System model: MS-7B86

Application version: latest (v3.9.1) -> CS-Demo-Manager-Setup-3.9.1.exe PostgreSQL version: latest (17.0) Windows x86-64

Additional context

No response

akiver commented 1 month ago

could you upload the log file? (%HOMEPATH%\.csdm\logs\csdm.log)

Relixxx1 commented 1 month ago

csdm.log

akiver commented 5 days ago

@Relixxx1 could you try with the new version? I added some logs.