BOINC Manager not showing tasks

Message boards : Questions and problems : BOINC Manager not showing tasks
Message board moderation

To post messages, you must log in.

AuthorMessage
Jave Ivanovski
Avatar

Send message
Joined: 23 May 09
Posts: 38
Australia
Message 103167 - Posted: 23 Feb 2021, 22:06:49 UTC

Hi
Recently joined QuChemPedIA project to help my team in a crunching challenge.

My PC fits the criteria - Linux Mint 20.1 and BOINC 7.16.16 from a PPA - BUT I have now discovered that the PPA version 7.16.16 produces dud results!

So to fix I removed the old version. Removed the PPA from my sources list. Installed new version from the apt repository (7.16.6)

ALL is well, "top" command shows 16 boinc commands crunching away at 100% CPU. BUT when I start BOINC Manager - no tasks/projects are shown.

Can anyone help?
ID: 103167 · Report as offensive
Profile Keith Myers
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 17 Nov 16
Posts: 863
United States
Message 103173 - Posted: 24 Feb 2021, 0:50:40 UTC - in response to Message 103167.  
Last modified: 24 Feb 2021, 0:51:03 UTC

Your client is working obviously. Do you see a connected to localhost message in the bottom Manager status bar?
ID: 103173 · Report as offensive
Jave Ivanovski
Avatar

Send message
Joined: 23 May 09
Posts: 38
Australia
Message 103178 - Posted: 24 Feb 2021, 4:04:58 UTC - in response to Message 103173.  

Nope, says it's disconnected.
ID: 103178 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2516
United Kingdom
Message 103182 - Posted: 24 Feb 2021, 7:42:20 UTC - in response to Message 103178.  

If manager is disconnected it won't show any tasks. Try exiting the manager and then go to /var/lib/boinc-client in a terminal and executing
./run_manager
from there. If it still doesn't connect you should get a message in the terminal that will give some hints as to what is going on.
ID: 103182 · Report as offensive
Jave Ivanovski
Avatar

Send message
Joined: 23 May 09
Posts: 38
Australia
Message 103183 - Posted: 24 Feb 2021, 8:39:57 UTC - in response to Message 103182.  

All good. A friend from the BOINC@AUSTRALIA forum pointed me in the right direction...

Open "File|Select Computer". Enter localhost and password from gui_rpc_auth.cfg file in /etc/boinc-client. All good! I can see my tasks again!
ID: 103183 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2516
United Kingdom
Message 103184 - Posted: 24 Feb 2021, 8:51:08 UTC - in response to Message 103183.  
Last modified: 24 Feb 2021, 8:53:04 UTC

All good. A friend from the BOINC@AUSTRALIA forum pointed me in the right direction...

Open "File|Select Computer". Enter localhost and password from gui_rpc_auth.cfg file in /etc/boinc-client. All good! I can see my tasks again!

The saga of the changes to increase security carries on. I remain unconvinced that forcing users to either use root privileges/sudo even if only to open a file and find a password actually helps security at all at least on a home system. Clearly there may be reasons to stop the person sitting in front of a work computer from running things as they want.
ID: 103184 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5077
United Kingdom
Message 103185 - Posted: 24 Feb 2021, 9:11:55 UTC

The other, more permanent, way of fixing this is to add the owner to the boinc security group:

sudo usermod -a -G boinc ownername
And reboot
ID: 103185 · Report as offensive
Bryn Mawr
Help desk expert

Send message
Joined: 31 Dec 18
Posts: 284
United Kingdom
Message 103219 - Posted: 25 Feb 2021, 16:21:13 UTC - in response to Message 103185.  

The other, more permanent, way of fixing this is to add the owner to the boinc security group:

sudo usermod -a -G boinc ownername
And reboot


A cautionary tale, never try to perform updates from memory when your memory is as bad as mine.

I’ve just spent an interesting hour or so recovering my system having entered the above command and missing out the -a.

So instead of appending Boinc to the list of groups my user was a member of it replaced that list with just Boinc. The sole user on the machine was therefore no longer admin and had no sudo permissions.

It turned out that the root user is disabled by default in Ubuntu so I had no way to correct the problem.

I tried booting into a live session from usb but the system is too clever for that, it still would not give me access to system files.

I eventually managed to get into recovery mode once I worked out that the grub access key has changed from space to esc since last I used it. From there I checked the sudoers file thinking to add myself to the list but that was identical to my working system. Then I looked into the groups file and that’s where the changes had been made. It turns out that they don’t hold a list of groups you are part of and append new entries, it works the other way round and the entry for each group has a list of all subsidiary groups so I had to add my user to half a dozen entries (guided by the groups file on the working system).

I now know a lot more about the inner workings of group permissions but I’ll never make that mistake again - until the next time my memory goes awol :-)
ID: 103219 · Report as offensive
Profile Keith Myers
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 17 Nov 16
Posts: 863
United States
Message 103223 - Posted: 25 Feb 2021, 18:23:07 UTC

Oooof, hard lesson to learn. Thanks for the cautionary tale.
ID: 103223 · Report as offensive
Jave Ivanovski
Avatar

Send message
Joined: 23 May 09
Posts: 38
Australia
Message 103240 - Posted: 26 Feb 2021, 11:30:37 UTC - in response to Message 103185.  

This worked. Thanks!
ID: 103240 · Report as offensive
Jave Ivanovski
Avatar

Send message
Joined: 23 May 09
Posts: 38
Australia
Message 103241 - Posted: 26 Feb 2021, 11:32:00 UTC - in response to Message 103219.  

The other, more permanent, way of fixing this is to add the owner to the boinc security group:

sudo usermod -a -G boinc ownername
And reboot


A cautionary tale, never try to perform updates from memory when your memory is as bad as mine.

I’ve just spent an interesting hour or so recovering my system having entered the above command and missing out the -a.

So instead of appending Boinc to the list of groups my user was a member of it replaced that list with just Boinc. The sole user on the machine was therefore no longer admin and had no sudo permissions.

It turned out that the root user is disabled by default in Ubuntu so I had no way to correct the problem.

I tried booting into a live session from usb but the system is too clever for that, it still would not give me access to system files.

I eventually managed to get into recovery mode once I worked out that the grub access key has changed from space to esc since last I used it. From there I checked the sudoers file thinking to add myself to the list but that was identical to my working system. Then I looked into the groups file and that’s where the changes had been made. It turns out that they don’t hold a list of groups you are part of and append new entries, it works the other way round and the entry for each group has a list of all subsidiary groups so I had to add my user to half a dozen entries (guided by the groups file on the working system).

I now know a lot more about the inner workings of group permissions but I’ll never make that mistake again - until the next time my memory goes awol :-)


Ouch. That's why I also copy and paste, then amend. Not totally foolproof but it saves me relying on my memory.
ID: 103241 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2516
United Kingdom
Message 103243 - Posted: 26 Feb 2021, 12:07:40 UTC

Ouch. That's why I also copy and paste, then amend. Not totally foolproof but it saves me relying on my memory.


I have root set up on my Ubuntu machines just in case I need it. Haven't needed it to date but know I very well might at some point.
ID: 103243 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5077
United Kingdom
Message 103244 - Posted: 26 Feb 2021, 12:19:33 UTC - in response to Message 103241.  

Ouch. That's why I also copy and paste, then amend. Not totally foolproof but it saves me relying on my memory.
Trouble is, copy'n'paste with incomplete edit can be even worse...

#3249 fixes #3247.
ID: 103244 · Report as offensive

Message boards : Questions and problems : BOINC Manager not showing tasks

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.