Author

Topic: Bitcoin Core - can't open bitcoin.conf (Read 215 times)

legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
July 19, 2020, 07:48:47 AM
#7
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":


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.

Looks like you found a bug, Bitcoin Core should be able to open the file if it's "read-only" file or showing the error/warning message that the file is "read-only".

So BlackHatCoiner might have set it to read-only for some reason or the file became inaccessible.

Or messed up with the permission where user/group used by Bitcoin Core isn't allowed to access the file.
legendary
Activity: 2534
Merit: 6080
Self-proclaimed Genius
July 18, 2020, 10:44:23 PM
#6
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":


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.
legendary
Activity: 3374
Merit: 3095
Playbet.io - Crypto Casino and Sportsbook
July 14, 2020, 10:45:31 AM
#5
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.
legendary
Activity: 3038
Merit: 4418
Crypto Swap Exchange
July 14, 2020, 10:27:35 AM
#4
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?
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/
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
July 14, 2020, 10:05:22 AM
#3
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?
staff
Activity: 3458
Merit: 6793
Just writing some code
July 14, 2020, 10:00:32 AM
#2
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.
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
July 14, 2020, 08:39:43 AM
#1
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?
Jump to: