You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I often run go-ipfs in docker or use remote node, so I only have ~/.ipfs/api with multiaddr in it (eg. /ip4/127.0.0.1/tcp/5001 for local docker, or a port of ssh tunnel to a remote node)
Bug
ipfs-desktop failed to start because it did not recognize ~/.ipfs/api
Click to expand debug log
$ DEBUG='*' npm run start(...) ipfsd-ctl:daemon:stdout Initializing daemon... ipfsd-ctl:daemon:stdout go-ipfs version: 0.4.18- ipfsd-ctl:daemon:stdout Repo version: 7 ipfsd-ctl:daemon:stdout System version: amd64/linux ipfsd-ctl:daemon:stdout Golang version: go1.11.1 ipfsd-ctl:daemon:stdout Received interrupt signal, shutting down... ipfsd-ctl:daemon:stdout (Hit ctrl-c again to force-shutdown the daemon.) +47ms ipfsd-ctl:daemon:stderr Error: no IPFS repo found in /home/lidel/.ipfs. ipfsd-ctl:daemon:stderr please run: 'ipfs init' +46ms(node:21021) UnhandledPromiseRejectionWarning: Error: Command failed: /home/lidel/project/ipfs-desktop/node_modules/go-ipfs-dep/go-ipfs/ipfs daemonError: no IPFS repo found in /home/lidel/.ipfs.please run: 'ipfs init'Initializing daemon...go-ipfs version: 0.4.18-Repo version: 7System version: amd64/linuxGolang version: go1.11.1Received interrupt signal, shutting down...(Hit ctrl-c again to force-shutdown the daemon.) at makeError (/home/lidel/project/ipfs-desktop/node_modules/ipfsd-ctl/node_modules/execa/index.js:174:9) at Promise.all.then.arr (/home/lidel/project/ipfs-desktop/node_modules/ipfsd-ctl/node_modules/execa/index.js:278:16) at process._tickCallback (internal/process/next_tick.js:68:7)(node:21021) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)(node:21021) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Fix
I made it start by removing ~/.ipfs entirely and starting again, but it should be fixed eventually to work with ~/.ipfs/api like it did in past.
The text was updated successfully, but these errors were encountered:
Context
I often run go-ipfs in docker or use remote node, so I only have
~/.ipfs/api
with multiaddr in it (eg./ip4/127.0.0.1/tcp/5001
for local docker, or a port of ssh tunnel to a remote node)Bug
ipfs-desktop failed to start because it did not recognize
~/.ipfs/api
Click to expand debug log
Fix
I made it start by removing
~/.ipfs
entirely and starting again, but it should be fixed eventually to work with~/.ipfs/api
like it did in past.The text was updated successfully, but these errors were encountered: