Fix wallet syncing
Bring an out-of-date balance back in line with the blockchain, or get Liana past a failed start.
Liana says what it waits for in the line under the balance on the Dashboard. Read that line first, then follow the fix for your backend.
Read the line under the balance
| Liana shows | What Liana waits for | What to do |
|---|---|---|
Syncing blockchain and a percentage | Bitcoin Core has not caught up with the network yet. | Leave Liana open. If the percentage stops moving, unblock the sync. |
Syncing | Liana Connect or the Electrum server scans the history of a new wallet. | Wait for the scan to end. |
Checking for new transactions | Liana opened the wallet and waits for its first check of Bitcoin Core or the Electrum server. | Wait. If the line stays for several minutes, restart Liana. |
| No line | Nothing. The wallet is synced. | With Bitcoin Core or an Electrum server, if coins or past transactions are missing, see Rescan the blockchain. |
Unblock a Bitcoin Core sync
A wallet that has never synced with Bitcoin Core opens on a loading screen with a Progress percentage, described in Wait for the first sync.
If the percentage stops changing for several minutes, check that the computer is online, for example by opening any website in a browser. Bitcoin Core needs the connection to download blocks.
Get Liana past "Liana failed to start"
When Liana opens a wallet and Bitcoin Core does not answer, Liana stops on a
screen that reads
Liana failed to start, please check if bitcoind is running. For an Electrum
server or any other cause, it reads Liana failed to start.
Read the error
Select Learn more on the Error while starting the internal daemon banner. The text that opens says what failed.
Start Bitcoin Core or the Electrum server
Start the Bitcoin Core node or the Electrum server that you run yourself. Wait until it accepts connections. Skip this step when Liana manages Bitcoin Core, because Liana starts that node itself.
Select Retry
Select Retry. Liana connects again and opens the wallet. Back returns to the list of wallets.
If the error stays, check these two cases:
- Bitcoin Core runs on another computer: Liana does not support it. Run an Electrum server next to Bitcoin Core and use it as the backend. See Backends.
- The backend's address or credentials changed: Liana cannot open the wallet to update them in its settings. Add the wallet again with the new details, from a backup file or its descriptor, as Change your backend describes.
Check a balance that stopped updating
After its first check, Liana shows no line under a balance that falls behind the chain. Compare the heights before you restart anything.
Compare the block height
Go to Settings > Node. Compare Block height: with the current height on a block explorer. If both match, the wallet is synced.
Restart Liana
If Liana is behind, close Liana and open the wallet again. If the backend
still does not answer, Liana stops on Liana failed to start. Follow
the steps for a failed start.
Fix a Liana Connect wallet
Match what Liana shows:
- The Liana Connect screen, with your email and Login: Liana could not use your session. Select Login, then enter in Token the six-digit token that Liana Connect emails you. Liana logs you in as soon as the token is complete.
Token is expired or is invalid: Select Resend token, then enter the new token.- A Connection failed banner: Liana could not connect to Liana Connect. Check your internet connection, then select Login or Resend token again.
- A banner that starts with HTTP error, in the wallet: Liana Connect failed a request. Wait a few minutes, then restart Liana.
- A message that says the wallet was deleted by its creator: Add the wallet again from a backup file or its descriptor, as Change your backend describes.
To use the wallet while Liana Connect does not answer, add it again with Bitcoin Core or an Electrum server. You need its descriptor. Change your backend has the procedure.
Read Liana's log file
Liana writes what it does to liana-gui.log, at the root of its data
directory. Liana empties the file each time it starts. Copy it before you
restart Liana.
~/.liana/liana-gui.logIf you start Liana with the --datadir option, the file is in that directory
instead.
To get more detail, start Liana with the LOG_LEVEL environment variable set
to debug.
LOG_LEVEL=debug liana-guiWith the Other distributions archive, run this command from the extracted folder instead:
LOG_LEVEL=debug ./liana-guiWhen Liana manages Bitcoin Core, Bitcoin Core keeps its own log, debug.log,
in the bitcoind/datadir folder of Liana's data directory. On a test network,
it is in a subfolder named after the network, such as signet.
Sharing the log?
The log can contain the fingerprints of your keys and the transactions of your wallet. Read it before you share it. Attach only the lines about the problem when you open an issue.