question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

migration from umbrel to raspiblitz fails?

See original GitHub issue

I wanted to migrate from Umbrel to raspiblitz today. Everything went smoothly up to this window.

Bildschirmfoto 2022-01-11 um 14 16 29

I made a report about debug



***************************************************************
* RASPIBLITZ DEBUG LOGS 
***************************************************************
blitzversion: 1.7.1
chainnetwork: bitcoin / main
 13:32:22 up 55 min,  2 users,  load average: 0.39, 0.55, 0.60

*** SETUPPHASE / BOOTSTRAP ***
see logs: cat /home/admin/raspiblitz.log
setupPhase--> done
state--> ready

*** BACKGROUNDSERVICE ***
to monitor Background service call: sudo journalctl -f -u background

*** BLOCKCHAIN (MAINNET) SYSTEMD STATUS ***
● bitcoind.service - Bitcoin-Daemon
   Loaded: loaded (/etc/systemd/system/bitcoind.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2022-01-11 12:38:08 GMT; 54min ago
  Process: 2922 ExecStartPre=/home/admin/config.scripts/blitz.systemd.sh log blockchain STARTED (code=exited, status=0/SUCCESS)
  Process: 2924 ExecStart=/usr/local/bin/bitcoind -daemon -conf=/mnt/hdd/bitcoin/bitcoin.conf -pid=/mnt/hdd/bitcoin/bitcoind.pid -debuglogfile=/mnt/hdd/bitcoin/debug.log (code=exited, status=0/SUCCESS)
 Main PID: 2987 (bitcoind)
    Tasks: 18 (limit: 4532)
   CGroup: /system.slice/bitcoind.service
           └─2987 /usr/local/bin/bitcoind -daemon -conf=/mnt/hdd/bitcoin/bitcoin.conf -pid=/mnt/hdd/bitcoin/bitcoind.pid -debuglogfile=/mnt/hdd/bitcoin/debug.log

Jan 11 12:37:54 Orbi7 systemd[1]: Starting Bitcoin-Daemon...
Jan 11 12:38:08 Orbi7 systemd[1]: Started Bitcoin-Daemon.

*** LAST BLOCKCHAIN (MAINNET) ERROR LOGS ***
sudo journalctl -u bitcoind -b --no-pager -n8
-- Logs begin at Tue 2022-01-11 12:36:47 GMT, end at Tue 2022-01-11 13:32:22 GMT. --
Jan 11 12:37:54 Orbi7 systemd[1]: Starting Bitcoin-Daemon...
Jan 11 12:38:08 Orbi7 systemd[1]: Started Bitcoin-Daemon.

*** LAST BLOCKCHAIN (MAINNET) 20 INFO LOGS ***
sudo tail -n 20 /mnt/hdd/bitcoin/debug.log
2022-01-11T12:40:07Z New outbound peer connected: version: 70016, blocks=718153, peer=4 (outbound-full-relay)
2022-01-11T12:40:15Z New outbound peer connected: version: 70016, blocks=718153, peer=5 (outbound-full-relay)
2022-01-11T12:40:21Z New outbound peer connected: version: 70016, blocks=718153, peer=6 (outbound-full-relay)
2022-01-11T12:40:29Z New outbound peer connected: version: 70016, blocks=718153, peer=7 (outbound-full-relay)
2022-01-11T12:40:59Z New outbound peer connected: version: 70016, blocks=718153, peer=8 (outbound-full-relay)
2022-01-11T12:41:06Z New outbound peer connected: version: 70016, blocks=718153, peer=9 (block-relay-only)
2022-01-11T12:43:33Z New outbound peer connected: version: 70016, blocks=718153, peer=11 (outbound-full-relay)
2022-01-11T12:43:36Z New outbound peer connected: version: 70016, blocks=718153, peer=12 (block-relay-only)
2022-01-11T12:47:21Z New outbound peer connected: version: 70016, blocks=718153, peer=13 (outbound-full-relay)
2022-01-11T12:59:13Z New outbound peer connected: version: 70016, blocks=718153, peer=20 (outbound-full-relay)
2022-01-11T13:01:22Z New outbound peer connected: version: 70016, blocks=718153, peer=22 (block-relay-only)
2022-01-11T13:05:16Z New outbound peer connected: version: 70016, blocks=718153, peer=24 (block-relay-only)
2022-01-11T13:10:03Z New outbound peer connected: version: 70016, blocks=718153, peer=26 (block-relay-only)
2022-01-11T13:10:23Z Potential stale tip detected, will try using extra outbound peer (last tip update: 1890 seconds ago)
2022-01-11T13:11:16Z New outbound peer connected: version: 70016, blocks=718153, peer=27 (outbound-full-relay)
2022-01-11T13:12:47Z UpdateTip: new best=00000000000000000000cbb1cfcb479df8eff1cf7737db910ad60537127bf89e height=718154 version=0x20e00004 log2_work=93.280068 tx=701883888 date='2022-01-11T13:12:12Z' progress=1.000000 cache=3.0MiB(22438txo)
2022-01-11T13:14:11Z New outbound peer connected: version: 70016, blocks=718154, peer=28 (outbound-full-relay)
2022-01-11T13:18:18Z New outbound peer connected: version: 70016, blocks=718154, peer=29 (block-relay-only)
2022-01-11T13:25:40Z UpdateTip: new best=00000000000000000007796418362606db9a6f78ad5195ed6d60f2a8dd271b9f height=718155 version=0x29c9c004 log2_work=93.280080 tx=701887628 date='2022-01-11T13:25:18Z' progress=1.000000 cache=4.9MiB(35899txo)
2022-01-11T13:31:07Z UpdateTip: new best=0000000000000000000568494553e89bf7222b484143fdc7d20358cd59ad9455 height=718156 version=0x37ffe000 log2_work=93.280093 tx=701890646 date='2022-01-11T13:30:39Z' progress=1.000000 cache=6.3MiB(47566txo)

*** LND (MAINNET) SYSTEMD STATUS ***
● lnd.service - LND Lightning Daemon
   Loaded: loaded (/etc/systemd/system/lnd.service; enabled; vendor preset: enabled)
   Active: activating (auto-restart) (Result: exit-code) since Tue 2022-01-11 13:31:39 GMT; 43s ago
  Process: 14152 ExecStartPre=/home/admin/config.scripts/lnd.check.sh prestart mainnet (code=exited, status=0/SUCCESS)
  Process: 14250 ExecStart=/usr/local/bin/lnd --configfile=/home/bitcoin/.lnd/lnd.conf (code=exited, status=1/FAILURE)
 Main PID: 14250 (code=exited, status=1/FAILURE)

*** LAST LND (MAINNET) ERROR LOGS ***
sudo journalctl -u lnd -b --no-pager -n12
-- Logs begin at Tue 2022-01-11 12:36:47 GMT, end at Tue 2022-01-11 13:32:22 GMT. --
Jan 11 13:30:38 Orbi7 systemd[1]: Started LND Lightning Daemon.
Jan 11 13:30:38 Orbi7 lnd[10205]: unable to open databases: unable to open local channeldb: channel db cannot revert to prior version
Jan 11 13:30:38 Orbi7 systemd[1]: lnd.service: Main process exited, code=exited, status=1/FAILURE
Jan 11 13:30:38 Orbi7 systemd[1]: lnd.service: Failed with result 'exit-code'.
Jan 11 13:31:38 Orbi7 systemd[1]: lnd.service: Service RestartSec=1min expired, scheduling restart.
Jan 11 13:31:38 Orbi7 systemd[1]: lnd.service: Scheduled restart job, restart counter is at 53.
Jan 11 13:31:38 Orbi7 systemd[1]: Stopped LND Lightning Daemon.
Jan 11 13:31:38 Orbi7 systemd[1]: Starting LND Lightning Daemon...
Jan 11 13:31:38 Orbi7 systemd[1]: Started LND Lightning Daemon.
Jan 11 13:31:39 Orbi7 lnd[14250]: unable to open databases: unable to open local channeldb: channel db cannot revert to prior version
Jan 11 13:31:39 Orbi7 systemd[1]: lnd.service: Main process exited, code=exited, status=1/FAILURE
Jan 11 13:31:39 Orbi7 systemd[1]: lnd.service: Failed with result 'exit-code'.
1641905598 ERROR: LND RPC is not responding. LND may have problems starting up. Check logs, config files and systemd service. Org-Error: [lncli] rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp 127.0.0.1:10009: connect: connection refused"

*** LAST 30 LND (MAINNET) INFO LOGS ***
sudo tail -n 30 /mnt/hdd/lnd/logs/bitcoin/mainnet/lnd.log
2022-01-11 13:30:38.496 [INF] RPCS: gRPC proxy started at 0.0.0.0:8080
2022-01-11 13:30:38.496 [INF] LTND: Opening the main database, this might take a few minutes...
2022-01-11 13:30:38.496 [INF] LTND: Opening bbolt database, sync_freelist=true, auto_compact=false
2022-01-11 13:30:38.525 [INF] CHDB: Checking for schema update: latest_version=22, db_version=24
2022-01-11 13:30:38.525 [ERR] CHDB: Refusing to revert from db_version=24 to lower version=22
2022-01-11 13:30:38.525 [ERR] LTND: unable to open local channeldb: channel db cannot revert to prior version
2022-01-11 13:30:38.529 [INF] LTND: Shutdown complete2022-01-11 13:31:39.009 [INF] LTND: Version: 0.13.3-beta commit=v0.13.3-beta, build=production, logging=default, debuglevel=debug
2022-01-11 13:31:39.009 [INF] LTND: Active chain: Bitcoin (network=mainnet)
2022-01-11 13:31:39.046 [DBG] ARPC: Autopilot RPC server successfully register with root gRPC server
2022-01-11 13:31:39.046 [DBG] NTFR: ChainNotifier RPC server successfully register with root gRPC server
2022-01-11 13:31:39.046 [DBG] IRPC: Invoices RPC server successfully registered with root gRPC server
2022-01-11 13:31:39.046 [DBG] WLKT: WalletKit RPC server successfully registered with root gRPC server
2022-01-11 13:31:39.046 [DBG] RRPC: Router RPC server successfully register with root gRPC server
2022-01-11 13:31:39.046 [DBG] SGNR: Signer RPC server successfully register with root gRPC server
2022-01-11 13:31:39.046 [DBG] VRPC: Versioner RPC server successfully registered with root gRPC server
2022-01-11 13:31:39.046 [INF] RPCS: RPC server listening on 0.0.0.0:10009
2022-01-11 13:31:39.047 [DBG] ARPC: Autopilot REST server successfully registered with root REST server
2022-01-11 13:31:39.048 [DBG] NTFR: ChainNotifier REST server successfully registered with root REST server
2022-01-11 13:31:39.048 [DBG] IRPC: Invoices REST server successfully registered with root REST server
2022-01-11 13:31:39.048 [DBG] WLKT: WalletKit REST server successfully registered with root REST server
2022-01-11 13:31:39.048 [DBG] RRPC: Router REST server successfully registered with root REST server
2022-01-11 13:31:39.048 [DBG] SGNR: Signer REST server successfully registered with root REST server
2022-01-11 13:31:39.048 [DBG] VRPC: Versioner REST server successfully registered with root REST server
2022-01-11 13:31:39.049 [INF] RPCS: gRPC proxy started at 0.0.0.0:8080
2022-01-11 13:31:39.049 [INF] LTND: Opening the main database, this might take a few minutes...
2022-01-11 13:31:39.049 [INF] LTND: Opening bbolt database, sync_freelist=true, auto_compact=false
2022-01-11 13:31:39.082 [INF] CHDB: Checking for schema update: latest_version=22, db_version=24
2022-01-11 13:31:39.082 [ERR] CHDB: Refusing to revert from db_version=24 to lower version=22
2022-01-11 13:31:39.083 [ERR] LTND: unable to open local channeldb: channel db cannot revert to prior version
2022-01-11 13:31:39.091 [INF] LTND: Shutdown complete
*** C-LIGHTNING (MAINNET) SYSTEMD STATUS ***
- not activated -

*** BLOCKCHAIN (TESTNET) SYSTEMD STATUS ***
- OFF by config -
*** LND (TESTNET) SYSTEMD STATUS ***
- OFF by config -

*** C-LIGHTNING (TESTNET) SYSTEMD STATUS ***
- not activated -

*** BLOCKCHAIN (SIGNET) SYSTEMD STATUS ***
- OFF by config -
*** LND (SIGNET) SYSTEMD STATUS ***
- OFF by config -

*** C-LIGHTNING (SIGNET) SYSTEMD STATUS ***
- not activated -

*** NGINX SYSTEMD STATUS ***
● nginx.service - A high performance web server and a reverse proxy server
   Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/nginx.service.d
           └─raspiblitz.conf
   Active: active (running) since Tue 2022-01-11 12:37:37 GMT; 54min ago
     Docs: man:nginx(8)
 Main PID: 941 (nginx)
    Tasks: 5 (limit: 4532)
   CGroup: /system.slice/nginx.service
           ├─941 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;
           ├─942 nginx: worker process
           ├─943 nginx: worker process
           ├─944 nginx: worker process
           └─945 nginx: worker process

Jan 11 12:37:34 Orbi7 systemd[1]: Starting A high performance web server and a reverse proxy server...
Jan 11 12:37:37 Orbi7 systemd[1]: Started A high performance web server and a reverse proxy server.

*** LAST NGINX LOGS ***
sudo journalctl -u nginx -b --no-pager -n20
-- Logs begin at Tue 2022-01-11 12:36:47 GMT, end at Tue 2022-01-11 13:32:22 GMT. --
Jan 11 12:37:34 Orbi7 systemd[1]: Starting A high performance web server and a reverse proxy server...
Jan 11 12:37:37 Orbi7 systemd[1]: Started A high performance web server and a reverse proxy server.
--> CHECK CONFIG: sudo nginx -t

*** BLITZAPI SYSTEMD STATUS ***

*** LAST BLITZAPI LOGS ***
sudo journalctl -u blitzapi -b --no-pager -n20
-- Logs begin at Tue 2022-01-11 12:36:47 GMT, end at Tue 2022-01-11 13:32:22 GMT. --
Jan 11 12:37:34 Orbi7 systemd[1]: Starting A high performance web server and a reverse proxy server...
Jan 11 12:37:37 Orbi7 systemd[1]: Started A high performance web server and a reverse proxy server.
--> CHECK CONFIG: sudo nginx -t

- TOUCHSCREEN is OFF by config
- Loop is OFF by config
- LND-RTL is OFF by config
- CL-RTL is OFF by config
- Electrum Rust Server is OFF by config
- LIT is OFF by config
- BTCPayServer is OFF by config
- BTC-RPC-Explorer is OFF by config
- LNbits is OFF by config
- Thunderhub is OFF by config
- SPECTER is OFF by config
- SPHINX is OFF by config

*** MOUNTED DRIVES ***
Filesystem     Type      Size  Used Avail Use% Mounted on
/dev/root      ext4       15G  4.1G  9.7G  30% /
devtmpfs       devtmpfs  1.9G     0  1.9G   0% /dev
tmpfs          tmpfs     1.9G     0  1.9G   0% /dev/shm
tmpfs          tmpfs     1.9G   33M  1.9G   2% /run
tmpfs          tmpfs     5.0M     0  5.0M   0% /run/lock
tmpfs          tmpfs     1.9G     0  1.9G   0% /sys/fs/cgroup
tmpfs          tmpfs      32M   32K   32M   1% /var/cache/raspiblitz
/dev/mmcblk0p1 vfat      253M   31M  222M  13% /boot
/dev/sda1      ext4      916G  463G  407G  54% /mnt/hdd
tmpfs          tmpfs     385M     0  385M   0% /run/user/1000
tmpfs          tmpfs     385M     0  385M   0% /run/user/1001


*** DATADRIVE ***
# RASPIBLITZ DATA DRIVE Status

# BASICS
isMounted=1
isBTRFS=0
hddRaspiData=1
hddRaspiVersion='1.7.1'
isSSD=0
datadisk='sda'
datapartition='sda1'
hddBlocksBitcoin=1
hddBlocksLitecoin=0
hddBytes=1000203091968
hddGigaBytes=931
hddUsedInfo='463G (54%)'
hddDataFreeKB=426359300
hddAdapterUSB='152d:1561'
hddAdapterUSAP=0

# RAID
isRaid=0
raidCandidates=0

# SWAP
isSwapExternal=1
SwapExternalPath='/mnt/hdd/swapfile'


*** NETWORK ***
localip=192.168.178.21
dhcp=1
network_device=eth0

*** HARDWARE TEST RESULTS ***

*** SYSTEM STATUS (can take some seconds to gather) ***
localIP='192.168.178.21'
tempCelsius='51.1'
uptime=3326
upsStatus='OFF'
startcountBlockchain=1
bitcoinActive=1
blockchainPeers=10
blockchainHeight=718156
initialSync=0
syncProgress=100.00 
startcountLightning=54
lndActive=0
clActive=0
CLwalletLocked=0
blitzTUIActive=0
blitzTUIRestarts=0
vagrant=0
scriptRuntime=0

*** OPTION: SHARE THIS DEBUG OUTPUT ***
An easy way to share this debug output on GitHub or on a support chat
use the following command and share the resulting link:
debug | torsocks nc termbin.com 9999



I only wanted to use the synchronized blockchain, no lighting channels were open.

can someone help me?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
nyxnorcommented, Jan 12, 2022
grep -oPh "lightninglabs/lnd:\Kv[^@ ]*" /mnt/hdd/umbrel/docker-compose.yml /mnt/hdd/citadel/docker-compose.yml
1reaction
kanutosoncommented, Jan 11, 2022

the default password works!

now everything seems to be working - thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Migrating from Umbrel to Raspiblitz - Reddit
I started my LN journey with an Umbrel. Tried to build a 2nd Umbrel to see if I would be able to simulate...
Read more >
Setup migration from Raspiblitz to Umbrel
I was hoping to skip the DIY and have a plug and play node built, but it's coming with Raspiblitz preloaded. I'm intrigued...
Read more >
️ Why I REMOVED Umbrel From My Bitcoin Lightning Node
Umbrel for your lightning node (14:37) The biggest problem with ... RaspiBlitz : https://shop.fulmo.org/ raspiblitz / Umbrel GitHub: ...
Read more >
Migrate Umbrel Server to Raspiblitz Local Node (Eng)
How to migrate an Umbrel Server Node to a local Raspiblitz · Backup Server and Blitz data · Re-flash the SD Card of...
Read more >
Ellis Pires / raspiblitz - GitLab
Import a Migration File; Make a RaspiBlitz out of your Umbrel, ... Please determine if your problem/question is about RaspiBlitz or for ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found