Closed pablomendezroyo closed 2 years ago
CC: @eduadiez
Fixed adding tool fs-repo-migration
https://github.com/dappnode/DNP_IPFS/blob/5159251935d4a701d3f1d5718006c8829d7bb5c7/build/dappnode_entrypoint.sh#L11 https://github.com/dappnode/DNP_IPFS/blob/5159251935d4a701d3f1d5718006c8829d7bb5c7/build/Dockerfile#L4
To research:
Context
DAppNode is overwriting the original
entrypoint.sh
from the official IPFS docker image:The error
The edited entrypoint uses the
ipfs
binary to edit the configuration at some point BEFORE the daemonipfs daemon --migrate=true
which executes a MIGRATION if necessary (in this release will be mandatory) resulting in an error:Solution
Execute
ipfs daemon --migrate=true
before applying any custom configuration with the binaryipfs
which may result into an errorConsider