[BUG] "Error loading config" - replace with default? Find and fix error?
See original GitHub issueDescribe the bug When starting the app in Ubuntu via command line, I consistently get “Error loading config - using defaults” It doesn’t seem to hurt anything. (the GUI still runs, the network still plots and farms)
/chia-blockchain/chia-blockchain-gui$ npm run electron &
[1] 4043
(venv) ME@MACHINE:~/Documents/chia-blockchain/chia-blockchain-gui$
> electron
> electron .
/home/ME/Documents/chia-blockchain/app.asar.unpacked/daemon
false
Error loading config - using defaults
To Reproduce Start app via command line.
Expected behavior
- No error OR
- Instructions on how to fix the error / which file to replace it with.
Desktop (please complete the following information):
- OS: Linux
- OS Version/Flavor: Ubuntu
Additional context
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:8 (3 by maintainers)
Top Results From Across the Web
java - No log4j2 configuration file found. Using default ...
Problem 1. ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
Read more >\WINDOWS\SYSTEM32\CONFIG\SYSTEM is missing or corrupt
To fix the problem: 1. Insert your Windows installation disc and restart your computer.
Read more >Troubleshooting — Anaconda documentation
First, run the following to undo your configuration of Anaconda Professional: conda config ; Next, install or upgrade the conda-token tool: conda install...
Read more >FIX: Error message when you try to run an SSIS package that ...
Fixes an issue in which an error is returned when you try to run an SSIS package that contains a SQL Server Destination...
Read more >Error loading config file | Winlogbeat Reference [8.5] - Elastic
Error loading config fileedit · an unauthorized user tries to load the config file, or · the config file has the wrong permissions....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Seems like the core code and GUI code are out of sync in terms of where they expect the config files to be.
chia-blockchain:
~/.chia/mainnet/config/config.yaml
chia-blockchain-gui:~/.chia/1.1.5/config/config.yaml
Setting the CHIA_ROOT environment var before running the GUI seems to work for me
Relevant code locations:
https://github.com/Chia-Network/chia-blockchain/blob/59de4ffe9f98de62d281695d1f519d65ef2e2ece/chia/util/default_root.py#L4
https://github.com/Chia-Network/chia-blockchain-gui/blob/75c00f307fe21b2f25750c9ed1dcefdf311acf9f/src/util/config.js#L23
This issue was automatically closed because it has been flagged as stale and subsequently passed 7 days with no further activity.