BOINC-AUSTRALIA FORUM

Members Only => ALL ABOUT HARDWARE => ALL THINGS LINUX => Topic started by: shift on March 15, 2021, 11:49:03 AM

Title: Ah I think I killed my boinc install
Post by: shift on March 15, 2021, 11:49:03 AM
So ... I was trying to get project cc_config files working on ubuntu so that I could tell certain projects to only ever use one core. Found these instructions (http://forum.boinc-australia.net/index.php?topic=861) and tried to follow them, they didn't seem to give me access to the project folders so I tried following some other instructions (https://askubuntu.com/questions/1013528/how-set-read-and-write-permissions-for-a-directory) to set the entire folder to r+w permissions which gave me a bunch of error messages implying I was denied from doing that.

Then I noticed everything in the boinc manager app had disappeared, after restarting the computer I can't even open boinc manager anymore.

Can anyone suggest what to do? Just reinstall boinc and forget about all the tasks that were in my queue? or is there something I can do to fix whatever problem I have caused by being a noob?
Title: Re: Ah I think I killed my boinc install
Post by: jave808 on March 15, 2021, 01:23:53 PM
Quote from: shift on March 15, 2021, 11:49:03 AM
So ... I was trying to get project cc_config files working on ubuntu so that I could tell certain projects to only ever use one core. Found these instructions (http://forum.boinc-australia.net/index.php?topic=861) and tried to follow them, they didn't seem to give me access to the project folders so I tried following some other instructions[\url] to set the entire folder to r+w permissions which gave me a bunch of error messages implying I was denied from doing that.

Then I noticed everything in the boinc manager app had disappeared, after restarting the computer I can't even open boinc manager anymore.

Can anyone suggest what to do? Just reinstall boinc and forget about all the tasks that were in my queue? or is there something I can do to fix whatever problem I have caused by being a noob?
(https://askubuntu.com/questions/1013528/how-set-read-and-write-permissions-for-a-directory)


I'd say "uninstall" if you can and then re-install and start from square one again. Sucks but there you go...
Title: Re: Ah I think I killed my boinc install
Post by: Dingo on March 15, 2021, 06:07:27 PM
Uninstall BOINC and boinc-manager from Ubuntu and then install them again.  Your tasks might still be there I think ??
Title: Re: Ah I think I killed my boinc install
Post by: shift on March 15, 2021, 09:39:20 PM
Thanks guys. I kind of fixed it without uninstalling it. I didn't know what the permissions were meant to be for the boinc data or client directory (maybe someone can tell me by running namei -m /path/to/boinc-clientdirectory) so I set them to rwx to see if I could get it working. I restarted PC and seem to have it working. I did some other stuff which I doubt was useful and has resulted in me having boinc stuff in a bunch of other places. Is everything meant to be in a single directory or two directories? What are your directories like?

\var\lib\boinc and \var\lib\boinc-client I think are being used
\home\.BOINC has two text files and I think they have always been there
\home has notices, projects and slots directories which I think can be deleted as I copied them over from \var\lib when I was messing around
\home now has a bucket load of .XML .txt .cfg .HTML  and some more hidden files most of which I copied over but there were some already there although I don't know if they are actually needed.

Gee I love breaking stuff


Title: Re: Ah I think I killed my boinc install
Post by: Dingo on March 16, 2021, 12:53:47 AM
Quote from: shift on March 15, 2021, 09:39:20 PM
Thanks guys. I kind of fixed it without uninstalling it. I didn't know what the permissions were meant to be for the boinc data or client directory (maybe someone can tell me by running namei -m /path/to/boinc-clientdirectory) so I set them to rwx to see if I could get it working.

In ubuntu the boinc files live in /usr/bin  and these are the permissions, using root to install.

drwxr-xr-x /
drwxr-xr-x usr
drwxr-xr-x bin

These are some of the file permissions:

root@dingo1:/usr/bin# ls -l boi*
-rwxr-xr-x 1 root root 1030520 Apr 19  2020 boinc
-rwxr-xr-x 1 root root   39152 Apr 19  2020 boinccmd
-rwxr-xr-x 1 root root 3279224 Apr 19  2020 boincmgr




Title: Re: Ah I think I killed my boinc install
Post by: shift on August 19, 2021, 09:50:53 PM
Ok, now I have definitely killed my boinc install. The whole SSD died this morning. OS is gooonnnnneeee.
Title: Re: Ah I think I killed my boinc install
Post by: chooka03 on August 20, 2021, 01:40:43 PM
BOOOOOOOOOO!!!!
Good excuse to upgrade to a NVME drive though if your mobo takes one?

I was amazed at how much quicker even a cheap NVME drive is to my std SSD.