Bible Pay

Support => General Support => Topic started by: way2 on November 07, 2018, 05:02:18 am

Title: Boinc is not installed. Please run 'sudo apt-get install boincmgr boinc'.
Post by: way2 on November 07, 2018, 05:02:18 am
I have had Boinc running for 3 days now and when I try to create and attach [email protected] account, I get the error in the subject.  This is on a Mac and I did not have this issue with a PC. 

Title: Re: Boinc is not installed. Please run 'sudo apt-get install boincmgr boinc'.
Post by: sunk818 on November 07, 2018, 09:58:10 am
I have had Boinc running for 3 days now and when I try to create and attach [email protected] account, I get the error in the subject.  This is on a Mac and I did not have this issue with a PC. 

Where are you getting this error -- you are using the QT wallet to add BOINC?

For macOS, you should install the zip  file: https://boinc.berkeley.edu/download_all.php (https://boinc.berkeley.edu/download_all.php)

I'll ask MIP to review this since he has a Macintosh. Looks like the code is confusing your macOS with Linux.


You only need to register your CPID once. If you did it on the PC, it is not necessary on the mac.
Title: Re: Boinc is not installed. Please run 'sudo apt-get install boincmgr boinc'.
Post by: MIP on November 07, 2018, 11:06:32 am
Where are you getting this error -- you are using the QT wallet to add BOINC?

For macOS, you should install the zip  file: https://boinc.berkeley.edu/download_all.php (https://boinc.berkeley.edu/download_all.php)

I'll ask MIP to review this since he has a Macintosh. Looks like the code is confusing your macOS with Linux.


You only need to register your CPID once. If you did it on the PC, it is not necessary on the mac.

It seems that BOINC manager and boinccmd command line are installed separately on MacOS (https://boinc.berkeley.edu/dl/boinc_7.14.2_x86_64-apple-darwin.zip (https://boinc.berkeley.edu/dl/boinc_7.14.2_x86_64-apple-darwin.zip)). After you install the former, you have to download the latter and copy the contents of "move_to_boinc_dir" to /Applications/BOINCManager.app" or to some directory within global PATH.

And finally I should prepare a quick fix that takes the MacOS case into consideration and goes to the right folder and expect it's already there.
I will have to think about some way to do it in a clean way withour relying on the user accuracy.

Another workaround until this is ready could be just creating the account separately on [email protected] website and then just associate it  (or as Sunk said, create it on a PC)
Title: Re: Boinc is not installed. Please run 'sudo apt-get install boincmgr boinc'.
Post by: way2 on November 08, 2018, 06:47:20 pm
Thanks for your help!!
I did what you said, but am now running into another issue.  It wants me to use the -insecure command line option, so I am running the Mac_SA_Secure.sh shell script.  Hopefully this works!  :)
Title: Re: Boinc is not installed. Please run 'sudo apt-get install boincmgr boinc'.
Post by: way2 on November 08, 2018, 07:21:59 pm
That didn't seem to work.  I downloaded and installed a new copy of Boinc and that didn't work either.  Here is what Terminal is saying:File ownership or permissions are set in a way that
does not allow sandboxed execution of BOINC applications.
To use BOINC anyway, use the -insecure command line option.
To change ownership/permission, reinstall BOINC or run
 the shell script Mac_SA_Secure.sh. (Error code -1005)
Title: Re: Boinc is not installed. Please run 'sudo apt-get install boincmgr boinc'.
Post by: MIP on November 11, 2018, 01:47:11 am
I am preparing a change to make Biblepay look for boinccmd in /Library/Application Support/BOINC Data/boinccmd
Now it's looking for it in global path

For this you will have to download the Unix command version
https://boinc.berkeley.edu/dl/boinc_7.2.42_i686-apple-darwin.zip

And then move the contents of 'move_to_boinc_dir' folder in zip into /Library/Application Support/BOINC Data so boinccmd can be found there.

