Message from Boinc: This project is using an old URL
log in

Advanced search

Message boards : Science : Message from Boinc: This project is using an old URL

1 · 2 · Next
Author Message
vdvogt
Send message
Joined: 10 Jan 16
Posts: 38
Credit: 1,090,698,551
RAC: 0
Message 22463 - Posted: 27 May 2016, 12:00:42 UTC

Hi all,
I just got this message from Boinc:

Fr 27 Mai 2016 11:54:33 UTC | Collatz Conjecture | This project is using an old URL. When convenient, remove the project, then add https://boinc.thesonntags.com/collatz/

Is it possible to fix that without removing Collatz first and reinstalling it thereafter.
By doing this procedure there would get lost a lot of tasks.

regards
Veit

Profile James Lee*
Avatar
Send message
Joined: 10 Sep 15
Posts: 27
Credit: 4,284,523,040
RAC: 1,317,793
Message 22465 - Posted: 27 May 2016, 15:22:38 UTC

I put in "no new tasks" for the project and will let them run out. Then I'm going to try the removal and re-add. Just hoping it doesn't screw up my config files, etc. I'll let you know in a few hours.
____________

Captiosus
Send message
Joined: 13 Apr 16
Posts: 1
Credit: 10,774,883
RAC: 13,333
Message 22467 - Posted: 27 May 2016, 17:35:45 UTC

They need to send a message to BoincStats to get them to update the project URL, because thats not helping either.

Matt Kowal
Avatar
Send message
Joined: 21 Mar 14
Posts: 34
Credit: 674,081,253
RAC: 458,681
Message 22468 - Posted: 27 May 2016, 19:07:53 UTC

I just made the change and can confirm that, at least on Windows 10, removing the project results in deletion of all files in the project folder.

Backup your config files before proceeding with the URL switch.
____________

Profile James Lee*
Avatar
Send message
Joined: 10 Sep 15
Posts: 27
Credit: 4,284,523,040
RAC: 1,317,793
Message 22469 - Posted: 27 May 2016, 21:02:32 UTC

OK, after I let my queued jobs finish, I did the remove project and added it back in. And Matt was right, it removed all the files. I had made a backup, so I just copied app_config.xml and collatz_sieve1.21_windows_x86_64_opencl_nvidia_gpu.config files back to the "old" now "new" collatz area. Brought down Boinc, and restarted for my old, but good, parameters to take effect again. They should have commented about this somewhere, but I did not see it. If you have an AMD processor or GPU, your old files to be copied back will be named accordingly.
____________

Matt Kowal
Avatar
Send message
Joined: 21 Mar 14
Posts: 34
Credit: 674,081,253
RAC: 458,681
Message 22470 - Posted: 28 May 2016, 2:02:22 UTC - in response to Message 22469.

Windoes AMD file is named collatz_sieve_1.21_windows_x86_64__opencl_amd_gpu.config

If you had an app_config.xml file the short name is <name>collatz_sieve</name>
Example....

<app_config>
<app>
<name>collatz_sieve</name>
<gpu_versions>
<gpu_usage>1</gpu_usage>
<cpu_usage>1</cpu_usage>
</gpu_versions>
</app>
</app_config>

I've been running mine with a full cpu core reserved because it helps keep the other BOINC projects in line eg. 1core 1gpu WU Collatz AMD7970, 1 core 2gpu WUs Primegrid GTX760, 2cpu Numberfields@home. Keeps the GPUs fully loaded and the cpu at ~89%. With the default setting it would try to run 3 Numberfields WUs which would slowing down the Collatz process.
____________

Brent
Send message
Joined: 25 Jun 14
Posts: 38
Credit: 182,100,565
RAC: 223,718
Message 22471 - Posted: 28 May 2016, 4:34:19 UTC

Since it will never be "convenient" what is the impact if I never replace the project?
____________
Brent
Link to website
See BOINC Stats

Profile Brian Uitti
Avatar
Send message
Joined: 27 Jan 11
Posts: 1
Credit: 2,102,267
RAC: 0
Message 22472 - Posted: 28 May 2016, 5:16:42 UTC

