Help! I've lost all my settings!

Message boards : Number crunching : Help! I've lost all my settings!
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile gizbar
Avatar

Send message
Joined: 7 Jan 01
Posts: 586
Credit: 21,087,774
RAC: 0
United Kingdom
Message 1038366 - Posted: 2 Oct 2010, 18:45:00 UTC
Last modified: 2 Oct 2010, 18:50:21 UTC

Hi Guys and Gals,

I've had a crash with my rig, and I think Boinc was writing to the disk at the time. This means that I've lost all my task list and all the data from my stats page in Boinc etc. It asked me to attach to a project after it rebooted.

Is there any way I can recover this?

Otherwise I'm gonna have several hundred tasks time out because Boinc doesn't know they are there to crunch.

[EDIT] I've just confirmed it's asking for a new ID for the computer on BOINC startup too. [/EDIT]

regards, Giz.


A proud GPU User Server Donor!
ID: 1038366 · Report as offensive
Profile Tim Norton
Volunteer tester
Avatar

Send message
Joined: 2 Jun 99
Posts: 835
Credit: 33,540,164
RAC: 0
United Kingdom
Message 1038385 - Posted: 2 Oct 2010, 19:50:55 UTC - in response to Message 1038366.  

Giz

have you still got the client_state_prev.xml file and is it significantly larger than the client_state file?

if so rename and you might be lucky
Tim

ID: 1038385 · Report as offensive
Profile gizbar
Avatar

Send message
Joined: 7 Jan 01
Posts: 586
Credit: 21,087,774
RAC: 0
United Kingdom
Message 1038386 - Posted: 2 Oct 2010, 19:56:00 UTC - in response to Message 1038385.  
Last modified: 2 Oct 2010, 19:59:41 UTC

Hi Tim,

No, it's the same size as the normal client_state file. The other one there is client_state_old, but it is exactly that - 6 months old.

Looks like I'm gonna have to get a new machine id, and try to get some more work.

The machine hasn't changed, so I should be able to merge it with the old one, but I will lose about 800 tasks.

Damn! This was just starting to rip through a good few wu's too. Now it's sitting on 800 tasks it can't work on, and I can't seem to get any new ones either.

regards, Giz.


A proud GPU User Server Donor!
ID: 1038386 · Report as offensive
Profile Questor Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 3 Sep 04
Posts: 471
Credit: 230,506,401
RAC: 157
United Kingdom
Message 1038550 - Posted: 3 Oct 2010, 2:13:35 UTC - in response to Message 1038386.  
Last modified: 3 Oct 2010, 2:14:27 UTC

Hi Tim,

No, it's the same size as the normal client_state file. The other one there is client_state_old, but it is exactly that - 6 months old.

Looks like I'm gonna have to get a new machine id, and try to get some more work.

The machine hasn't changed, so I should be able to merge it with the old one, but I will lose about 800 tasks.

Damn! This was just starting to rip through a good few wu's too. Now it's sitting on 800 tasks it can't work on, and I can't seem to get any new ones either.

regards, Giz.


So annoying when that happens. Assuming your 6 month old file has the same host cpid value as you were currently using you could use this to start Boinc and detach/reattach which will release those orphaned 800 tasks.


John.
GPU Users Group



ID: 1038550 · Report as offensive
Profile BilBg
Volunteer tester
Avatar

Send message
Joined: 27 May 07
Posts: 3720
Credit: 9,385,827
RAC: 0
Bulgaria
Message 1038552 - Posted: 3 Oct 2010, 2:46:30 UTC - in response to Message 1038386.  


If you use some of the ReScheduler programs they make backups of client_state.xml

ReSchedule 1.9 keep backups in BOINC Data directory (as client_state2010*.xml)
BOINC Rescheduler - in its "Temp" (capture) directory (as capture-state.xml)

(Do not run them now - just check in folders)


 


- ALF - "Find out what you don't do well ..... then don't do it!" :)
 
ID: 1038552 · Report as offensive
Brkovip
Avatar

