dappnode / DNP_ADMIN

DAppNode tool responsible for providing the admin UI of DAppNode
http://admin.dappnode
GNU General Public License v3.0
7 stars 21 forks source link

Can't update dappnode because of ethchain package #368

Closed nathPay closed 5 years ago

nathPay commented 5 years ago

Before filing a new issue, please provide the following information.

Core DAppNode Packages versions

System info

I want to update my dappnode to : Core 0.2.14 Dappmanager: Update from 0.2.12 to 0.2.13 Ethchain: Update from 0.2.9 to 0.2.12 Ethforward: Update from 0.2.2 to 0.2.3

But at the beginning of the installation of all the package, the following error shows up:

Call to installPackageSafe
Reply: Command failed: docker-compose -f DNCORE/docker-compose-ethchain.yml up -d Duplicate mount points: [ethchaindnpdappnodeeth_data:/root/.local/share/io.parity.ethereum:rw, ethchaindnpdappnodeeth_data:/root/.local/share/io.parity.ethereum:rw]
Error: Command failed: docker-compose -f DNCORE/docker-compose-ethchain.yml up -d
Duplicate mount points: [ethchaindnpdappnodeeth_data:/root/.local/share/io.parity.ethereum:rw, ethchaindnpdappnodeeth_data:/root/.local/share/io.parity.ethereum:rw]

    at ChildProcess.exithandler (child_process.js:294:12)
    at ChildProcess.emit (events.js:189:13)
    at maybeClose (internal/child_process.js:970:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)

kwargs = {
  "id": "core.dnp.dappnode.eth@latest",
  "options": {
    "BYPASS_CORE_RESTRICTION": true,
    "BYPASS_RESOLVER": true
  }
}

And because of that, it does not update other packages.

What I've already tried

I've prune docker volume on the dappnode.

Do you guys have any ideas?

eduadiez commented 5 years ago

Hi @nathPay, please try to update the dappmanager manually first: http://my.dappnode/#/installer/dappmanager.dnp.dappnode.eth This should fix the problem and allow you to updated it

nathPay commented 5 years ago

Hi @eduadiez, Thanks for the answer.

Sadly I have the following error: Error: Can't download dappmanager.dnp.dappnode.eth release: Ipfs hash not available: QmU9wVDuCVYfRgzAHCZDPGHM67hgnx1jjCMzWCUcj6wysP

My IPFS node is alive and healthy.

Update: I've tried to search package using the hash QmU9wVDuCVYfRgzAHCZDPGHM67hgnx1jjCMzWCUcj6wysP. This way I found the package but this package seems to not be the official one:

Call to installPackage
Reply: Unverified core package dappmanager.dnp.dappnode.eth, only allowed origin is .dnp.dappnode.eth APM registy
Error: Unverified core package dappmanager.dnp.dappnode.eth, only allowed origin is .dnp.dappnode.eth APM registy
    at /usr/src/app/src/calls/installPackage.js:125:23
    at Generator.next (<anonymous>)
    at fulfilled (/usr/src/app/src/calls/installPackage.js:5:58)
    at process._tickCallback (internal/process/next_tick.js:68:7)

kwargs = {
  "id": "dappmanager.dnp.dappnode.eth@/ipfs/QmU9wVDuCVYfRgzAHCZDPGHM67hgnx1jjCMzWCUcj6wysP",
  "userSetEnvs": {},
  "userSetPorts": {},
  "userSetVols": {},
  "options": {}
}
eduadiez commented 5 years ago

Sometimes propagating IPFS hashes is hard... Do you mind to add my peer and try it again? http://my.dappnode/#/system/add-ipfs-peer/%2Fdns4%2Fab66f2dc722412bf.dyndns.dappnode.io%2Ftcp%2F4001%2Fipfs%2FQmaBnrmDpbf6sZjTY8c3BUzZ8BXmmmRtpZJRVtHtgS7oMK If you still having problems you can write me a DM on telegram or twitter, my handle is @eduadiez, and you can also join to our riot or telegram group to get support if you want: http://riot.dappnode.io https://t.me/dappnode

nathPay commented 5 years ago

@eduadiez Hi ! Sorry for the late answer, I was busy thoses days... Thanks to your dappnode it's working :) I hope that IPFS team will find a great solution for sharing files easily.