Deleted files...

Just as the title says!
User avatar
MacDitch
Moderator General
Moderator General
Posts: 1129
Joined: Tue Jun 06, 2006 9:19 am
Location: Ex-Edinburgh

#1 Deleted files...

Post by MacDitch »

I had a problem on my machine a few days ago where a bunch of files started to be deleted before I managed to stop and remove the issue. At the time BOINC was running and it continued happily, so I thought nothing more of it.

Today I had to restart BOINC, and I instantly got a message telling me it wasn't connected to any projects! Looking in the BOINC folder on the drive it appears that the deletion did get as far as this folder as all the "account_" files were missing. My problem? Over a weeks worth of Einstein units (completed and unreported) are on this installation, but I don't know how to get BOINC to recognise them!

Any ideas?
Image Image
User avatar
Janos (retired)
Still a Newbie
Posts: 1919
Joined: Thu Feb 23, 2012 8:58 am
Location: Aberdeenshire, Scotland

#2

Post by Janos (retired) »

Never had the problem myself so any solution I offer would be guesswork.

What I would try:

Backup your BOINC data
Reinstall BOINC, same version as before
Attach to projects but don't download work
Close BOINC
Copy in your completed data
Restart BOINC
With luck it should sync

If not, you still have a backup of your data to try something else.

Janos
PinkPenguin

#3

Post by PinkPenguin »

You will need one of the following files:

client_state.xml
client_state_prev.xml (this is a backup of client_state.xml)

Hopefully you still have one of these... otherwise you will need a double scotch and a miracle... :shock:

Look for blocks with the following <result> or <state>5</state> or <status>0</status> or <upload_url> - this example has files which have already been uplaoded and the WU is "ready to report" so you may have a different result block status and info:

Code: Select all

<result>
    <name>vina_5157_1360331476.502824-437-PF10_0098_2.pdbqt-76002-TCMDC_139742_18.pdbqt-5pflex-_0</name>
    <final_cpu_time>218.586500</final_cpu_time>
    <final_elapsed_time>263.344151</final_elapsed_time>
    <exit_status>0</exit_status>
    <state>5</state>
    <platform>i686-apple-darwin</platform>
    <version_num>301</version_num>
<stderr_out>
<![CDATA[
<stderr_txt>
dyld: DYLD_ environment variables being ignored because main executable (/Library/Application Support/BOINC Data/slots/4/../../switcher/switcher) is setuid or setgid
20:57:07 (60050): called boinc_finish

</stderr_txt>
]]>
</stderr_out>
    <ready_to_report>
    <completed_time>1360353437.320077</completed_time>
    <wu_name>vina_5157_1360331476.502824-437-PF10_0098_2.pdbqt-76002-TCMDC_139742_18.pdbqt-5pflex-</wu_name>
    <report_deadline>1361246337.000000</report_deadline>
    <received_time>1360346357.119430</received_time>
    <file_ref>
        <file_name>vina_5157_1360331476.502824-437-PF10_0098_2.pdbqt-76002-TCMDC_139742_18.pdbqt-5pflex-_0_0</file_name>
        <open_name>outfile</open_name>
        <copy_file>
    </file_ref>
</result>

........ 

<file>
    <name>vina_5157_1360337848.533497-1135-PFC0210c_2.pdbqt-76019-TCMDC_135765_0.pdbqt-5pflex-_0_0</name>
    <nbytes>0.000000</nbytes>
    <max_nbytes>5000000.000000</max_nbytes>
    <status>0</status>
    <upload_url>http://boinc.ucd.ie/fmah_cgi/file_upload_handler</upload_url>
</file>
If the files correspond to what you still have on disk you might be able to use Janos's suggestion for recovery...
User avatar
MacDitch
Moderator General
Moderator General
Posts: 1129
Joined: Tue Jun 06, 2006 9:19 am
Location: Ex-Edinburgh

#4

Post by MacDitch »

Unfortunately, by the time I spotted/realised the problem both the client state and the back-up had been 'updated' to reflect nothing being attached... :(
Image Image
Guest

#5

Post by Guest »

For future reference the solution looks like it should have been:

Sync with Einstein.
Goto Einstein web and merge old computer ID with new computer ID.
Sync with Einstein.
Report completed work.

Unfortunately, by the time I worked this out the work had passed its reply date and therefore wasn't resent as 'missing' work units. :( Ah well, another week lost.
PinkPenguin

#6

Post by PinkPenguin »

Sorry to hear that and certainly didn't think that merging ID's would be the solution.

All I can say is I hope it doesn't happen again... :)
Post Reply Previous topicNext topic

Return to “Help”