Send message
Joined: 18 May 99
Posts: 274
Credit: 144,414,367
RAC: 0
United States
Message 1038563 - Posted: 3 Oct 2010, 3:55:07 UTC

The one thing you can do is check the IP of the computer. If you have the same IP it tends to think it is the same computer. If you get a new IP then it will think it is a different computer. Make sure you set the IP to be the same as the old one you had.
ID: 1038563 · Report as offensive
Profile gizbar
Avatar

Send message
Joined: 7 Jan 01
Posts: 586
Credit: 21,087,774
RAC: 0
United Kingdom
Message 1038584 - Posted: 3 Oct 2010, 5:42:15 UTC - in response to Message 1038552.  


If you use some of the ReScheduler programs they make backups of client_state.xml

ReSchedule 1.9 keep backups in BOINC Data directory (as client_state2010*.xml)
BOINC Rescheduler - in its "Temp" (capture) directory (as capture-state.xml)

(Do not run them now - just check in folders)



I can find a rescheduler 1.9 client state backup file from the 24th September.
I did try out the Boinc rescheduler, but I can't find the temp directory it's using.

Any ideas?

And then what? I guess to rename it to the current client_state file and detach/re-attach as Questor suggested?

regards, Giz.



A proud GPU User Server Donor!
ID: 1038584 · Report as offensive
Profile BilBg
Volunteer tester
Avatar

Send message
Joined: 27 May 07
Posts: 3720
Credit: 9,385,827
RAC: 0
Bulgaria
Message 1038600 - Posted: 3 Oct 2010, 6:46:47 UTC - in response to Message 1038584.  
Last modified: 3 Oct 2010, 7:00:46 UTC

... If you get a new IP then it will think it is a different computer...

NO - not true, my IP changes every week (ADSL) with no side effects.


I did try out the Boinc rescheduler, but I can't find the temp directory it's using.

OK, start it but do not press [Test] or [Run]
Go to Expert tab and there you'll see where is the "Temp folder"
(my (but not yours) is: C:\WIND98SE\Application Data\eFMer\BoincScheduler\capture\)
If the files in \capture\ are too old use the one you have from 24th September.

Exit BOINC before rename/copy


And then what? I guess to rename it to the current client_state file and detach/re-attach as Questor suggested?

When you start BOINC with the "new" client_state.xml it will say (I think) that some WU files are missing (they are already reported but we use older/backup copy of client_state.xml)
but BOINC will continue to work on the (old) tasks still present in the \projects\setiathome.berkeley.edu\ directory (some of your 800 tasks)

I hope no need to detach/re-attach - depends how old is the backup


 


- ALF - "Find out what you don't do well ..... then don't do it!" :)
 
ID: 1038600 · Report as offensive
Profile Tim Norton
Volunteer tester
Avatar

Send message
Joined: 2 Jun 99
Posts: 835
Credit: 33,540,164
RAC: 0
United Kingdom
Message 1038601 - Posted: 3 Oct 2010, 6:48:35 UTC - in response to Message 1038584.  
Last modified: 3 Oct 2010, 6:49:53 UTC

Giz

Freds Rescheduler stores its temp files - by default in

C:\Users\<username>\AppData\Roaming\eFMer\BoincScheduler\capture

this is under win7 which i think is the os on the machine you are using?

if its not there go to expert tab in freds app and it will tell you where it was using for temp

if you are successful in finding something recent then you should be able to shut down BM copy over the client_state file (renamed) and as the details of you computer are stored in the client state file it should reconnect ok - its no different in principle to changing the os and installing bm copying over the previous data directory and starting bm up again as i did yesterday worked first time

Before you do run up bm - take a copy of the the whole data directory to give you scope to try different options

as this client_state will be "old" expect some error messages about missing files etc but you should be able to recover some of you work units - others that were downloaded after this client_state file are still going to be orphaned though and are now effectively ghosts

and slightly tongue in cheak - possibly time to invest in backup software - sorry could not resist :)

[edit] - beaten to the punch
Tim

ID: 1038601 · Report as offensive
Profile gizbar
Avatar

