Updating lotus version from 1.15.0 to 1.15.2, node does not start and in the logs I get this error (getting expected genesis failed: No genesis block provided, provide the file with 'lotus daemon --genesis=[genesis file]) #8788
Replies: 3 comments 5 replies
-
Hey @iamredbull! Thanks for the issue-report, I will convert this to a discussion since this we need to debug if you are missing some dependencies, etc, or if there is actually an underlying bug here. First of all, could you provide some more information about:
Lastly, I see that you have a .dirty build, could you please rebuild v1.15.2 to a clean version following this: https://lotus.filecoin.io/storage-providers/operate/upgrades/#upgrade-in-place |
Beta Was this translation helpful? Give feedback.
-
expected genesis failed: No genesis block provided, provide the file with 'lotus daemon --genesis=[genesis file]' This indicates that lotus does not have access to its repo. Can you double check that mount inside container is available or not. We need to ensure infrastructure side first and it is more likely to be a docker complexity than lotus issues. But, you should definitely rebuild that lotus with a clean version. |
Beta Was this translation helpful? Give feedback.
-
Hi @iamredbull Did the suggestion from @LexLuthr solve this issue for you? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Checklist
Latest release
, or the most recent RC(release canadiate) for the upcoming release or the dev branch(master), or have an issue updating to any of these.Lotus component
Lotus Version
Describe the Bug
When updating lotus version from 1.15.0 to 1.15.2, node does not start and in the logs I get this error, "ERROR: initializing node: starting node: could not build arguments for function "github.com/filecoin-project/lotus/node/modules/lp2p".StartListening.func1 (/opt/filecoin/node/modules/lp2p/addrs.go:85): failed to build host.Host: could not build arguments for function "reflect".makeFuncStub (/usr/local/go/src/reflect/asm_amd64.s:30): failed to build lp2p.BaseIpfsRouting: could not build arguments for function "reflect".makeFuncStub (/usr/local/go/src/reflect/asm_amd64.s:30): failed to build dtypes.NetworkName: could not build arguments for function "reflect".makeFuncStub (/usr/local/go/src/reflect/asm_amd64.s:30): failed to build dtypes.AfterGenesisSet: received non-nil error from function "reflect".makeFuncStub (/usr/local/go/src/reflect/asm_amd64.s:30): getting expected genesis failed: No genesis block provided, provide the file with 'lotus daemon --genesis=[genesis file]'"
Logging Information
Repo Steps
Node lotus filecoin was started from Lightweight snapshot, then it was imported by command "lotus daemon --import-snapshot minimal_finality_stateroots_517061_2021-02-20_11-00-00.car". After this steps node was run with conf file and with this env and comand (i will post it below)
conf:
`[API]
ListenAddress = "/ip4/0.0.0.0/tcp/1234/http"
Timeout = "30s"
[Backup]
#DisableMetadataLog = false
[Libp2p]
ListenAddresses = ["/ip4/0.0.0.0/tcp/1347", "/ip6/::/tcp/2345"]
#AnnounceAddresses = []
#NoAnnounceAddresses = []
DisableNatPortMap = false
ConnMgrLow = 150
ConnMgrHigh = 180
[Pubsub]
#Bootstrapper = false
#RemoteTracer = ""
[Client]
UseIpfs = false
#IpfsOnlineMode = false
#IpfsMAddr = ""
#IpfsUseForRetrieval = false
#SimultaneousTransfersForStorage = 20
#SimultaneousTransfersForRetrieval = 20
[Wallet]
#RemoteBackend = ""
#EnableLedger = false
#DisableLocal = false
[Fees]
#DefaultMaxFee = "0.07 FIL"
[Chainstore]
EnableSplitstore = true
[Chainstore.Splitstore]
ColdStoreType = "discard"
#HotStoreType = "badger"
#MarkSetType = "map"
#HotStoreMessageRetention = 0
#HotStoreFullGCFrequency = 20`
env:
LOTUS_PATH="/lotus-data" LOTUS_MINER_PATH="/lotus-miner-data"
comand to start:
lotus daemon --config /config.toml
Beta Was this translation helpful? Give feedback.
All reactions