Finally wait until I compile version 1.1.6.0 of BiblepayCore.DMG then use that version.
I will keep you posted here.
Title: Re: Boinc is not installed. Please run 'sudo apt-get install boincmgr boinc'.
Post by: MIP on November 11, 2018, 02:42:18 pm
Change is finished and tested for MacOS, but it involved changing the internal system call to boinccmd so I will have to test this carefully in Linux and Windows before releasing the new version. I'll start working on this tomorrow.
Title: Re: Boinc is not installed. Please run 'sudo apt-get install boincmgr boinc'.
Post by: way2 on November 11, 2018, 03:06:48 pm
Awesome, thank you for your help!  I just did the download and moved the files to the directory you said.  Once it works on this machine, I will try with another one for testing without any previous files on it.  Once this is complete, will it cause the BBP Core Wallet balances to update and get corrected?  The Mac shows 1000 (from the faucet) and the PC still shows zero.
Title: Re: Boinc is not installed. Please run 'sudo apt-get install boincmgr boinc'.
Post by: MIP on November 12, 2018, 02:16:20 am
Once this is complete, will it cause the BBP Core Wallet balances to update and get corrected?  The Mac shows 1000 (from the faucet) and the PC still shows zero.

This is something different. Do you have the same wallet.dat file for both Mac and PC?
Title: Re: Boinc is not installed. Please run 'sudo apt-get install boincmgr boinc'.
Post by: way2 on November 12, 2018, 07:19:32 am
I brought the file from the mac and updated the PC and this updated the account balance.  The account balance isn't growing (except for coins I bought), how long should it take before I can see results from the mining? 
Title: Re: Boinc is not installed. Please run 'sudo apt-get install boincmgr boinc'.
Post by: MIP on November 14, 2018, 09:47:43 am
https://bitcointalk.org/index.php?topic=2388064.msg47897879#msg47897879

Please test the new 1.1.6.0. and confirm that you can connect with boinc client (once you download it and place it in the forementioned folder)

Thank you

http://biblepay.org/biblepaycore.dmg
Title: Re: Boinc is not installed. Please run 'sudo apt-get install boincmgr boinc'.
Post by: way2 on November 16, 2018, 05:45:06 pm
Thank you for your help!  I am having several other issues that I am trying to resolve first, so I took that machine down.  Once I get the PC working properly, I will step through the mac and post my results.  For anyone reading, the mac version does require the mac os 10.14 to be installed on the machine.  10.13 versions were not compatible.
Title: Re: Boinc is not installed. Please run 'sudo apt-get install boincmgr boinc'.
Post by: way2 on November 21, 2018, 10:09:52 am
The client installation went well.  The balance is showing properly and transactions are updating.  My only concern is on the Distributed Computing tab under BOINC [email protected] current tasks.  This block is showing 0 but BOINC manager is showing 4 tasks on this machine.  This block is only for the current machine right?  Other than that one issue, I think everything is running very well.

Title: Re: Boinc is not installed. Please run 'sudo apt-get install boincmgr boinc'.
Post by: way2 on November 21, 2018, 04:42:14 pm
After looking a little deeper, there does still seem to be an issue.  I lowered my Rosetta allocation and increased the Biblepay Core to increase my hash rate.  When I checked the info, I got the data below (nothing at https://forum.biblepay.org/index.php?topic=128.0 seemed to help)

17:23:15


getmininginfo
{
  "blocks": 84605,
  "currentblocksize": 3399,
  "currentblocktx": 2,
  "difficulty_podc": 1504.243425085066,
  "difficulty_pow": 3384.430412943052,
  "difficulty": 1504.243425085066,
  "errors": "",
  "genproclimit": 2,
  "networkhashps": 368164.9585176323,
  "hashps": 0,
  "minerstarttime": "11-21-2018 22:20:58",
  "hashcounter": 0,
  "pooledtx": 0,
  "testnet": false,
  "chain": "main",
  "biblepay-generate": true,
  "poolinfo1": "BA3cgTBNea2jrChntZQz4fJbNFzyGtuttx; BA3cgTBNea2jrChntZQz4fJbNFzyGtuttx; ",
  "poolinfo2": "Failed to sign CPID Signature (Address does not refer to key); Failed to sign CPID Signature (Address does not refer to key); ",
  "poolinfo3": "",
  "podc_tried": 0,
  "podc_sent": 0,
  "podc_sent_amount": 0,
  "podc_average_amount_sent": 0,
  "miningpulse": 0,
  "poolmining": true,
  "pool_url": "https://pool.purepool.org",
  "poolmining_use_ssl": true
}


exec getboincinfo
{
  "Command": "getboincinfo",
  "CPID": "",
  "Address": "",
  "CPIDS": "",
  "CPID-Age (hours)": 428566,
  "NextSuperblockHeight": 84675,
  "NextSuperblockBudget": 1060909,
  "Total Payments (One Day)": 0,
  "Total Payments (One Week)": 0,
  "Total Budget (One Day)": 1060909,
  "Total Budget (One Week)": 7426363,
  "Superblock Count (One Week)": 8,
  "Superblock Hit Count (One Week)": 8,
  "Superblock List": "84470,84265,84060,83855,83650,83445,83240,83035",
  "Last Superblock Height": 84470,
  "Last Superblock Budget": 1060909,
  "Last Superblock Payment": -2,
  "Magnitude (One-Day)": 0,
  "Magnitude (One-Week)": 0
}
Title: Re: Boinc is not installed. Please run 'sudo apt-get install boincmgr boinc'.
Post by: thesnat21 on November 23, 2018, 09:05:35 pm
  "Command": "getboincinfo",
  "CPID": "",
  "Address": "",
  "CPIDS": "",
}

