climateprediction.net (CPDN) home page
Thread 'Changing of Linux Distro & BOINC version'

Thread 'Changing of Linux Distro & BOINC version'

Questions and Answers : Unix/Linux : Changing of Linux Distro & BOINC version
Message board moderation

To post messages, you must log in.

AuthorMessage
old_user203155

Send message
Joined: 16 Oct 06
Posts: 11
Credit: 40,280
RAC: 0
Message 28345 - Posted: 1 May 2007, 19:55:08 UTC

Hello,

I\'ve a problem with my distro and since it\'s a little old, I\'ve decided to install another one from scratch. Doing that, I\'ll also install the latest BOINC version.

I\'ve one CPDN run that I wouldn\'t like to discard. The question: Is it enough to backup the project\'s folder under BOINC/projects and restore it in the new distro\'s new BOINC version\'s project folder? Will it be automaticaly recognized and restart the work from where it was left?

Thanx!
ID: 28345 · Report as offensive     Reply Quote
Les Bayliss
Volunteer moderator

Send message
Joined: 5 Sep 04
Posts: 7629
Credit: 24,240,330
RAC: 0
Message 28348 - Posted: 1 May 2007, 20:23:32 UTC

EVERYTHING has to be backed up, starting with the BOINC folder.
There are files in lots of places which are important, not just in the project\'s folder.


Backups: Here
ID: 28348 · Report as offensive     Reply Quote
old_user203155

Send message
Joined: 16 Oct 06
Posts: 11
Credit: 40,280
RAC: 0
Message 28369 - Posted: 2 May 2007, 7:18:58 UTC - in response to Message 28348.  
Last modified: 2 May 2007, 7:19:55 UTC

EVERYTHING has to be backed up, starting with the BOINC folder.


Ok, so I\'ll back up the whole thing. But then, as I would like to get the latest version, should I unpack it over the old files? is that safe?
ID: 28369 · Report as offensive     Reply Quote
Les Bayliss
Volunteer moderator

Send message
Joined: 5 Sep 04
Posts: 7629
Credit: 24,240,330
RAC: 0
Message 28372 - Posted: 2 May 2007, 8:51:57 UTC

Yes, it will only overwrite the old version of BOINC, not the project files.


Backups: Here
ID: 28372 · Report as offensive     Reply Quote
old_user203155

Send message
Joined: 16 Oct 06
Posts: 11
Credit: 40,280
RAC: 0
Message 28557 - Posted: 10 May 2007, 0:35:29 UTC
Last modified: 10 May 2007, 0:37:21 UTC

Hi!

I\'ve finally got the time to do it. I\'ve backed up everything. Then, since I wanted to install the repository version (yes yes, I know, but I insist... automatic updates, pretty fonts in the boinc manager, it\'s already configured to start at boot with a dedicated username, etc.), I\'v done it and looked for the data folder. It\'s in /var/lib/boinc-client/ and it had some files:

/var/lib/boinc-client$ ls -l
total 12
-rw-r--r-- 1 boinc boinc 1858 2007-05-10 01:45 client_state_prev.xml
-rw-r--r-- 1 boinc boinc 1858 2007-05-10 01:45 client_state.xml
lrwxrwxrwx 1 root root 43 2007-05-10 01:47 global_prefs_override.xml -> /etc/boinc-client/global_prefs_override.xml
lrwxrwxrwx 1 root root 34 2007-05-10 01:47 gui_rpc_auth.cfg -> /etc/boinc-client/gui_rpc_auth.cfg
-rw-r--r-- 1 boinc boinc 0 2007-05-10 01:45 lockfile
lrwxrwxrwx 1 root root 31 2007-05-10 01:47 log_flags.xml -> /etc/boinc-client/log_flags.xml
lrwxrwxrwx 1 root root 34 2007-05-10 01:48 remote_hosts.cfg -> /etc/boinc-client/remote_hosts.cfg
-rw-r--r-- 1 boinc boinc 0 2007-05-10 01:45 stderrdae.txt
-rw-r--r-- 1 boinc boinc 2806 2007-05-10 01:45 stdoutdae.txt