DONE! .. except for Raspberry Pi machines. :-(
.. (My Pi Zero is going to be a project.. it's Raspbian Lite.. no GUI.
.. Hello, boinccmd ..
.. but why was this needed? ;-\

I comply!

vdvogt
Send message
Joined: 10 Jan 16
Posts: 38
Credit: 1,090,698,551
RAC: 0
Message 22474 - Posted: 28 May 2016, 9:27:56 UTC

Hi,
would it be not much easier to edit the file /var/lib/boinc-client/master_boinc.thesonntags.com_collatz.xml

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>
<head>
<title>Collatz Conjecture</title>
<link rel="stylesheet" type="text/css" href="main.css" media="all" />
<link rel="stylesheet" type="text/css" href="white.css">
<link rel="alternate" type="application/rss+xml" title="Collatz Conjecture RSS 2.0" href="http://boinc.thesonntags.com/collatz/rss_main.php">
<!-- <scheduler>http://boinc.thesonntags.com/collatz_cgi/cgi</scheduler> -->
<link rel="boinc_scheduler" href="http://boinc.thesonntags.com/collatz_cgi/cgi">

</head><body>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Header -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-8085467507827318"
data-ad-slot="6444766310"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-69149835-1', 'auto');
ga('send', 'pageview');
</script>
<div class='page_title' style='vertical-align:center;'>
<img src='img/210pxCollatzFractal.png' alt='logo' height='35px' />&#160;
Collatz Conjecture
</div>

<title>Project is down</title>
<h1>Project is down</h1>
The project's database server is down.
Please check back in a few hours.

and to replace http://boinc.thesonntags.com
by https://boinc.thesonntags.com

and restart Boinc.

regards
Veit

Profile Raspberry Pi - Brian
Avatar
Send message
Joined: 23 Nov 15
Posts: 4
Credit: 135,689
RAC: 0
Message 22478 - Posted: 28 May 2016, 19:10:58 UTC - in response to Message 22474.
Last modified: 28 May 2016, 19:12:16 UTC

Hi,
would it be not much easier to edit the file
/var/lib/boinc-client/master_boinc.thesonntags.com_collatz.xml
...
...
and to replace http://boinc.thesonntags.com
by https://boinc.thesonntags.com

and restart Boinc.

regards
Veit


I got some workunits to run out... but that looks like it will work.
yeah, much easier.
Thanks!
I'll post my success.

Cheers.
// Brian
(from my separate Raspberry Pi account)
____________
Expanding the edge of Science.

Profile Raspberry Pi - Brian
Avatar
Send message
Joined: 23 Nov 15
Posts: 4
Credit: 135,689
RAC: 0
Message 22481 - Posted: 29 May 2016, 14:24:55 UTC - in response to Message 22474.

apparently, this is not enough.... the error still appears after the edits and restart of boinc.
In the same way, I also edited the file
/var/lib/boinc-client/all_projects_list.xml
and restarted boinc.. and the error remained..

then I edited the file (stopping boinc between each edit)
/var/lib/boinc-client/account_boinc.thesonntags.com_collatz.xml
restarted boinc and the project got reset and gave me a workunit.
(the "no new work" flag got flipped by the restart)

I got an odd message: "File micro_collatz_6.01_arm-unknown-linux-gnueabihf exists already, skipping download", but I suppose that it just means that the programs were already present during the project reset. (through the "accepted" approach to a project reset, the "remove" step would have deleted the program and the subsequent "add" would had downloaded the code again.)

a manual reset of a project is not a desired result. Did I miss anything else?
(Not real keen on having doubts that the project is configured properly.)
On the positive side: the "update your URL" message seems to has been cleared.

Cheers!

// Brian

Hi,
would it be not much easier to edit the file /var/lib/boinc-client/master_boinc.thesonntags.com_collatz.xml

....

and to replace http://boinc.thesonntags.com
by https://boinc.thesonntags.com

and restart Boinc.

regards
Veit

Profile Slicker
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 11 Jun 09
Posts: 2525
Credit: 740,580,099
RAC: 1
Message 22485 - Posted: 29 May 2016, 23:18:49 UTC

Obviously, the "fixes" to make the project more secure (for the paranoid among us) has backfired. I can either
a) leave it as is
b) change the download URL to also be https
c) change it back to use http (non-SSL) except for the login page

Thoughts? Comments?

Profile Raspberry Pi - Brian
Avatar
Send message
Joined: 23 Nov 15
Posts: 4
Credit: 135,689
RAC: 0
Message 22486 - Posted: 30 May 2016, 0:01:34 UTC - in response to Message 22485.

Obviously, the "fixes" to make the project more secure (for the paranoid among us) has backfired. I can either
a) leave it as is
b) change the download URL to also be https
c) change it back to use http (non-SSL) except for the login page

Thoughts? Comments?


