Problem in the middle of the upgrade

PostgreSQL is the database server used to store information. Do you have a question or are you having problem with PostgreSQL? If so, post them here.

Moderator: Moderators

Problem in the middle of the upgrade

Postby Mountain runner » Wed Sep 22, 2010 2:28 pm

I downloaded the 3.07.4 BETA and started the upgrade, but it keeps failing as there is insufficient disk free space on my C drive. The problem is that I cannot delete anything from that C drive, as postrgeSQL is taking most of it anyways and I cannot cancel the upgrade also, because first thing when I open PT it starts upgrading the database and don't allow me to interfere with it. After it fails, I also cannot do anything else as it either closes the programm or starts the upgrade process once more.
What should I do?
Mountain runner
 
Posts: 15
Joined: Tue Dec 29, 2009 8:36 pm

Re: Problem in the middle of the upgrade

Postby kraada » Wed Sep 22, 2010 4:27 pm

You can safely delete all files in the C:\Program Files\PostgreSQL\8.3\data\pg_log folder - that may help you free up some space. You could also zip up and archive elsewhere all files in C:\Program Files\PokerTracker 3\Processed, which may help as well.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Problem in the middle of the upgrade

Postby Mountain runner » Wed Sep 22, 2010 4:54 pm

Ok, I did both, but there is still not enough free space (900 MB).

Error updating database: PokerTracker 3 Database
Error:
Unable to execute query: ALTER TABLE holdem_hand_player_statistics ADD COLUMN val_curr_conv numeric(12,8) DEFAULT 0;; Reason: Fatal Error (ERROR: could not extend relation 1663/16403/84269: No space left on device HINT: Check free disk space. )
Mountain runner
 
Posts: 15
Joined: Tue Dec 29, 2009 8:36 pm

Re: Problem in the middle of the upgrade

Postby kraada » Wed Sep 22, 2010 5:30 pm

In that case the easiest thing to do is to probably downgrade back to 3.06.2 - which should work fine since the database upgrade hasn't ever completed - and then make a backup of your database if possible via File --> Backup. Once you've backed your database up, you can uninstall PostgreSQL and remove it and reinstall it elsewhere (on a separate drive with more free space, for example), then restore your database from backup, then upgrade back to 3.07.4.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Problem in the middle of the upgrade

Postby Mountain runner » Sat Sep 25, 2010 2:39 pm

I cannot make a back-up as there is insufficient free space on my C drive. Is it possible to move the data to other disk drives without backuping, but simply moving some folders?
Mountain runner
 
Posts: 15
Joined: Tue Dec 29, 2009 8:36 pm

Re: Problem in the middle of the upgrade

Postby WhiteRider » Sat Sep 25, 2010 3:47 pm

If you have the original hand histories you will can always re-import to a new database. Just in case, I'd suggest doing an export and zipping those up somewhere off your main drive.

Have a look at this thread - it refers to USB drives, but I think the same will apply for another hard disk.
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Problem in the middle of the upgrade

Postby Mountain runner » Sun Sep 26, 2010 12:57 pm

What if I dont have original HH for my own hands? Can I still export them and re-import those into new database?
Mountain runner
 
Posts: 15
Joined: Tue Dec 29, 2009 8:36 pm

Re: Problem in the middle of the upgrade

Postby kraada » Sun Sep 26, 2010 1:09 pm

Yes, you can.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Problem in the middle of the upgrade

Postby Mountain runner » Sun Sep 26, 2010 2:42 pm

So is there a diference between making a proper back-up or exporting and re-importing all the HH in new PT3?
Mountain runner
 
Posts: 15
Joined: Tue Dec 29, 2009 8:36 pm

Re: Problem in the middle of the upgrade

Postby WhiteRider » Sun Sep 26, 2010 4:41 pm

It shouldn't make any difference, really. Export/import can sometimes be better, if you imported hands originally in older versions where an import bug has been fixed since then. Backup/Restore is much faster and will keep all of your results, filters, notes, etc., exactly as they are.
If you have notes and you need to do an export/import then you should make a Backup of your notes at least.
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK


Return to PostgreSQL [Read Only]

Who is online

Users browsing this forum: No registered users and 36 guests

cron
highfalutin