then I\'ve overwritten that with the following from the backup:

account_climateprediction.net.xml
client_state_prev.xml
client_state.xml
create_account.xml
get_current_version.xml
get_project_config.xml
global_prefs.xml
gui_rpc_auth.cfg
lockfile
master_climateprediction.net.xml
projects/*
sched_reply_climateprediction.net.xml
sched_request_climateprediction.net.xml
slots/*
statistics_climateprediction.net.xml
stderrdae.txt
stdoutdae.txt

leaving these out (this files where in the backup, but I didn\'t copy them to the new boinc folder):

binstall.sh
boinc
boinc_cmd
boincmgr
boincmgr.16x16.png
boincmgr.32x32.png
boincmgr.8x8.png
locale
lookup_website.html
run_client
run_manager

Then I\'ve started the boinc manager, and found the following:

- The project climateprediction.net IS in the tab \"Projects\".
- The \"Task\" and \"Transfers\" tabs are empty.
- The \"Statistics\" tab show my statistics correctly (31363.2h!!!).
- The \"Disk\" shows the project with 29.04 MBs
and...
- The \"Messages\" tab shows a familiar start, but then it starts complaining like this:

Thu 10 May 2007 02:00:45 AM CEST|climateprediction.net|Scheduler request to http://climateapps2.oucs.ox.ac.uk/cpdnboinc_cgi/cgi failed: system fopen
Thu 10 May 2007 02:00:45 AM CEST|climateprediction.net|Deferring scheduler requests for 1 minutes and 0 seconds

Also, the project shows Status: Scheduler request pending, Communication deferred 00:16:29

What can be happening?

Thanx in advance!
ID: 28557 · Report as offensive     Reply Quote
old_user203155

Send message
Joined: 16 Oct 06
Posts: 11
Credit: 40,280
RAC: 0
Message 28559 - Posted: 10 May 2007, 0:40:02 UTC

I was going to forget this...

This is a related post that doesn\'t solve my problem but may solve someone elses:

http://www.climateprediction.net/board/viewtopic.php?=&p=47290

Hope to help!
ID: 28559 · Report as offensive     Reply Quote
old_user203155

Send message
Joined: 16 Oct 06
Posts: 11
Credit: 40,280
RAC: 0
Message 28578 - Posted: 10 May 2007, 19:45:57 UTC - in response to Message 28559.  
Last modified: 10 May 2007, 19:52:22 UTC

DUH!!

I\'ve forgot to chown boinc:boinc the files. That\'s why it couldn\'t do fopen.

I\'ve deleted and restored again (this time changed owner/group) and I feel a little closer... Now the client wont complain about anything, the \"Disk\" tab shows 452.53 MBs used (more realistic than 29 MBs), and I can see the \"Work done\" and \"Avg. work done\" entries in the \"Projects\" tab correctly (I think before it only showed 0s).

Then, in the \"Tasks\" tab appeared a new task (not the one I was running) so I did everything to stop it and prevent it from getting new tasks... cancelled like 15 downloads and everything :-P

Now that task doesn\'t show anymore (ok) but my original task stills not appearing. By looking to my Results in the web, I\'m shure this is the one:

Result ID 6002113
Work unit ID 5742023
Computer 656556

Thanx in advance!
ID: 28578 · Report as offensive     Reply Quote
old_user203155

Send message
Joined: 16 Oct 06
Posts: 11
Credit: 40,280
RAC: 0
Message 28584 - Posted: 10 May 2007, 23:10:18 UTC - in response to Message 28578.  

Ok I declare myself defeated...

I\'ve done what Les B. said since the beginning.

I\'ve uninstalled everything that came from the repository, unpacked my backup from my old system and installed the new version of Boinc over it, so it replaces the old executables.

That\'s it, it\'s up and running smoothly!!

Thanx Les.
ID: 28584 · Report as offensive     Reply Quote

Questions and Answers : Unix/Linux : Changing of Linux Distro & BOINC version

©2024 cpdn.org