If we were to go "democratically", then I would "vote" for going forward (since I'm down to just one more computer to convert)

My final computer is the commandline boinc (Raspberry Pi Zero), while it's less of a "no brainer" as compared to the GUI setups, it's not that difficult. .. Although, I suggest using the boinccmd approach rather than "hack" the xml files.

boinccmd Reference page:
https://boinc.berkeley.edu/wiki/Boinccmd_tool

Steps to take with boinccmd:

1. get your Account Key from your Collatz account page
2. set your operation to "nomorework"
3. wait for current workunits to end and upload
4. execute operation "detach"
5. attach with new URL and your account key.

Give us the green light and I'll convert my last machine!

Cheers!

// Brian

vdvogt
Send message
Joined: 10 Jan 16
Posts: 38
Credit: 1,090,698,551
RAC: 0
Message 22498 - Posted: 31 May 2016, 17:57:14 UTC

Hi,
does anybody know in which boinc file is stored the main project URL?
I guess that is the file to change.

I had searched some files concerning to Collatz but did not found the right one.

Any suggestions?

regards
Veit

Matt Kowal
Avatar
Send message
Joined: 21 Mar 14
Posts: 34
Credit: 674,081,253
RAC: 458,681
Message 22499 - Posted: 31 May 2016, 22:18:37 UTC - in response to Message 22485.

Obviously, the "fixes" to make the project more secure (for the paranoid among us) has backfired. I can either
a) leave it as is
b) change the download URL to also be https
c) change it back to use http (non-SSL) except for the login page

Thoughts? Comments?



I'm favor of option b) change the download URL to also be https
____________

vdvogt
Send message
Joined: 10 Jan 16
Posts: 38
Credit: 1,090,698,551
RAC: 0
Message 22502 - Posted: 1 Jun 2016, 9:50:58 UTC

Hi,
I just made the test an changed http to https in /var/lib/boinc-client/account_boinc.thesonntags.com_collatz.xml in the line master _URL with disastrous consequences!

DON'T DO THAT!

I lost all my tasks and had to detach the project and to reinstall it.

I think the proposed procedure of let running out the tasks, detach and attach Collatz is the least dangerous way.

regards
Veit

KSMarksPsych
Avatar
Send message
Joined: 17 Jun 09
Posts: 391
Credit: 1,665,585
RAC: 0
Message 22506 - Posted: 1 Jun 2016, 16:20:30 UTC - in response to Message 22502.

Hi,
I just made the test an changed http to https in /var/lib/boinc-client/account_boinc.thesonntags.com_collatz.xml in the line master _URL with disastrous consequences!

DON'T DO THAT!

I lost all my tasks and had to detach the project and to reinstall it.

I think the proposed procedure of let running out the tasks, detach and attach Collatz is the least dangerous way.

regards
Veit



I too think this is the best option. You just have to be aware when you reattach, to change the URL in the attach project dialog. Unless that's been fixed too. I'm pretty sure you need to contact DA to get that done.
____________
~Kathryn~

vdvogt
Send message
Joined: 10 Jan 16
Posts: 38
Credit: 1,090,698,551
RAC: 0
Message 22509 - Posted: 1 Jun 2016, 23:59:05 UTC

Hi Kathryn,
when I attached Collatz with Boinc Manager, http was already changed to https which is the new master project URL.

regards
Veit

Profile Raspberry Pi - Brian
Avatar
Send message
Joined: 23 Nov 15
Posts: 4
Credit: 135,689
RAC: 0
Message 22527 - Posted: 6 Jun 2016, 6:28:32 UTC

Curiously, I spoke to another user earlier today, and he was not aware of the change in URL.

Going into more detail from my prior post:

Updating a project URL using boinccmd:
Linux users can verify your URL using the commandline:

sudo boinccmd --get_project_urls

If you need to update it, use the BOINC Manager if you have a GUI otherwise use these steps:

1. Get your Account Key from your Collatz account page
2. Stop getting workunits (set your operation to "nomorework")
sudo boinccmd --project http://boinc.thesonntags.com/collatz/ nomorework

3. Wait for workunits are completed and have been fully uploaded.
4. Remove the project (execute operation "detach")
sudo boinccmd --project http://boinc.thesonntags.com/collatz/ detach

5. Attach the project with the new URL and your account key
sudo boinccmd --project_attach https://boinc.thesonntags.com/collatz/ <your Collatz account key goes here>


Either way, if you don't let your current workunits to complete and post, then the work will be lost.

Cheers!

// Brian

Brent
Send message
Joined: 25 Jun 14
Posts: 38
Credit: 182,100,565
RAC: 223,718
Message 22533 - Posted: 7 Jun 2016, 5:45:16 UTC - in response to Message 22471.
Last modified: 7 Jun 2016, 5:46:38 UTC

Bump

Since it will never be "convenient" what is the impact if I never replace the project?
____________
Brent
Link to website
See BOINC Stats

1 · 2 · Next
Post to thread

Message boards : Science : Message from Boinc: This project is using an old URL


Main page · Your account · Message boards


Copyright © 2018 Jon Sonntag; All rights reserved.