Message boards : News : Switch to using SSL (Secure Socket Layer)
Previous · 1 · 2 · 3 · 4 · 5 · 6 . . . 11 · Next
Author | Message |
---|---|
draken_p Send message Joined: 17 Mar 06 Posts: 2 Credit: 3,093,852 RAC: 0 |
I did this by editing the "all_projects_list.xml" in /var/lib/boinc. There's url- and web_url-lines under Rosetta@home section. After that, detached and added the project again in boinctui. Emptied queue first, of course. Seems to be fetching work now ok. |
moucav Send message Joined: 22 Mar 20 Posts: 2 Credit: 909,398 RAC: 0 |
Atualização não permite mais eu rodar o projeto na minha empresa, agora o servidor bloqueia! antes tava rodando perfeito. Fui tentar remover e adicionar o projeto, só fez eu perder 12 trabalhos processados com mais de 70%! |
Terziyski Send message Joined: 11 Apr 20 Posts: 2 Credit: 1,165,438 RAC: 0 |
I tested with several Windows machines, bottom line - you have to empty the task queue first, and then change the URL, to be 100% sure that there's no abandoned tasks in transition. |
funkydude Send message Joined: 15 Jun 08 Posts: 28 Credit: 397,934 RAC: 0 |
Nice progress, I detached, deleted everything to be sure, and added the project again.. But you have missed some things to be fully secure: BOINC/client_state.xml All work uploads insecurely. <upload_url>http ://boinc.bakerlab.org/rosetta_cgi/file_upload_handler</upload_url> BOINC/global_prefs.xml <source_scheduler>http ://bwsrv1.bakerlab.org/rosetta_cgi/cgi</source_scheduler> BOINC/sched_reply_boinc.bakerlab.org_rosetta.xml <url>http ://boinc.bakerlab.org/rosetta_cgi/file_upload_handler</url> BOINC/sched_request_boinc.bakerlab.org_rosetta.xml <source_scheduler>http ://bwsrv1.bakerlab.org/rosetta_cgi/cgi</source_scheduler> EDIT: I added the spaces on purpose because some kind of rewrite rule on the forum is changing my text from http to https. |
sgaboinc Send message Joined: 2 Apr 14 Posts: 282 Credit: 208,966 RAC: 0 |
edit /var/lib/boinc/all_projects_list.xml update url- and web_url-lines under Rosetta@home section. to avoid abandoned tasks stop fetching tasks and let the existing tasks finish and upload, before you start these. and the easier way is to simply suspend delete and setup the project again after the tasks are cleared i took the short cut in my Pi4 edit /var/lib/boinc/account_boinc.bakerlab.org_rosetta.xml <master_url>https://boinc.bakerlab.org/rosetta/</master_url> stop boinc-client service $ sudo systemctl stop boinc-client.service backup /var/lib/boinc/statistics_boinc.bakerlab.org_rosetta.xml e.g. copy that to home directory cp /var/lib/boinc/statistics_boinc.bakerlab.org_rosetta.xml ~ start boinc client service $ sudo systemctl start boinc-client.service oops some tasks abandoned, but it is ok. it fetched a new set of tasks and started running (to avoid this stop fetching tasks and let the existing tasks finish and upload, before you even shutdown boinc-client) if the stats go missing replace that from your backup sudo cp -i ~/statistics_boinc.bakerlab.org_rosetta.xml /var/lib/boinc/ but edit /var/lib/boinc/statistics_boinc.bakerlab.org_rosetta.xml <master_url>https://boinc.bakerlab.org/rosetta/</master_url> and make sure it is owned by boinc sudo chown boinc:boinc /var/lib/boinc/statistics_boinc.bakerlab.org_rosetta.xml restart boinc client again and connect from gui, the stats and graphs should be back |
AndyG Send message Joined: 1 May 20 Posts: 4 Credit: 401,121 RAC: 0 |
Thanks to all above for your replies (assuming they're directed at me). I'll have to go away and work out how to do all this!! As I said I'm a complete newbie to Linux. I'll either have to work out how to stop the client and access the device remotely or work out how to access the files on the card on something else. I won't bother you all with this, worst case it'll probably keep on working using the old url for a while. I'll have fun finding out how to do it when I get time. Thanks again - Andy |
sgaboinc Send message Joined: 2 Apr 14 Posts: 282 Credit: 208,966 RAC: 0 |
the 'graphical gui' way to do that normally is , stop fetching work let the current tasks complete, suspend the project and delete the project. then from the gui add the project again (do not choose from the menu) and use the new url provided https://boinc.bakerlab.org/rosetta or you could edit /var/lib/boinc/all_projects_list.xml mentioned prior if you prefer to select from the menu note if the statistics credit graphs etc matter to you backup the statistics file as posted earlier, at least you would be able to replace it later. |
Falconet Send message Joined: 9 Mar 09 Posts: 353 Credit: 1,227,479 RAC: 917 |
Atualização não permite mais eu rodar o projeto na minha empresa, agora o servidor bloqueia! antes tava rodando perfeito. Se com https não dá, então utilize o url anterior https://boinc.bakerlab.org/rosetta/ Se não deixou as tarefas terminar, ao remover o projecto, todo o trabalho é perdido. |
mikey Send message Joined: 5 Jan 06 Posts: 1895 Credit: 9,169,305 RAC: 3,078 |
Hi, Give it time as you can see by the messages here everyone and his brother is changing right now and the server is probably swamped. Crunch another Project for a few tasks and then come back to Rosetta later on and try again. PrimeGrid for instance has some very short LLR tasks. |
AndyG Send message Joined: 1 May 20 Posts: 4 Credit: 401,121 RAC: 0 |
the 'graphical gui' way to do that normally is , stop fetching work let the current tasks complete, suspend the project and delete the project. I cannot see any option to add a project without using the preset list. I'm going to let the current tasks finish and probably do a new install on the card with another Linux and start again. I don't know how to access the underlying Linux system on the balena image I installed. Cheers - Andy |
PaoloNasca Send message Joined: 13 Jul 19 Posts: 9 Credit: 640,698 RAC: 229 |
I have just done the following steps in my 2 Linux Laptops managed by BAM. Step 1 - Modify the file account_boinc.bakerlab.org_rosetta.xml <master_url>https://boinc.bakerlab.org/rosetta/</master_url> Step 2 - Modify the file all_projects_list.xml <url>https://boinc.bakerlab.org/rosetta/</url> <web_url>https://boinc.bakerlab.org/rosetta/</web_url> Step 3 - Restart boinc manager systemctl restart boinc-client.service I didn't need to remove the projet and attach it again. |
Tomcat雄猫 Send message Joined: 20 Dec 14 Posts: 180 Credit: 5,386,173 RAC: 0 |
I have just done the following steps in my 2 Linux Laptops managed by BAM. Ah, nice. I was wondering whether it was possible to change the URL without re-adding the project, thanks! Since I have a HalfRoid_design5_COVID-19 task running, I guess I'll try it out after that thing gets completed (wouldn't want to get an computational error on that one). |
Multicore Chile Send message Joined: 28 Apr 20 Posts: 1 Credit: 1,759 RAC: 0 |
Thank you very much for your hard work! [/img] |
xotwod Send message Joined: 23 Mar 20 Posts: 5 Credit: 525,974 RAC: 807 |
I think your current work all gets dumped. I think mine did, for 4 cpus. I'm afraid to try it again. This really should be listed in the notice. |
Millenium Send message Joined: 20 Sep 05 Posts: 68 Credit: 184,283 RAC: 0 |
Switch successfully completed here. I completed all my tasks, removed the project and successfully reattached with the new address! |
sgaboinc Send message Joined: 2 Apr 14 Posts: 282 Credit: 208,966 RAC: 0 |
AndyG wrote: the 'graphical gui' way to do that normally is , stop fetching work let the current tasks complete, suspend the project and delete the project. there is a Pi4 thread, there are probably better hints in there for other Pi4 related stuff https://boinc.bakerlab.org/rosetta/forum_thread.php?id=13732 I ran the Raspbian image from www.raspberrypi.org, i'm using that as i think there'd be more support of the Pi4 including some of the proprietary features of the Broadcom soc |
Bryn Mawr Send message Joined: 26 Dec 18 Posts: 393 Credit: 12,110,248 RAC: 4,484 |
Hi, Are you adding as a new user? You should be adding as an existing user :-) |
Davissimo Send message Joined: 10 Oct 08 Posts: 1 Credit: 3,131,635 RAC: 1,483 |
I have just adjusted my computer to the new URL. I was not sure about removing Rosetta as the first step but since that's all the instruction that was given, I did it. Upon resuming I logged in and saw in statistics that 6 tasks were listed as "Abandoned". That seems wasteful. I am not a super computer geek and would not have known that such steps would have done this. There is great pride in running my machine 24/7 to do as much work as possible for this worthy cause. Please be more informative in future requests. Thank you. |
JohnDK Send message Joined: 6 Apr 20 Posts: 33 Credit: 2,390,240 RAC: 0 |
I have just done the following steps in my 2 Linux Laptops managed by BAM. Tried that on a win10 host, except I didn't use step 2. BOINC deleted all 5 WUs I had in cache and downloaded 3 new, without any url message, so it works now anyway. Guess I won't try that on my 3 other hosts :) |
Millenium Send message Joined: 20 Sep 05 Posts: 68 Credit: 184,283 RAC: 0 |
I have just adjusted my computer to the new URL. I was not sure about removing Rosetta as the first step but since that's all the instruction that was given, I did it. Upon resuming I logged in and saw in statistics that 6 tasks were listed as "Abandoned". That seems wasteful. I am not a super computer geek and would not have known that such steps would have done this. There is great pride in running my machine 24/7 to do as much work as possible for this worthy cause. Please be more informative in future requests. Thank you. BOINC itself tells you that all running WUs will be lost if you remove a project. Anyway that is a thing you will never have to do again, so well, it's ok! |
Message boards :
News :
Switch to using SSL (Secure Socket Layer)
©2024 University of Washington
https://www.bakerlab.org