No CPID is registered.

did you associate?  If so have you restarted the client since?
Title: Re: Boinc is not installed. Please run 'sudo apt-get install boincmgr boinc'.
Post by: way2 on November 24, 2018, 03:18:06 pm
Unfortunately I have.  The strange thing is when I put my info into the client and hit the diagnostics button, everything looks fine but the debugger shows the same issue.  Just to make sure, I tried to associate again and got the warning Already_In_Chain.
Title: Re: Boinc is not installed. Please run 'sudo apt-get install boincmgr boinc'.
Post by: thesnat21 on November 24, 2018, 06:26:09 pm
Unfortunately I have.  The strange thing is when I put my info into the client and hit the diagnostics button, everything looks fine but the debugger shows the same issue.  Just to make sure, I tried to associate again and got the warning Already_In_Chain.

Could you post or PM me your CPID? I'd like to check the chain data.

You could also do a "exec associate <username> <password> true" to force it to re-announce.
Title: Re: Boinc is not installed. Please run 'sudo apt-get install boincmgr boinc'.
Post by: way2 on November 24, 2018, 08:04:01 pm
Thanks for your help.  THis is from my primary machine:

exec getboincinfo
{
  "Command": "getboincinfo",
  "CPID": "83f33d4a5e046be370ffc4dd5378fad9",
  "Address": "B9S8we4CPiFaciv8AZUgwd79PNJrE9rNBC",
  "CPIDS": "83f33d4a5e046be370ffc4dd5378fad9;",
  "CPID-Age (hours)": 428642,
  "NextSuperblockHeight": 85290,
  "NextSuperblockBudget": 1060909,
  "83f33d4a5e046be370ffc4dd5378fad9_ADDRESS": "B9S8we4CPiFaciv8AZUgwd79PNJrE9rNBC",
  "83f33d4a5e046be370ffc4dd5378fad9_RAC": 3784.77,
  "83f33d4a5e046be370ffc4dd5378fad9_TEAM": 15044,
  "83f33d4a5e046be370ffc4dd5378fad9_WCGRAC": 0,
  "83f33d4a5e046be370ffc4dd5378fad9_TaskWeight": 100,
  "83f33d4a5e046be370ffc4dd5378fad9_UTXOWeight": 23689,
  "Total_RAC": 3784.77,
  "Total Payments (One Day)": 129,
  "Total Payments (One Week)": 871,
  "Total Budget (One Day)": 1060909,
  "Total Budget (One Week)": 7426363,
  "Superblock Count (One Week)": 8,
  "Superblock Hit Count (One Week)": 8,
  "Superblock List": "85085,84880,84675,84470,84265,84060,83855,83650",
  "Last Superblock Height": 85085,
  "Last Superblock Budget": 1060909,
  "Last Superblock Payment": 129,
  "Magnitude (One-Day)": 0.1215938407535425,
  "Magnitude (One-Week)": 0.1172848674378023
}
Title: Re: Boinc is not installed. Please run 'sudo apt-get install boincmgr boinc'.
Post by: thesnat21 on November 25, 2018, 06:48:09 am
Looking up your CPID you are receiving payments...
I see 3 machines attached to that CPID.

Do you have the wallet copied from the main machine to the others?

