Questions and Answers : Unix/Linux : Changing of Linux Distro & BOINC version
Message board moderation
Author | Message |
---|---|
Send message Joined: 16 Oct 06 Posts: 11 Credit: 40,280 RAC: 0 |
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! |
Send message Joined: 5 Sep 04 Posts: 7629 Credit: 24,240,330 RAC: 0 |
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 |
Send message Joined: 16 Oct 06 Posts: 11 Credit: 40,280 RAC: 0 |
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? |
Send message Joined: 5 Sep 04 Posts: 7629 Credit: 24,240,330 RAC: 0 |
|
Send message Joined: 16 Oct 06 Posts: 11 Credit: 40,280 RAC: 0 |
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! |
Send message Joined: 16 Oct 06 Posts: 11 Credit: 40,280 RAC: 0 |
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! |
Send message Joined: 16 Oct 06 Posts: 11 Credit: 40,280 RAC: 0 |
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! |
Send message Joined: 16 Oct 06 Posts: 11 Credit: 40,280 RAC: 0 |
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. |
©2024 cpdn.org