Backup fails in PT3 v3.11.8

Experiencing technical difficulties? Think you've found a problem with PokerTracker 3? Report it here.

Moderator: Moderators

Backup fails in PT3 v3.11.8

Postby Strachan » Sun Jan 15, 2012 11:08 am

I now run PT3 v3.11.8 beta. The backup function fails with an error on pg_dump (see message below)
I also tried to run backup from within PGADMIN III tool but get the same failure.
Thinking I might need to upgrade Postgresql I upgraded my old Postgresql v3.x to the newest Postgresql v3.17 (uninstalling old, and reinstalling new) but still get the same error when I attempt to backup.
My last successful backup was on December 26th 2011, when I was still running PT v3.10.
I have made no major changes to my Windows Vista system since then (except routine MS updates).
-----------------------------------------------------------------------------------
pg_dump: Dumping the contents of table "holdem_hand_player_detail" failed: PQgetCopyData() failed.
pg_dump: Error message from server: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
pg_dump: The command was: COPY public.holdem_hand_player_detail (id_hand, id_player, seat, holecard_1, holecard_2, amt_before, amt_blind, amt_ante, amt_bet_p, amt_bet_f, amt_bet_t, amt_bet_r, amt_bet_ttl, id_action_p, id_action_f, id_action_t, id_action_r, flg_f_first, flg_f_open, flg_f_open_opp, flg_f_has_position, flg_t_first, flg_t_open, flg_t_open_opp, flg_t_has_position, flg_r_first, flg_r_open, flg_r_open_opp, flg_r_has_position, flg_note, amt_p_raise_facing, val_p_raise_facing_pct, val_p_raise_aggressor_pos, amt_p_raise_made, val_p_raise_made_pct, amt_p_raise_made_2, val_p_raise_made_2_pct, amt_f_bet_facing, val_f_bet_facing_pct, val_f_bet_aggressor_pos, amt_f_bet_made, val_f_bet_made_pct, amt_f_raise_facing, val_f_raise_facing_pct, val_f_raise_aggressor_pos, amt_f_raise_made, val_f_raise_made_pct, amt_f_raise_made_2, val_f_raise_made_2_pct, amt_t_bet_facing, val_t_bet_facing_pct, val_t_bet_aggressor_pos, amt_t_bet_made, val_t_bet_made_pct, amt_t_raise_facing, val_t_raise_facing_pct, val_t_raise_aggressor_pos, amt_t_raise_made, val_t_raise_made_pct, amt_t_raise_made_2, val_t_raise_made_2_pct, amt_r_bet_facing, val_r_bet_facing_pct, val_r_bet_aggressor_pos, amt_r_bet_made, val_r_bet_made_pct, amt_r_raise_facing, val_r_raise_facing_pct, val_r_raise_aggressor_pos, amt_r_raise_made, val_r_raise_made_pct, amt_r_raise_made_2, val_r_raise_made_2_pct) TO stdout;
pg_dump: *** aborted because of error
Strachan
 
Posts: 7
Joined: Sun Apr 27, 2008 3:34 pm

Re: Backup fails in PT3 v3.11.8

Postby WhiteRider » Sun Jan 15, 2012 1:17 pm

When you upgrade PostgreSQL to the latest version within the same major version (e.g. 8.3.x to 8.3.y), which it sounds like what you did, you don't need to uninstall, and that may have caused problems. Did you have things working at all after you updated?

The error message says that the server closed the connection unexpectedly, and that is often caused by a firewall, so please check the Firewall Guide.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Backup fails in PT3 v3.11.8

Postby Strachan » Tue Jan 17, 2012 6:53 pm

The error message was the same both in the old Postgresql v8.3.x and the new v8.3.17. Made no difference. I use Zonealarm Internet Security Suite and have given all the tasks full access, incl. the 4 applications mentioned in the firewall guide. I have reindexed and vacuumed the database using PGADMIN.

Irrespective every time I try to backup, either in PGADMIn or PT3, after having crunched through the various reports it stops with the same error message,
"Database:PT3_2010_10_07_2049...pg_dump: Dumping the contents of table "holdem_hand_player_detail" failed: PQgetCopyData() failed.
pg_dump: Error message from server: server closed the connection unexpectedly, This probably means the server terminated abnormally, before or while processing the request."
I have also given the pg-dump program full security access, just in case.

I never had any backup problems with 3.10. I suppose I could restore my backup copy from December 26th and see if that can be used and backed up, but would then lose the hands I have played since. though I guess I could export the new sessions out of PT3 before restoring and then reimport them after restore. Maybe I should also uninstall PT3.11.8 and re-install 3.10 ?
Any advice ?
Strachan
 
Posts: 7
Joined: Sun Apr 27, 2008 3:34 pm

Re: Backup fails in PT3 v3.11.8

Postby kraada » Tue Jan 17, 2012 7:02 pm

Unfortunately if the backup also fails in PGAdmin it's a PostgreSQL issue, not a PT3 issue.

Based on that error though . . . are you low on hard drive space? You could get an error like that if you didn't have enough temporary space available on your disk.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Backup fails in PT3 v3.11.8

Postby Strachan » Wed Jan 18, 2012 4:01 pm

No, I have plenty of free space on my drives. so that was not the problem.
I switched off ZONEALARM, but still backup failed with the same message, so at least I could conclude that the security program was not the culprit.

I then decided to try what I suggested in my last post, namely export the new hands since my last successful backup on December 26th, restore this backup and then manually re-import the new hands, and finally see if I could back this new version up. And it worked. So my conclusion is that the database must have been corrupted somehow since December 26th, though why I could still load it in PT3 and PGADMIN and vacuum/reindex it with no problem and then get that server error message from PostgreSQL when trying to backup is beyond me.

Anyway backup works again.
Strachan
 
Posts: 7
Joined: Sun Apr 27, 2008 3:34 pm

Re: Backup fails in PT3 v3.11.8

Postby kraada » Wed Jan 18, 2012 5:21 pm

That's very odd but I'm glad to hear you got everything working for you.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to Technical Support / Bug Reports [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests