Title: Bitcoin Core - can't open bitcoin.conf Post by: BlackHatCoiner on July 14, 2020, 01:39:43 PM When I click "Open Configuration File" in settings of bitcoin core I get these:
https://i.imgur.com/iJTz0N8.png https://i.imgur.com/9dZXp5d.png If I go to %AppData% -> Bitcoin -> bitcoin.conf I get an empty file: https://i.imgur.com/mgYt5iF.png I remember I had made the bitcoin core installation some months ago, and I successfully changed things inside the bitcoin.conf, like for changing to testnet/regnet. Any help? What do I do now? Title: Re: Bitcoin Core - can't open bitcoin.conf Post by: achow101 on July 14, 2020, 03:00:32 PM Either you hadn't actually changed the bitcoin.conf file, or it got lost. Bitcoin Core has either found an empty bitcoin.conf or did not find one at all.
Title: Re: Bitcoin Core - can't open bitcoin.conf Post by: BlackHatCoiner on July 14, 2020, 03:05:22 PM Either you hadn't actually changed the bitcoin.conf file, or it got lost. Bitcoin Core has either found an empty bitcoin.conf or did not find one at all. So how do I remake it? Can I copy it from someone else? Title: Re: Bitcoin Core - can't open bitcoin.conf Post by: ranochigo on July 14, 2020, 03:27:35 PM Either you hadn't actually changed the bitcoin.conf file, or it got lost. Bitcoin Core has either found an empty bitcoin.conf or did not find one at all. So how do I remake it? Can I copy it from someone else? [1] https://jlopp.github.io/bitcoin-core-config-generator/ Title: Re: Bitcoin Core - can't open bitcoin.conf Post by: BitMaxz on July 14, 2020, 03:45:31 PM Here's a nice WebUI[1] if you don't want to do it yourself. If you want, just create a new file (using notepad) and name it bitcoin.conf, making sure the extension is .conf. You can edit it using any text editor. [1] https://jlopp.github.io/bitcoin-core-config-generator/ Additional for this if you are manually making a bitcoin.conf file you can copy the default sample of bitcoin.conf from the link below. - https://github.com/bitcoin/bitcoin/blob/master/share/examples/bitcoin.conf Copy all text inside from line 1 to 171 and paste it to the bitcoin.conf file you created. Title: Re: Bitcoin Core - can't open bitcoin.conf Post by: nc50lc on July 19, 2020, 03:44:23 AM Either you hadn't actually changed the bitcoin.conf file, or it got lost. Bitcoin Core has either found an empty bitcoin.conf or did not find one at all. For reference: I've successfully reproduced the issue by setting the bitcoin.conf file as "read-only":https://i.imgur.com/elwaj9O.png If it's missing, core will make one, once he clicked the "open config file" button without errors; if the whole folder was set to read-only (or a permission issue), core fails to launch at all. So BlackHatCoiner might have set it to read-only for some reason or the file became inaccessible. |