Pathing Guide for Installation using macOS #26778

issue Bhaney44 openend this issue on December 30, 2022
  1. Bhaney44 commented at 9:28 pm on December 30, 2022: none

    Is your feature request related to a problem? Please describe.

    Yes. One common problem with software setups is the pathing is corrupted. Proper pathing is one of the most important parts of getting started with any new software because if the path is depreciated the software will not properly run. This is the problem I am currently working on with Bitcoin. I downloaded the software but am unable to interact with the network.

    0# In
    1bitcoin-cli getblocktemplate '{"rules": ["segwit"]}'
    2# Out
    3zsh: command not found: bitcoin-cli
    

    Describe the solution you’d like

    Ideally, there would be clear instructions on how to install and get started using Bitcoin software that did not require extensive knowledge of software systems architecture and pathing. A great installation method would automatically install the software along the right path to prevent the pathing problem. A generalized solution would be really good, providing a clear guide to solving the pathing problem on any machine.

    Describe alternatives you’ve considered

    I’ve researched solving the problem in the Bitcoin Forum and on StackOverflow. However, because this common problem is so unique to each local machine, a clear or generalized solution is hard to develop. One specific solution I tried from my research was to add additional context to the command.

    0# In
    1> curl --user username --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "getblocktemplate", "params": [{"rules": ["segwit"]}]}' -H 'content-type: text/plain;' http://127.0.0.1:8332/
    2# Out
    3> curl: (7) Failed to connect to 127.0.0.1 port 8332: Connection refused
    

    However, the command resulted in a connection refusal. I found a possible solution in the Bitcoin Forum, but the problem with the proposed solution is that there is no bitcoin.conf file in the main Bitcoin repository. I found a config folder in the src directory, but there is no bitcoin.conf file.

    Additional context

    I am running on MacOS. Thank you in advance for your attention and advice.

  2. Bhaney44 added the label Feature on Dec 30, 2022
  3. w0xlt commented at 3:41 am on December 31, 2022: contributor
    Regarding bitcoin.conf, #22235 added a script that generates bitcoin.conf. You can run contrib/devtools/gen-bitcoin-conf.sh and bitcoin.conf will be generated in share/examples/.
  4. Bhaney44 commented at 5:22 am on December 31, 2022: none

    contrib/devtools/gen-bitcoin-conf.sh

    Hi, thank you very much for your suggestion. I saw #22235 was merged on May 4th, but I am working on a download of bitcoin core from yesterday, so my download should be completely up to date. I ran your code.

    In: % contrib/devtools/gen-bitcoin-conf.sh

    Out:

    0fatal: not a git repository (or any of the parent directories): .git
    1/src/bitcoind not found or not executable.
    

    Moving forward:

    1. I think it makes more sense to have bitcoin.conf in the main repository rather than being buried deep in the share/examples/ directory because burying it would make it difficult to call and add complexity; and
    2. It probably makes sense to focus on a solution to the core pathing problem, rather than doing a work around.
  5. ghost commented at 6:27 am on December 31, 2022: none

    I think it makes more sense to have bitcoin.conf in the main repository rather than being buried deep in the share/examples/ directory because burying it would make it difficult to call and add complexity; and

    There is an abandoned pull request which would create bitcoin.conf automatically when bitcoind runs for the first time. However, everyone who reviewed #22235 believe users will discover hidden examples and create a bitcoin.conf for themselves.

  6. Bhaney44 commented at 6:41 am on December 31, 2022: none

    pull request

    Thank you very much for the keen insight. I still have not run bitcoind for the first time.

    1. How would you suggest going about running bitcoind from the command line?
    2. Could you please explain more by what you mean when you say, “everyone who reviewed #22235 believe users will discover hidden examples and create a bitcoin.conf for themselves.”?
  7. Bhaney44 commented at 6:44 am on December 31, 2022: none

    Regarding bitcoin.conf, #22235 added a script that generates bitcoin.conf. You can run contrib/devtools/gen-bitcoin-conf.sh and bitcoin.conf will be generated in share/examples/.

    1. Could you please explain further bitcoin.conf, what it is and why it matters?
    2. What is the reason bitcoin.conf would be generated in share/examples/?
  8. hebasto commented at 10:50 am on December 31, 2022: member

    I downloaded the software but am unable to interact with the network.

    I am running on MacOS.

    There are two artefacts for each macOS architecture, i.e., x86_64 and arm64, available for downloading. Which one have you downloaded?

    … but am unable to interact with the network.

    0# In
    1bitcoin-cli getblocktemplate '{"rules": ["segwit"]}'
    2# Out
    3zsh: command not found: bitcoin-cli
    

    The bitcoin-cli binary is supposed to interact with your local Bitcoin Core running in tne “server” mode:

    • bitcoind, or
    • bitcoin-qt -server (runs with GUI)

    Assuming your intention to use the bitcoin-cli tool, I’d suggest to use bitcoind. Both bitcoind and bitcoin-cli are available in the following archives:

    As for any other UNIX/Linux-based system, to run a binary one must either provide a full path to the binary or assure that it is available in the PATH environment variable.

  9. Bhaney44 commented at 11:32 am on December 31, 2022: none

    I downloaded the software but am unable to interact with the network.

    I am running on MacOS.

    There are two artefacts for each macOS architecture, i.e., x86_64 and arm64, available for downloading. Which one have you downloaded?

    … but am unable to interact with the network.

    0# In
    1bitcoin-cli getblocktemplate '{"rules": ["segwit"]}'
    2# Out
    3zsh: command not found: bitcoin-cli
    

    The bitcoin-cli binary is supposed to interact with your local Bitcoin Core running in tne “server” mode:

    • bitcoind, or
    • bitcoin-qt -server (runs with GUI)

    Assuming your intention to use the bitcoin-cli tool, I’d suggest to use bitcoind. Both bitcoind and bitcoin-cli are available in the following archives:

    As for any other UNIX/Linux-based system, to run a binary one must either provide a full path to the binary or assure that it is available in the PATH environment variable.

    Thank you very much for your help; you are appreciated. I downloaded the bitcoin repo from GitHub. I have yet to make sense of the download list.

    1. What are the main differences between the two MacOS artifacts, x86_64 and arm64?
    2. What is the difference between the darwin.dmg and darwin.tar.gz extensions?
    3. How can we assign appropriate descriptions to the links in the download?
  10. hebasto commented at 11:50 am on December 31, 2022: member

    I downloaded the bitcoin repo from GitHub.

    Then you’re supposed to build binaries from the downloaded sources as described in the macOS Build Guide.

    What are the main differences between the two MacOS artifacts, x86_64 and arm64?

    The supported hardware architecture.

    What is the difference between the darwin.dmg and darwin.tar.gz extensions

    The former provides a convenient way to install Bitcoin Core GUI and integrate it into your macOS. The latter is just an archive, but it contains all set of the binaries, not GUI only.

  11. Bhaney44 commented at 7:06 pm on December 31, 2022: none

    Thank you. I went through the macOS Build Guide. The first instruction suggests macOS comes with a built in terminal.

    /Applications/Utilities/Terminal.app

    When I ran the command from the home directory, I got an error.

    IN: cd /Applications/Utilities/Terminal.app

    OUT: cd: no such file or directory: Applications/Utilities/Terminal.app

    After digging through the GUI on my machine, I found that terminal.app is visible in the Utilities folder, which is not showing to exist when I run from the terminal in VSCode.

    I went ahead with the build instructions anyway and found ./src/bitcoind. The macOS Build Guide says it could take days to download the blockchain, but I have already completed this download. However, I downloaded Bitcoin Core earlier this year and have the GUI from the Bitcoin Core Website. It is located in my Applications folder, but I have yet to find a way to access it from the terminal or interact with the underlying software.

    1. Is it necessary to download the blockchain twice to make software contributions?
    2. What is the reason that the Applications folder appears empty through the terminal, but full of applications through the GUI?
    3. How do I access Bitcoin Core in the Applications folder for the purpose of software development?
  12. Bhaney44 commented at 6:31 am on January 1, 2023: none

    bitcoin-cli getblocktemplate ‘{“rules”: [“segwit”]}’

    EDITED LABELS WERE ORIGINALLY BACKWARDS Intel Chip Download https://bitcoincore.org/bin/bitcoin-core-24.0.1/bitcoin-24.0.1-arm64-apple-darwin.tar.gz M1 Chip Download https://bitcoincore.org/bin/bitcoin-core-24.0.1/bitcoin-24.0.1-x86_64-apple-darwin.tar.gz

    I downloaded both files and found bitcoind and bitcoin-cli in bin. However, I did not put them in the Applications directory. Conceptually, I do not think there is any good justification for requiring or even suggesting having to run Bitcoin software from the Applications directory.

    I am going to move forward assuming no because I do not want to start working on solving bugs in macOS core code that are creating the problems I ran into. Please let me know, do you know of any technical reasons for this requirement? Otherwise, I completed PR #26787 to solve 2 and 3 above.

    Regarding 1 the solution is still not clear. I ran the bitcoin-cli command in bitcoin-24.0.1/bin to get the same error as initially described.

    IN: bitcoin-cli getblocktemplate '{"rules": ["segwit"]}'

    OUT: zsh: command not found: bitcoin-cli

    How can we program the machine to recognize the software in a local directory to properly run from the command line?

  13. Bhaney44 commented at 6:40 am on January 1, 2023: none

    macOS Build Guide

    The solution to 1 and to the question above can be found on StackExchange.

  14. Bhaney44 commented at 1:01 am on January 2, 2023: none

    Moving forward, I am still working toward getting the proper path set up and building with Bitcoin. I am making progress, but I ran into another error caused by macOS. Essentially, macOS by default blocks Bitcoin software applications, such as bitcoind and bitcoin-cli. So, to use these applications, developers will need to override their privacy settings and opening manually. Another issue I discovered is that to get an output from the command line, it is necessary to put ./ in front of any command. I completed this step and have now moved on to another error.

    IN: ./bitcoin-cli getblocktemplate '{"rules": ["segwit"]}'

    OUT: zsh: killed ./bitcoin-cli getblocktemplate '{"rules": ["segwit"]}'

  15. Bhaney44 renamed this:
    Proper Pathing Guide for Installation
    Proper Pathing Guide for Installation for macOS
    on Jan 2, 2023
  16. Bhaney44 commented at 1:30 am on January 2, 2023: none

    The problem was that I was working in a download incompatible with the M1 chip. I was able to move to the correct download version and successfully run bitcoind. However, I am now working through a new error.

    02023-01-02T01:26:11Z Checking all blk files are present...
    12023-01-02T01:26:11Z LoadBlockIndexDB(): Block files have previously been pruned
    22023-01-02T01:26:12Z : You need to rebuild the database using -reindex to go back to unpruned mode.  This will redownload the entire blockchain.
    3Please restart with -reindex or -reindex-chainstate to recover.
    4: You need to rebuild the database using -reindex to go back to unpruned mode.  This will redownload the entire blockchain.
    5Please restart with -reindex or -reindex-chainstate to recover.
    62023-01-02T01:26:12Z Aborted block database rebuild. Exiting.
    72023-01-02T01:26:12Z Shutdown: In progress...
    82023-01-02T01:26:12Z scheduler thread exit
    92023-01-02T01:26:12Z Shutdown: done
    

    I have begun researching regarding pruning on StackExchange.

  17. hebasto commented at 12:09 pm on January 2, 2023: member

    OUT: zsh: killed ./bitcoin-cli getblocktemplate '{"rules": ["segwit"]}'

    On M1/M2, the downloaded binaries need to be signed, for example, like that.

    However, I am now working through a new error.

    02023-01-02T01:26:11Z Checking all blk files are present...
    12023-01-02T01:26:11Z LoadBlockIndexDB(): Block files have previously been pruned
    22023-01-02T01:26:12Z : You need to rebuild the database using -reindex to go back to unpruned mode.  This will redownload the entire blockchain.
    3Please restart with -reindex or -reindex-chainstate to recover.
    4: You need to rebuild the database using -reindex to go back to unpruned mode.  This will redownload the entire blockchain.
    5Please restart with -reindex or -reindex-chainstate to recover.
    62023-01-02T01:26:12Z Aborted block database rebuild. Exiting.
    72023-01-02T01:26:12Z Shutdown: In progress...
    82023-01-02T01:26:12Z scheduler thread exit
    92023-01-02T01:26:12Z Shutdown: done
    

    Log messages describe a state of your local blockchain and suggest the following steps clearly. It is not an error.

  18. Bhaney44 commented at 10:08 pm on January 2, 2023: none

    ./bitcoin-cli getblocktemplate ‘{“rules”: [“segwit”]}’

    Thank you very much. I found your example:

    codesign -s - ./releases/v23.0/bin/bitcoind

    1. What is self-signing?
    2. What codesign?
    3. What demands this requirement?

    The log messages state:

    0You need to rebuild the database using -reindex to go back to unpruned mode.  This will redownload the entire blockchain.
    1Please restart with -reindex or -reindex-chainstate to recover.
    
    1. How does one use -reindex?
    2. What is unpruned mode?
    3. How does one restart with -reindex?
  19. Bhaney44 renamed this:
    Proper Pathing Guide for Installation for macOS
    Proper Pathing Guide for Installation using macOS
    on Jan 2, 2023
  20. sipa commented at 10:21 pm on January 2, 2023: member
    Are you trying to install self-compiled binaries? If you use the installer from the website you should get binaries that are signed already.
  21. sipa commented at 10:22 pm on January 2, 2023: member
    As for the other questions, this is not a support site; it’s for reporting bugs. If you have questions about usage, try https://bitcoin.stackexchange.com.
  22. Bhaney44 commented at 10:23 pm on January 2, 2023: none

    OUT: zsh: killed ./bitcoin-cli getblocktemplate '{"rules": ["segwit"]}'

    On M1/M2, the downloaded binaries need to be signed, for example, like that.

    However, I am now working through a new error.

    02023-01-02T01:26:11Z Checking all blk files are present...
    12023-01-02T01:26:11Z LoadBlockIndexDB(): Block files have previously been pruned
    22023-01-02T01:26:12Z : You need to rebuild the database using -reindex to go back to unpruned mode.  This will redownload the entire blockchain.
    3Please restart with -reindex or -reindex-chainstate to recover.
    4: You need to rebuild the database using -reindex to go back to unpruned mode.  This will redownload the entire blockchain.
    5Please restart with -reindex or -reindex-chainstate to recover.
    62023-01-02T01:26:12Z Aborted block database rebuild. Exiting.
    72023-01-02T01:26:12Z Shutdown: In progress...
    82023-01-02T01:26:12Z scheduler thread exit
    92023-01-02T01:26:12Z Shutdown: done
    

    Log messages describe a state of your local blockchain and suggest the following steps clearly. It is not an error.

    IN: codesign -s ./bitcoind OUT: error: The specified item could not be found in the keychain.

    IN: ./codesign -s -bitcoind OUT: zsh: no such file or directory: ./codesign

    IN: ./codesign -s - ./bitcoind OUT: zsh: no such file or directory: ./codesign

  23. Bhaney44 commented at 10:24 pm on January 2, 2023: none

    As for the other questions, this is not a support site; it’s for reporting bugs. If you have questions about usage, try https://bitcoin.stackexchange.com.

    This is for a feature request which I opened according to the guidelines.

  24. Bhaney44 commented at 10:24 pm on January 2, 2023: none

    Are you trying to install self-compiled binaries? If you use the installer from the website you should get binaries that are signed already.

    No. My intention is to properly install bitcoin core on macOS to contribute code.

  25. Bhaney44 commented at 10:47 pm on January 2, 2023: none

    Regarding the three errors. I think the first one is the best to proceed with debugging. I found the error report in a macOS developer forum.

  26. Bhaney44 commented at 10:58 pm on January 2, 2023: none

    As for the other questions, this is not a support site; it’s for reporting bugs. If you have questions about usage, try https://bitcoin.stackexchange.com.

    1. What is the difference between support and usage?
    2. What is the difference between a bug and an error?
    3. Are you an owner of the Bitcoin GitHub?
  27. sipa commented at 11:43 pm on January 2, 2023: member

    This is for a feature request which I opened according to the guidelines.

    I was just talking about your comment there about how to use -reindex.

  28. Bhaney44 commented at 0:09 am on January 3, 2023: none

    reindex-chainstate

    Thank you. The problem was I had no frame of reference for -reindex, what it was or how to use it. I found a reference on Bitcoin Stack Exchange, as you suggested.

  29. Bhaney44 renamed this:
    Proper Pathing Guide for Installation using macOS
    Pathing Guide for Installation using macOS
    on Jan 3, 2023
  30. Bhaney44 commented at 2:38 am on January 3, 2023: none

    The solution is:

    ./bitcoind -reindex

    I documented the solution on Bitcoin Stack Exchange.

  31. MarcoFalke added the label macOS on Jan 3, 2023
  32. fanquake commented at 10:00 am on January 3, 2023: member

    zsh: command not found: bitcoin-cli This is for a feature request which I opened according to the guidelines.

    It’s not clear what the feature request is. You can solve the initial “pathing problem” by actually installing the software.

    No. My intention is to properly install bitcoin core on macOS to contribute code.

    If your intention is to contribute code, you should clone this repository and compile from source, rather than install the release binaries.

    This thread is now a mish-mash of generic (some not even specific to bitcoin core) software questions. As mentioned above, this isn’t a support forum, and there are other places better suited to solving your issues. It’s not clear when this would be “resolved”, and unless there is a specific error you are running into, we can close this.

  33. Bhaney44 commented at 8:31 pm on January 3, 2023: none

    zsh: command not found: bitcoin-cli This is for a feature request which I opened according to the guidelines.

    It’s not clear what the feature request is. You can solve the initial “pathing problem” by actually installing the software.

    No. My intention is to properly install bitcoin core on macOS to contribute code.

    If your intention is to contribute code, you should clone this repository and compile from source, rather than install the release binaries.

    This thread is now a mish-mash of generic (some not even specific to bitcoin core) software questions. As mentioned above, this isn’t a support forum, and there are other places better suited to solving your issues. It’s not clear when this would be “resolved”, and unless there is a specific error you are running into, we can close this.

    Thanks for your feedback. To be clear, the pathing problem refers to problems in installing the software with a proper path for running and contributing code. I did my best to describe the problem, so if you’re still having issues on clarity or the words seem like a mish-mash, you may want to get checked for dyslexia, a disease a lot of really smart people have that makes it difficult to derive clear meaning from otherwise cogent text.

    The text of this thread is designed to create a clear path, address problems, and ultimately a solution for proper installation on macOS. The request will be resolved when I have added the feature and made the proper contribution. Ultimately, this thread adds a lot of value to the network by identifying and addressing core software problems face by new developers and contributors to Bitcoin Core. Thanks!

  34. Bhaney44 commented at 8:36 pm on January 3, 2023: none
    The problem I am running into now is that running -reindex is taking re-downloading the blockchain and it’s taking up all the storage on my machine. One solution I am considering is first deleting the blockchain from my machine and running the installation on an external hard drive.
  35. sipa commented at 8:37 pm on January 3, 2023: member

    The problem I am running into now is that running -reindex is taking re-downloading the blockchain and it’s taking up all the storage on my machine. One solution I am considering is first deleting the blockchain from my machine and running the installation on an external hard drive.

    That has nothing to do with this issue.

  36. Bhaney44 commented at 8:39 pm on January 3, 2023: none

    The problem I am running into now is that running -reindex is taking re-downloading the blockchain and it’s taking up all the storage on my machine. One solution I am considering is first deleting the blockchain from my machine and running the installation on an external hard drive.

    That has nothing to do with this issue.

    Thanks! The reason this is important for the issue of installation is because the storage capacity requirements are a critical consideration for how and where to install the software.

  37. Bhaney44 commented at 8:40 pm on January 3, 2023: none

    The problem I am running into now is that running -reindex is taking re-downloading the blockchain and it’s taking up all the storage on my machine. One solution I am considering is first deleting the blockchain from my machine and running the installation on an external hard drive.

    That has nothing to do with this issue.

    Do you know where I may be able to find uninstall instructions to remove the software from my machine? I am having trouble finding where the download is happening. Is there a specific command? Thank You!

  38. sipa commented at 8:42 pm on January 3, 2023: member

    Do you know where I may be able to find uninstall instructions to remove the software from my machine? I am having trouble finding where the download is happening. Is there a specific command? Thank You!

    That’s a question about usage. As explained, this is not a support forum. See https://github.com/bitcoin/bitcoin/blob/master/doc/files.md#data-directory-location

    Please stick to the issue at hand (something about installation paths being unclear, is that it?).

  39. Bhaney44 commented at 8:47 pm on January 3, 2023: none

    Do you know where I may be able to find uninstall instructions to remove the software from my machine? I am having trouble finding where the download is happening. Is there a specific command? Thank You!

    That’s a question about usage. As explained, this is not a support forum.

    Please stick to the issue at hand (something about installation paths being unclear, is that it?).

    Right. And, I asked what the difference was between usage and support? Without knowing how you define the words, I don’t know what you think they mean.

    Yes. The issue is that there is no clear way to correctly install the bitcoin software with clear pathing on macOS. The issue stems from issues in downloading software to macOS generally, especially with the new M1 chip. The goal is to provide a clear download mechanism to allow developers to get started building faster. I’ve been working on this problem for about four days now and still am not able to run ./bitcoind.

  40. Bhaney44 commented at 8:47 pm on January 3, 2023: none

    As for the other questions, this is not a support site; it’s for reporting bugs. If you have questions about usage, try https://bitcoin.stackexchange.com.

    1. What is the difference between support and usage?
    2. What is the difference between a bug and an error?
    3. Are you an owner of the Bitcoin GitHub?

    Here ^ @sipa - thank you again for your kind assistance.

  41. Bhaney44 commented at 8:50 pm on January 3, 2023: none

    Do you know where I may be able to find uninstall instructions to remove the software from my machine? I am having trouble finding where the download is happening. Is there a specific command? Thank You!

    That’s a question about usage. As explained, this is not a support forum. See https://github.com/bitcoin/bitcoin/blob/master/doc/files.md#data-directory-location

    Please stick to the issue at hand (something about installation paths being unclear, is that it?).

    The issue is the path provided in the link you gave is corrupted.

    Library/Application Support/Bitcoin/

    does not exist. Moreover, there is a noticeable space between Application and Support, which is not proper convention on macOS.

  42. sipa commented at 8:54 pm on January 3, 2023: member

    Right. And, I asked what the difference was between usage and support? Without knowing how you define the words, I don’t know what you think they mean.

    This is not the place to ask for support, or ask questions about usage. It’s for reporting bugs.

    What is the difference between a bug and an error?

    Errors are reported to inform the user about conditions under which the software can’t operate. Bugs are when the software is not working as intended.

    As you’ve been told, the software is working as intended (https://github.com/bitcoin/bitcoin/issues/26778#issuecomment-1368892763).

    Are you an owner of the Bitcoin GitHub?

    I used to be a maintainer of the Bitcoin Core software repository.

    Yes. The issue is that there is no clear way to correctly install the bitcoin software with clear pathing on macOS.

    Are you?

    • Trying to run the DMG installer, and is this a problem with it? If so, that’s a bug that we should fix. You shouldn’t need to mess with certificates in this case.
    • Trying to install the binaries from the tgz by hand, and it’s not clear where to put it? That’s unrelated to the Bitcoin Core software, and generic for your OS.
    • Trying to build the software from source, and running into problems with that?

    If it’s any of these, please clarify.

    If you’re having other unrelated problems, please look in the appropriate places for help with usage, or if you believe there is another issue, open another issue.

  43. sipa commented at 9:05 pm on January 3, 2023: member

    Library/Application Support/Bitcoin/

    Are you sure? Note the $HOME/ before it, so this is supposed to be inside your home directory. I’m unfamiliar with Mac systems myself, and can’t test, but if this documentation is outdated it should be fixed.

    I do find questions about other software (including Apple’s Siri) using that path, so at least a few years ago that was not an uncommon path: https://apple.stackexchange.com/questions/313742/what-does-library-application-support-knowledge-folder-do

  44. Bhaney44 commented at 9:19 pm on January 3, 2023: none

    Right. And, I asked what the difference was between usage and support? Without knowing how you define the words, I don’t know what you think they mean.

    This is not the place to ask for support, or ask questions about usage. It’s for reporting bugs.

    What is the difference between a bug and an error?

    Errors are reported to inform the user about conditions under which the software can’t operate. Bugs are when the software is not working as intended.

    As you’ve been told, the software is working as intended (#26778 (comment)).

    Are you an owner of the Bitcoin GitHub?

    I used to be a maintainer of the Bitcoin Core software repository.

    Yes. The issue is that there is no clear way to correctly install the bitcoin software with clear pathing on macOS.

    Are you?

    • Trying to run the DMG installer, and is this a problem with it? If so, that’s a bug that we should fix. You shouldn’t need to mess with certificates in this case.
    • Trying to install the binaries from the tgz by hand, and it’s not clear where to put it? That’s unrelated to the Bitcoin Core software, and generic for your OS.
    • Trying to build the software from source, and running into problems with that?

    If it’s any of these, please clarify.

    If you’re having other unrelated problems, please look in the appropriate places for help with usage, or if you believe there is another issue, open another issue.

    This is very helpful, thank you. I think the answer to the first two questions is no. The answer to the third question is maybe. I want to install Bitcoin Core, so I can receive information on new blocks and submit information to the network to help validate blocks. To do that, I think I have to download the blockchain and then run programs from the CLI as defined in the Bitcoin Core Documentation. I could be wrong.

    The problem I am running into is with installation on macOS because the path is consistently corrupted. Now, the broader problem is a lack of storage on my machine. So, I may move forward with an external hard drive next, which I think may help to prevent the problem generally.

    Yes. I agree and I think the recent updates with the M1 chip cause additional problems and they are generally incompatible with many other OSS libraries. So, one goal for this request is to help fix the current documentation. I will check my home directory to explore possible alternatives and identify the root cause for this issue. Once I have more information, I will report back here. Thank you again.

  45. MarcoFalke added the label Waiting for author on Jan 3, 2023
  46. Bhaney44 commented at 11:13 pm on January 3, 2023: none
    Thank you to everyone for your help here. Unfortunately, I think the only reasonable path forward is to clear my hard drive and start again from scratch on an external hard drive. I have no other way to remove the blockchain form my machine or identify the root cause of the problem. The benefit here is that we will be able to develop a complete guide for installing bitcoin on macOS without the possibility of any external corruption.
  47. Bhaney44 commented at 11:15 pm on January 3, 2023: none
    I have to assume I made a mistake in running bitcoind locally and the storage requirements are too great for my machine. So, I am going to close this Issue and then re-open another after I get the new setup going to provide a more cogent guide.
  48. Bhaney44 closed this on Jan 3, 2023

  49. fanquake locked this on Jan 4, 2023

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-21 09:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me