After the last update

Questions and discussion about PokerTracker 4 for Windows

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

After the last update

Postby fedayn10 » Wed Apr 24, 2024 3:37 am

Аfter i tried to update today PT4, i had note to make Backup. And the other note after : Error updating database: Error: Unable to execute query: Fatal Error; Reason: ERROR: column "some_time" does not exist LINE 6: ... SELECT (CAST (date_part('year', timezone('UTC', some_time)... ^ I decided after that to delete my database and to create a new one but was impossible, well after i think was big mistake to delete possgre from C, Unistall PT4, install, and this note: Unable to login to database (postgres). Reason: could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "???" and accepting TCP/IP connections on port 5432?
After all i want to install PT4 again, to create new database and to make backup or without backup just to import my hands (which i have ) in the new database, but i aven can't open the PT4 after uninstall and install. What to do?
fedayn10
 
Posts: 3
Joined: Wed Jan 06, 2021 9:37 am

Re: After the last update

Postby WhiteRider » Wed Apr 24, 2024 4:18 am

Please note: If you have deleted PostgreSQL files manually then your old database will probably not be recoverable unless you made the recommended Backup before starting the update.
If you uninstalled but did not manually delete any files then your old database should still exist if you re-install the same major version of PostgreSQL as you previously had.

Please follow this guide for how to fully uninstall and re-install PostgreSQL. It refers to v9.3 but you may have had another version such as 9.6 or 12, depending on when you first installed PT4. As long as you didn't delete the whole PostgreSQL folder structure you will be able to see which version you had installed there. If you deleted everything, then I would recommend installing the latest version of PostgreSQL 12, and creating a new database with that.


Most of what follows will only apply if you are able to recover your existing PostgreSQL version and database. Otherwise you will need to create a new database once you have reinstalled PostgreSQL.
---
As far as I'm aware "some_time" is not part of the PT4 database structure. Is it possible that you made external changes to your database, maybe as part of a third party Hud install or something like that?

If so, then you may be able to re-apply the recommended changes to get it working again. However, external changes to the database are not something that we recommend or support so if that is the case then you would need to contact the supplier for further directions.

In the meantime, if you made the recommended Backup before running the database update then you could temporarily revert to v4.17.13 and restore your Backup. However, this change is very unlikely to be reverted so the problem will remain for future updates too, so it would be better to try to resolve it now.
Alternatively, you could create a new database and re-import your hand histories.

If you did not make any external changes to your database please upload your Backup file to cloud storage (e.g. Dropbox, Google Drive, OneDrive, etc) and share the link via a Support Ticket so that we can investigate for you.
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK


Return to PokerTracker 4

Who is online

Users browsing this forum: No registered users and 60 guests

cron