Closed hikedev closed 6 years ago
@hikedev it's not clear to me why you are unable to start on 0.4.2. The db applies all migrations in one db transaction, so erroring out should not have modified the db state. Did you revert the changes to zmq ports in your bitcoin.conf
as well?
debughtlc=true will result in loadConfig: debug-htlc mode cannot be used on bitcoin mainnet
Yep debughtlc
is for testing, just remove it from your conf
0.5 did only start by removing those lines(bitcoind.zmqpubrawblock & bitcoind.zmqpubrawtx) from the lnd.conf and start with
This was documented in the release notes, though it has now been made more prominent
@cfromknecht I got 0.4.2 running again thanks there was some copy-paste error in the bitcoin.conf.
With 0.5.0 I still run into the same upgrade issues. Maybe it will be the best to close all channels, transfer the coins and start from scratch with 0.5.0.
Just strange for everyone else it seems the database schema migration works.
@hikedev starting a fresh node is definitely an option, though if you're looking to keep your existing channels and nodeid then I'm happy to help get 0.5 stood up. I probably won't take too long to identify the cause and patch it. Would be nice to also get a fix in for other users reporting similar issues.
@cfromknecht Ok, I still got my 0.4.2 node. Any specific thing I should do? I will be around at the #lnd IRC channel the next days.
@hikedev sure thing, ping me on IRC, bitconner
Background
Unable to upgrade from 0.4.2 to 0.5. (not resolved) Unable to start 0.4.2 anymore. (resolved)
Your environment
Actual behavior
Update from 0.4.2 to Version v0.5-beta-rc2 commit=fb95858afce6d7129758e7677bcb1552c5be2c51 results in this error log.
Than I tried v0.5-beta commit=3b2c807288b1b7f40d609533c1e96a510ac5fa6d, no further error logs given.
If I want to return to 0.4.2, the software shuts down when I want to unlock the wallet. No further error log than this.
Additional
Some commands in my lnd.conf don't work anymore with 0.5
debughtlc=true will result in loadConfig: debug-htlc mode cannot be used on bitcoin mainnet
bitcoind.zmqpath will result in unknown command in config
bitcoind.zmqpubrawblock & bitcoind.zmqpubrawtx have to be different ports in 0.5, with 0.4.2 it worked when they have been on the same port in the bitcoin.conf.
0.5 did only start by removing those lines(bitcoind.zmqpubrawblock & bitcoind.zmqpubrawtx) from the lnd.conf and start with --bitcoind.zmqpubrawblock=tcp://127.0.0.1:18501 --bitcoind.zmqpubrawtx=tcp://127.0.0.1:18502