Send message
Joined: 7 Jan 01
Posts: 586
Credit: 21,087,774
RAC: 0
United Kingdom
Message 1038602 - Posted: 3 Oct 2010, 7:00:27 UTC

Thanks BilBg. Everytime something goes wrong on here, and it hasn't for a good while, somebody always comes along who has a better understanding of it than me!

@Tim - You're right in a way, both machines are running Win7 now, but it is the one with 2 gfx cards attached - id no. 5000538.

And, you cheeky bugger, I do have backup software, but never backed up Boinc as it changes so frequently. :o)
Maybe it is time to add it to my backup regime. I normally do it once a week.

regards, Giz.



A proud GPU User Server Donor!
ID: 1038602 · Report as offensive
Profile gizbar
Avatar

Send message
Joined: 7 Jan 01
Posts: 586
Credit: 21,087,774
RAC: 0
United Kingdom
Message 1038604 - Posted: 3 Oct 2010, 7:13:03 UTC

Update - Have found the rescheduler backup.

It has a 'capture-state' from 27/09/10 and a 'client_state' from 26/9/10.

Any preferences to which one to try?

regards, Giz.



A proud GPU User Server Donor!
ID: 1038604 · Report as offensive
Profile BilBg
Volunteer tester
Avatar

Send message
Joined: 27 May 07
Posts: 3720
Credit: 9,385,827
RAC: 0
Bulgaria
Message 1038606 - Posted: 3 Oct 2010, 7:21:18 UTC - in response to Message 1038604.  
Last modified: 3 Oct 2010, 7:27:15 UTC

Update - Have found the rescheduler backup.

It has a 'capture-state' from 27/09/10 and a 'client_state' from 26/9/10.

Any preferences to which one to try?

regards, Giz.


This means you did [Run] on 26/9/10 and [Test] on 27/09/10

Use the newer 'capture-state' from 27/09/10 (if it has good big size (several MB?))

(capture-state.xml is client_state.xml just with different name)


 


- ALF - "Find out what you don't do well ..... then don't do it!" :)
 
ID: 1038606 · Report as offensive
Profile Tim Norton
Volunteer tester
Avatar

Send message
Joined: 2 Jun 99
Posts: 835
Credit: 33,540,164
RAC: 0
United Kingdom
Message 1038611 - Posted: 3 Oct 2010, 7:24:56 UTC - in response to Message 1038602.  

And, you cheeky bugger, I do have backup software, but never backed up Boinc as it changes so frequently. :o)
Maybe it is time to add it to my backup regime. I normally do it once a week.


:)
Tim

ID: 1038611 · Report as offensive
Profile gizbar
Avatar

Send message
Joined: 7 Jan 01
Posts: 586
Credit: 21,087,774
RAC: 0
United Kingdom
Message 1038614 - Posted: 3 Oct 2010, 7:34:17 UTC - in response to Message 1038606.  

Update - Have found the rescheduler backup.

It has a 'capture-state' from 27/09/10 and a 'client_state' from 26/9/10.

Any preferences to which one to try?

regards, Giz.


This means you did [Run] on 26/9/10 and [Test] on 27/09/10

Use the newer 'capture-state' from 27/09/10 (if it has good big size (several MB?))

(capture-state.xml is client_state.xml just with different name)



Thanks again. The amount of knowledge on here still astounds me! I tend to do more hardware stuff than software, and only learn new stuff at times like now...

Giz.



A proud GPU User Server Donor!
ID: 1038614 · Report as offensive
Profile gizbar
Avatar

Send message
Joined: 7 Jan 01
Posts: 586
Credit: 21,087,774
RAC: 0
United Kingdom
Message 1038616 - Posted: 3 Oct 2010, 7:35:19 UTC - in response to Message 1038611.  

And, you cheeky bugger, I do have backup software, but never backed up Boinc as it changes so frequently. :o)
Maybe it is time to add it to my backup regime. I normally do it once a week.


:)


No problem! Love to all!

PM sent.

regards, Giz.



A proud GPU User Server Donor!
ID: 1038616 · Report as offensive

Message boards : Number crunching : Help! I've lost all my settings!


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.