Troubleshooting Common Decrediton Problems
Last updated for Decrediton v1.6.3.
Critical Information
Before starting any attempt at fixing a broken wallet, ensure you have your correct 33 word seed written down (preferably physically, on a piece of paper) and accessible.
If you have lost your seed, you are in serious danger of losing access to your funds permanently. See the “I have lost my seed” section of the seed FAQ for instructions in that situation.
Location of data and log files
The main directory for Decrediton data files is OS-dependent:
OS | Decrediton data directory |
---|---|
Windows | %LOCALAPPDATA%\Decrediton\ |
macOS | ~/Library/Application Support/decrediton/ |
Linux | ~/.config/decrediton/ |
There are different log files which may be reviewed when troubleshooting a problem:
Log | Location |
---|---|
Main app log | decrediton.log |
Wallet log | wallets/mainnet/[name of wallet]/wallet.log |
And finally, the blockchain (dcrd) log is located in:
OS | Decrediton data directory |
---|---|
Windows | %LOCALAPPDATA%\dcrd\ |
macOS | ~/Library/Application Support/dcrd/ |
Linux | ~/.dcrd/logs |
Running in debug mode
To ease debugging of problems, you can run in debug mode in a terminal (command line console window). You need to open a terminal (cmd.exe
in Windows), navigate to the directory where Decrediton is installed and then execute it:
# Linux/macOS:
$ ./decrediton --debug
# Windows:
c:\[...]> decrediton.exe --debug
Cannot see all my coins after restoring from seed
-
Check if the blockchain is synchronized to the latest block. Look at the block height at the lower left corner of the screen and the latest block from dcrdata.decred.org
-
Import all voting service provider (“stakepool”) API keys that you previously used with this wallet. If you do not perform this step for all pools, your balance will be incorrect.
-
Rebroadcast any pending transactions (access the transaction and click the “Rebroadcast” button) and verify in the block explorer if it has been published and mined.
-
Perform a full rescan of the transactions (click on the small refresh button besides the “Latest Block” label).
Decrediton will not start (dcrd closed due to an error)
dcrd closed due to an error. Check dcrd logs
and contact support if the issue persists.
There are generally three situations in which this error occurs:
- There’s already an instance of
dcrd
running in your computer - The
dcrd
process or the blockchain data is corrupt - Something (like an antivirus or protection software) is preventing the
dcrd
process from running correctly
Check the following:
-
Look at your OS task manager if there is any process named
dcrd
, and terminate it. -
Look at the dcrd logs for any
ERR
type of messages (start at the bottom of the file for the most recent messages). -
If the blockchain has been corrupted, remove the dcrd data folder and restart the sync.
-
Disable any antivirus or protection software and try running again.
-
Run Decrediton’s dcrd version in the terminal and look for any fatal messages or panics.
Error “Already Have Transaction…”
If you receive a message similar to the one above, it means your dcrd node already has the transaction you’re trying to publish. This is harmless, but if the transaction is left pending for a long time, you could try:
- Rebroadcast the transaction using the button in the Transactions tab
- Check if your transaction has been broadcast by using the block explorer
- Perform a rescan
Cannot Purchase Tickets
This is usually caused by shutting down Decrediton before a ticket has been mined.
Perform the same steps as described in “Cannot see all my coins”
Debugging Other Errors
If you can start the wallet but get error messages when performing an operation, then the first thing is to verify the wallet logs from within Decrediton. Access the Settings -> Logs page and look for any ERR messages: