Thread 'BOINC Manager autostarts but doesn't find work or projects'

Message boards : Questions and problems : BOINC Manager autostarts but doesn't find work or projects
Message board moderation

To post messages, you must log in.

AuthorMessage
Zeiss Ikon

Send message
Joined: 2 Jul 17
Posts: 43
United States
Message 115325 - Posted: 1 Feb 2025, 15:56:55 UTC

I've recently (2 weeks) switched from Kubuntu 22.04.5 to Debian KDE 12.9 on my desktop computer (Gigabyte 97 series MB, FX8350 8 cores/threads, 4.1 GHz, 32 GB RAM, nVidia RTx2070, nVidia 535 drivers on X11).

BOINC (manager 8.0.2 from the BOINC repository, Milkyway CPU, Einstein GPU) runs fine, except that when I restart with BOINC in my autostart, the BOINC manager opens without connecting to work storage or projects (no projects listed, show 0 storage available/used). I can see from Conky reporting near-zero CPU usage that no crunching is taking place in the background, and htop reports five boincmgr processes but no other BOINC related activity. If I Exit BOINC Manager and relaunch it from any of my links or from terminal, it comes up correctly with the two projects, their task lists, statistics, and correct reportage of the dedicated partition where I store the work.

Previously in Kubuntu, autostart worked as I'd expect (and had done since last BOINC reinstall); on logging into Plasma, BOINC Manager would open showing the last tab I'd looked at and immediately begin crunching.

What do I need to look for to get the autostarted BOINC to connect and start work on its own?
ID: 115325 · Report as offensive     Reply Quote
ProfileVitalii Koshura
Volunteer developer
Help desk expert
Avatar

Send message
Joined: 29 Mar 17
Posts: 62
Germany
Message 115326 - Posted: 1 Feb 2025, 17:22:46 UTC - in response to Message 115325.  

By default BOINC client runs as a service.
When you run it manually, it starts from your user.
If you want service to pickup your user location, go to /etc/default/boinc-client and set path to your BOINC Data directory.
Then do the restart.
BOINC maintainer.
For any insight, check my BOINC Development Blog.
ID: 115326 · Report as offensive     Reply Quote
Zeiss Ikon

Send message
Joined: 2 Jul 17
Posts: 43
United States
Message 115339 - Posted: 2 Feb 2025, 11:04:14 UTC - in response to Message 115326.  
Last modified: 2 Feb 2025, 11:26:25 UTC

My autostart had --boincdir=/var/lib/boinc already, but I removed that and tried uncommenting the BOINCDIR line (pointing to the same location) in /etc/default/boinc-client -- with no change.

Given I have a separate partition mounted as /var/lib/boinc, I wonder if it's not a case of BOINC Manager starting too quickly, before the OS has time to mount that partition? FWIW, even when I start BOINC Manager the second time, it'll take 3-4 seconds before it finds and displays the work partition (but if I don't close and reopen it, it'll sit there for at least a few minutes).

Supporting this as a possibility, I just rebooted while I was in the kitchen getting some tea, and when I logged into Plasma BOINC Manager opened correctly.
ID: 115339 · Report as offensive     Reply Quote
ProfileDave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2838
United Kingdom
Message 115340 - Posted: 2 Feb 2025, 11:22:57 UTC - in response to Message 115339.  

The manager is just a gui to control the client. If on autostart, I am pretty certain there is a way to introduce a delay in starting the client to give the system time to mount the partition if that is the issue.
ID: 115340 · Report as offensive     Reply Quote
Zeiss Ikon

Send message
Joined: 2 Jul 17
Posts: 43
United States
Message 115341 - Posted: 2 Feb 2025, 11:28:43 UTC - in response to Message 115340.  
Last modified: 2 Feb 2025, 11:44:56 UTC

In reply to Dave's message of 2 Feb 2025:
The manager is just a gui to control the client. If on autostart, I am pretty certain there is a way to introduce a delay in starting the client to give the system time to mount the partition if that is the issue.


I was just thinking about this -- and letting the restarted machine sit for five minutes at the login screen caused BOINC Manager to start normally. It looks like I only need a few (maybe 10?) seconds. I'll try inserting a short sleep in the autostart command.

I opened ~/.config/autostart/boinc.desktop and changed to EXEC= sh -c 'sleep 10 && boincmgr' with the BOINCDIR=/var/lib/boinc uncommented in /etc/default/boinc-client -- and rebooted. BOINC Manager started up after the specified delay and correctly found the work and started the client.
ID: 115341 · Report as offensive     Reply Quote
Zeiss Ikon

Send message
Joined: 2 Jul 17
Posts: 43
United States
Message 115406 - Posted: 9 Feb 2025, 21:29:03 UTC - in response to Message 115341.  

Following up, this fixed the issue, and the same fix also corrected Conky failing to start after applying this fix to BOINC Manager.
ID: 115406 · Report as offensive     Reply Quote

Message boards : Questions and problems : BOINC Manager autostarts but doesn't find work or projects

Copyright © 2025 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.