https://forum.biblepay.org/tools/podcstatus.php?cpid=83f33d4a5e046be370ffc4dd5378fad9
Title: Re: Boinc is not installed. Please run 'sudo apt-get install boincmgr boinc'.
Post by: way2 on November 25, 2018, 07:13:15 am
Yes, the wallet is a duplicate from the main machine.  The balance info is showing up in the Biblepay Core on all three machines. 
Here is the Biblepay.conf file in the tertiary machines:
utxooverride=-1
addnode=node.biblepay.org
addnode=dnsseed.biblepay-explorer.org
addnode=node.biblepay-explorer.org
gen=1
genproclimit=1
minersleep=0
poolport=80
pool=https://pool.purepool.org
workerid=B9Mi5rmxgJFXXMhA5pDZ2SUDwFmfaTWcqL

When I run exec getboincinfo
cpid=""
address=""
cpids=""

I get the same results for both the windows and mac machines.  There may be some spelling errors, those machines are on remote desktop and I don't know how to copy /paste across the remote desktop.
Title: Re: Boinc is not installed. Please run 'sudo apt-get install boincmgr boinc'.
Post by: thesnat21 on November 25, 2018, 11:07:17 am
Something still is not adding up

run this on each client.
getaccountaddress ""

Make sure all the addresses are the same.
Title: Re: Boinc is not installed. Please run 'sudo apt-get install boincmgr boinc'.
Post by: Rob Andrews on November 25, 2018, 03:39:40 pm
Something still is not adding up

run this on each client.
getaccountaddress ""

Make sure all the addresses are the same.

If he has 3 machines with a cloned wallet, and only one is showing the cpid for 'exec getboincinfo', I recommend checking these two things:

1) First ensure the other two nodes are synced:


getblockhash 85400
Yields:
c1f836bdb2318b26b9a954c0258b131f90726fdc4d34d17bbc21a398dedd5abf


2) If that doesn't work try this from the non-working nodes:
cd ~/.biblepaycore/SAN
rm prayers_prod
Restart wallet
(then try the exec getboincinfo again)


(Its rare, but I've seen the prayers file corrupted before, that is the file that stores the cpid info.  More specifically, I believe it could be corrupted if there is a permissions issue on the machine - say the user isnt granting access to the SAN directory for example.  )

Rob






Title: Re: Boinc is not installed. Please run 'sudo apt-get install boincmgr boinc'.
Post by: way2 on November 25, 2018, 03:55:44 pm
Thank you both.  Here is the getaccountaddress ""

Main machine:
B7pWzsuSLqV4NtVYM3xANFs53nx4sub4r3

Windows:
B9S8we4CPiFaciv8AZUgwd79PNJrE9rNBC

mac:
same as windows

If all of them need to be the same, how do I coerce them to align?
Title: Re: Boinc is not installed. Please run 'sudo apt-get install boincmgr boinc'.
Post by: way2 on November 25, 2018, 03:59:48 pm
Thanks Rob,
I checked to see if they are synched and that looks good.  If the address isn't the issue, I will try #2.
Title: Re: Boinc is not installed. Please run 'sudo apt-get install boincmgr boinc'.
Post by: thesnat21 on November 25, 2018, 04:58:41 pm
Looks like your windows and mac wallets are different than the main wallet.

I would copy the main wallet.dat to the other machines (make a backup first just in case)

Title: Re: Boinc is not installed. Please run 'sudo apt-get install boincmgr boinc'.
Post by: way2 on November 25, 2018, 06:50:48 pm
Thank you very much, that did the trick!  I don't understand how that happened, I pulled the config and wallet files over at the same time.  At least it is working now!  :)
Title: Re: Boinc is not installed. Please run 'sudo apt-get install boincmgr boinc'.
Post by: thesnat21 on November 25, 2018, 07:04:49 pm
If he has 3 machines with a cloned wallet, and only one is showing the cpid for 'exec getboincinfo', I recommend checking these two things:

1) First ensure the other two nodes are synced:


getblockhash 85400
Yields:
c1f836bdb2318b26b9a954c0258b131f90726fdc4d34d17bbc21a398dedd5abf


2) If that doesn't work try this from the non-working nodes:
cd ~/.biblepaycore/SAN
rm prayers_prod
Restart wallet
(then try the exec getboincinfo again)


(Its rare, but I've seen the prayers file corrupted before, that is the file that stores the cpid info.  More specifically, I believe it could be corrupted if there is a permissions issue on the machine - say the user isnt granting access to the SAN directory for example.  )

Rob

Good information i'll keep this handy!