fission-codes / fission

Fission CLI & server
https://runfission.com/docs
119 stars 14 forks source link

Attempting to auth after entering username during setup waits forever, and leaves config directory in a broken state when inevitably interrupted #566

Open natronium opened 2 years ago

natronium commented 2 years ago

Summary

During fission setup, entering your username before going to auth.fission.codes causes things to wait forever. Interrupting the setup with ^C leaves ~/.config/fission in a half-initialized state which causes silent failures when run without --verbose

Impact

This issue is easily worked around (just blow away the config directory and then auth at the right time), but shows up basically first thing in the developer introduction to the Fission Experienceβ„’. If someone assumes that the immediate exit after re-running fission setup means that they're authenticated, they will be very confused when fission app register immediately exits with no output thanks to #538.

Detail

Reproduction steps

  1. Run fission setup
  2. Answer Y to "Do you have an existing account"
  3. Enter account name
  4. Go to auth.fission.codes
  5. Observe as fission setup waits forever(?), and auth.fission.codes does not show an authentication code
  6. ^C to exit fission setup
  7. Run fission setup and observe that it immediately exits after "Configuring managed IPFS" with no additional output, as though it was successfully set up

verbose logs

fission setup -v output ``` na@pu:/tmp/bup$ fission setup -v 2022-01-07 23:35:21.069352: [debug] πŸ‘€πŸ“– Reading global config.yaml 2022-01-07 23:35:21.069837: [debug] πŸ‘€πŸ“– Reading YAML from "/home/na/.config/fission/config.yaml" 2022-01-07 23:35:21.069928: [debug] πŸ›‘ Path does not exist 2022-01-07 23:35:21.069975: [warn] πŸ™‹ Cannot find file 2022-01-07 23:35:21.070518: [debug] No cached server DID. Fetching from _did.runfission.com 2022-01-07 23:35:21.097253: [debug] DID retrieved did:key:z6MkgYGF3thn8k1Fv4p4dWXKtsXCnLH7q9yw4QgNPULDmDKB 2022-01-07 23:35:21.097453: [debug] Setup (Options {forceOS = Nothing, maybeUsername = Nothing, maybeEmail = Nothing, maybeKeyFile = Nothing}) 2022-01-07 23:35:21.097530: [debug] πŸ‘€πŸ“– Reading global config.yaml 2022-01-07 23:35:21.097589: [debug] πŸ‘€πŸ“– Reading YAML from "/home/na/.config/fission/config.yaml" 2022-01-07 23:35:21.097666: [debug] πŸ›‘ Path does not exist 2022-01-07 23:35:21.097708: [warn] πŸ™‹ Cannot find file 2022-01-07 23:35:21.097756: [debug] Unable to parse config 2022-01-07 23:35:21.097813: [user] 🌱 Setting up environment 2022-01-07 23:35:21.097912: [user] πŸͺ Downloading managed IPFS for Linux 2022-01-07 23:35:21.098002: [debug] ⬇️ Downloading go-ipfs v0.9.0 for Linux πŸ•2022-01-07 23:35:21.098127: [debug] πŸ±πŸ™ Making request to GitHub πŸ•”2022-01-07 23:35:23.740470: [debug] πŸ’— Unpacking archive... 2022-01-07 23:35:23.741541: [debug] 🚎 Moving IPFS into place... 2022-01-07 23:35:23.741644: [debug] ✍️ Writing to /home/na/.config/fission/bin/fission-ipfs 2022-01-07 23:35:24.678392: [user] πŸŽ›οΈ Configuring managed IPFS 2022-01-07 23:35:24.678633: [debug] 🌌🎬 Running local IPFS 2022-01-07 23:35:24.678829: [debug] πŸ™ˆ Writing temp ignore file /home/na/.config/fission/tmp with: [] 2022-01-07 23:35:24.679014: [debug] ✍️ Writing to /home/na/.config/fission/tmp/9c9fbce3befe7d450fc16ee701d2168e49537d3d5f62b38abf73244c1fa90bc4 2022-01-07 23:35:24.737051: [debug] πŸŒŒβš™οΈ Running: IPFS_PATH=/home/na/.config/fission/ipfs /home/na/.config/fission/bin/fission-ipfs init --timeout=3600s with arg Nothing 2022-01-07 23:35:24.829547: [debug] 🌌 IPFS process completed successfully 2022-01-07 23:35:24.829653: [debug] 🌌🎬 Running local IPFS 2022-01-07 23:35:24.829707: [debug] πŸ™ˆ Writing temp ignore file /home/na/.config/fission/tmp with: [] 2022-01-07 23:35:24.829755: [debug] ✍️ Writing to /home/na/.config/fission/tmp/9c9fbce3befe7d450fc16ee701d2168e49537d3d5f62b38abf73244c1fa90bc4 2022-01-07 23:35:24.830920: [debug] πŸŒŒβš™οΈ Running: IPFS_PATH=/home/na/.config/fission/ipfs /home/na/.config/fission/bin/fission-ipfs config --bool Swarm.EnableRelayHop true --timeout=3600s with arg Nothing 2022-01-07 23:35:24.869792: [debug] 🌌 IPFS process completed successfully 2022-01-07 23:35:24.869891: [debug] 🌌🎬 Running local IPFS 2022-01-07 23:35:24.869945: [debug] πŸ™ˆ Writing temp ignore file /home/na/.config/fission/tmp with: [] 2022-01-07 23:35:24.869995: [debug] ✍️ Writing to /home/na/.config/fission/tmp/9c9fbce3befe7d450fc16ee701d2168e49537d3d5f62b38abf73244c1fa90bc4 2022-01-07 23:35:24.871288: [debug] πŸŒŒβš™οΈ Running: IPFS_PATH=/home/na/.config/fission/ipfs /home/na/.config/fission/bin/fission-ipfs config Addresses.API /ip4/0.0.0.0/tcp/10235 --timeout=3600s with arg Nothing 2022-01-07 23:35:24.909775: [debug] 🌌 IPFS process completed successfully 2022-01-07 23:35:24.909869: [debug] 🌌🎬 Running local IPFS 2022-01-07 23:35:24.909924: [debug] πŸ™ˆ Writing temp ignore file /home/na/.config/fission/tmp with: [] 2022-01-07 23:35:24.909980: [debug] ✍️ Writing to /home/na/.config/fission/tmp/9c9fbce3befe7d450fc16ee701d2168e49537d3d5f62b38abf73244c1fa90bc4 2022-01-07 23:35:24.911522: [debug] πŸŒŒβš™οΈ Running: IPFS_PATH=/home/na/.config/fission/ipfs /home/na/.config/fission/bin/fission-ipfs bootstrap add /dns4/node.runfission.com/tcp/4001/ipfs/QmVLEz2SxoNiFnuyLpbXsH6SvjPTrHNMU88vCQZyhgBzgw --timeout=3600s with arg Nothing 2022-01-07 23:35:24.949115: [debug] 🌌 IPFS process completed successfully 2022-01-07 23:35:24.949215: [debug] 🌌🎬 Running local IPFS 2022-01-07 23:35:24.949271: [debug] πŸ™ˆ Writing temp ignore file /home/na/.config/fission/tmp with: [] 2022-01-07 23:35:24.949330: [debug] ✍️ Writing to /home/na/.config/fission/tmp/9c9fbce3befe7d450fc16ee701d2168e49537d3d5f62b38abf73244c1fa90bc4 2022-01-07 23:35:24.950791: [debug] πŸŒŒβš™οΈ Running: IPFS_PATH=/home/na/.config/fission/ipfs /home/na/.config/fission/bin/fission-ipfs bootstrap add /ip4/3.226.224.78/tcp/4001/p2p/QmPeeeZZXxMBAPxxba7a6ggjDr5jLuD3RAFnmPPcvJ9fMS --timeout=3600s with arg Nothing 2022-01-07 23:35:24.988968: [debug] 🌌 IPFS process completed successfully 2022-01-07 23:35:24.989064: [debug] 🌌🎬 Running local IPFS 2022-01-07 23:35:24.989122: [debug] πŸ™ˆ Writing temp ignore file /home/na/.config/fission/tmp with: [] 2022-01-07 23:35:24.989188: [debug] ✍️ Writing to /home/na/.config/fission/tmp/9c9fbce3befe7d450fc16ee701d2168e49537d3d5f62b38abf73244c1fa90bc4 2022-01-07 23:35:24.990417: [debug] πŸŒŒβš™οΈ Running: IPFS_PATH=/home/na/.config/fission/ipfs /home/na/.config/fission/bin/fission-ipfs bootstrap add /ip4/3.226.224.78/udp/4001/quic/p2p/QmPeeeZZXxMBAPxxba7a6ggjDr5jLuD3RAFnmPPcvJ9fMS --timeout=3600s with arg Nothing 2022-01-07 23:35:25.028874: [debug] 🌌 IPFS process completed successfully 2022-01-07 23:35:25.028972: [debug] 🌌🎬 Running local IPFS 2022-01-07 23:35:25.029026: [debug] πŸ™ˆ Writing temp ignore file /home/na/.config/fission/tmp with: [] 2022-01-07 23:35:25.029089: [debug] ✍️ Writing to /home/na/.config/fission/tmp/9c9fbce3befe7d450fc16ee701d2168e49537d3d5f62b38abf73244c1fa90bc4 2022-01-07 23:35:25.030428: [debug] πŸŒŒβš™οΈ Running: IPFS_PATH=/home/na/.config/fission/ipfs /home/na/.config/fission/bin/fission-ipfs config Addresses.Gateway /ip4/0.0.0.0/tcp/11235 --timeout=3600s with arg Nothing 2022-01-07 23:35:25.067605: [debug] 🌌 IPFS process completed successfully 2022-01-07 23:35:25.067706: [debug] 🌌🎬 Running local IPFS 2022-01-07 23:35:25.067759: [debug] πŸ™ˆ Writing temp ignore file /home/na/.config/fission/tmp with: [] 2022-01-07 23:35:25.067819: [debug] ✍️ Writing to /home/na/.config/fission/tmp/9c9fbce3befe7d450fc16ee701d2168e49537d3d5f62b38abf73244c1fa90bc4 2022-01-07 23:35:25.069140: [debug] πŸŒŒβš™οΈ Running: IPFS_PATH=/home/na/.config/fission/ipfs /home/na/.config/fission/bin/fission-ipfs config Addresses.Swarm --timeout=3600s with arg Nothing 2022-01-07 23:35:25.107015: [debug] 🌌 IPFS process completed successfully 2022-01-07 23:35:25.107129: [debug] 🌌🎬 Running local IPFS 2022-01-07 23:35:25.107188: [debug] πŸ™ˆ Writing temp ignore file /home/na/.config/fission/tmp with: [] 2022-01-07 23:35:25.107258: [debug] ✍️ Writing to /home/na/.config/fission/tmp/9c9fbce3befe7d450fc16ee701d2168e49537d3d5f62b38abf73244c1fa90bc4 2022-01-07 23:35:25.108395: [debug] πŸŒŒβš™οΈ Running: IPFS_PATH=/home/na/.config/fission/ipfs /home/na/.config/fission/bin/fission-ipfs config --json Addresses.Swarm "[\"/ip4/0.0.0.0/tcp/4231/ws\",\"/ip4/0.0.0.0/tcp/4001\",\"/ip6/::/tcp/4001\",\"/ip4/0.0.0.0/udp/4001/quic\",\"/ip6/::/udp/4001/quic\"]" --timeout=3600s with arg Nothing 2022-01-07 23:35:25.146480: [debug] 🌌 IPFS process completed successfully 2022-01-07 23:35:25.146582: [debug] πŸ’ͺπŸ›‚ Getting root UCAN 2022-01-07 23:35:25.146628: [debug] πŸ›‚πŸšš Loading UCAN store 2022-01-07 23:35:25.146672: [debug] πŸ‘€πŸ“– Reading JSON from "/home/na/.config/fission/ucan/store.json" 2022-01-07 23:35:25.146733: [debug] πŸ›‘ File path does not exist 2022-01-07 23:35:25.146772: [warn] πŸ™‹ Cannot find file 2022-01-07 23:35:25.146822: [debug] πŸ‘€πŸ“– Reading global config.yaml 2022-01-07 23:35:25.146860: [debug] πŸ‘€πŸ“– Reading YAML from "/home/na/.config/fission/config.yaml" 2022-01-07 23:35:25.146910: [debug] πŸ›‘ Path does not exist 2022-01-07 23:35:25.146944: [warn] πŸ™‹ Cannot find file 2022-01-07 23:35:25.146984: [user] πŸ”‘ Setting up keys 2022-01-07 23:35:25.147152: [debug] πŸ—οΈ Generating exchange key 2022-01-07 23:35:25.332853: [debug] ✍️ Writing to /home/na/.config/fission/key/exchange.rsa2048 2022-01-07 23:35:25.398481: [debug] πŸ—οΈ Generating signing key 2022-01-07 23:35:25.398639: [debug] ✍️ Writing to /home/na/.config/fission/key/machine_id.ed25519 🏠 Do you have an existing account? [Y/n] Y 2022-01-07 23:35:30.679030: [user] πŸ”— Please open auth.fission.codes on a signed-in device 2022-01-07 23:35:30.679262: [debug] πŸ§¬πŸ”¬ Parsing signing key 2022-01-07 23:35:30.679314: [info] πŸ§¬πŸ‘ Loaded signing key 2022-01-07 23:35:30.679359: [debug] πŸ›‚πŸ“₯ Consuming log-in... πŸ“› Please enter your username: sodium 2022-01-07 23:35:32.631460: [debug] Fetching DID for sodium 2022-01-07 23:35:32.643458: [debug] Got raw DID response: ["000;did:key:z13V3Sog2YaUKhdGCmgx9UZuW1o1ShFJYc6DvGYe7NTt689NoL368TwewPwazfgUpELiNmrz5hxyxx6r2hxWC2pVuJ3mVUL9LKo87hp1WGNaCsQoobXA2oMvAaxWkFCj1eYQGhwk2mDYxC7Uos96WDy39GMCCjySmfsUG4Hiv3ZiPxX8pQj4sawQtWyo59WFK3zQZQF1UdA1oL645W4iTeHMKWhQgmxt7hbJNwewW61VTYBF4HH","001;zVjXjDuLtHeqRKDKn1vwuvugFXu7ZMwNxihckLtN8FwTh1DxcMo24k1k4gSJCTx2UpF7M4UuraJ33E8YapV5DRE9gFVH43yE6vbJminLZN7YNLzCFaszXavnz4PAEWxiCnBVxY993F6oaZy7wKufZfijUKFiR7ma9GxY"] 2022-01-07 23:35:32.643778: [debug] Raw DID: did:key:z13V3Sog2YaUKhdGCmgx9UZuW1o1ShFJYc6DvGYe7NTt689NoL368TwewPwazfgUpELiNmrz5hxyxx6r2hxWC2pVuJ3mVUL9LKo87hp1WGNaCsQoobXA2oMvAaxWkFCj1eYQGhwk2mDYxC7Uos96WDy39GMCCjySmfsUG4Hiv3ZiPxX8pQj4sawQtWyo59WFK3zQZQF1UdA1oL645W4iTeHMKWhQgmxt7hbJNwewW61VTYBF4HHzVjXjDuLtHeqRKDKn1vwuvugFXu7ZMwNxihckLtN8FwTh1DxcMo24k1k4gSJCTx2UpF7M4UuraJ33E8YapV5DRE9gFVH43yE6vbJminLZN7YNLzCFaszXavnz4PAEWxiCnBVxY993F6oaZy7wKufZfijUKFiR7ma9GxY 2022-01-07 23:35:32.645230: [debug] πŸ“žπŸ™ Websocket connecting at: runfission.com:443/user/link/did:key:z13V3Sog2YaUKhdGCmgx9UZuW1o1ShFJYc6DvGYe7NTt689NoL368TwewPwazfgUpELiNmrz5hxyxx6r2hxWC2pVuJ3mVUL9LKo87hp1WGNaCsQoobXA2oMvAaxWkFCj1eYQGhwk2mDYxC7Uos96WDy39GMCCjySmfsUG4Hiv3ZiPxX8pQj4sawQtWyo59WFK3zQZQF1UdA1oL645W4iTeHMKWhQgmxt7hbJNwewW61VTYBF4HHzVjXjDuLtHeqRKDKn1vwuvugFXu7ZMwNxihckLtN8FwTh1DxcMo24k1k4gSJCTx2UpF7M4UuraJ33E8YapV5DRE9gFVH43yE6vbJminLZN7YNLzCFaszXavnz4PAEWxiCnBVxY993F6oaZy7wKufZfijUKFiR7ma9GxY 2022-01-07 23:35:32.969300: [debug] πŸ“žπŸ”— Websocket pubsub connected 2022-01-07 23:35:32.969523: [debug] 🀝 Device linking handshake: Step 1 2022-01-07 23:35:33.046188: [debug] Opening secure channel over (PublicKey,PrivateKey) 2022-01-07 23:35:33.046327: [debug] 🀝 Device linking handshake: Step 2 2022-01-07 23:35:33.046374: [debug] πŸ“žπŸ—£οΈ Sending over pubsub: 2022-01-07 23:35:33.046418: [debug] did:key:z13V3Sog2YaUKhdGCmgx9UZuW1o1ShFJYc6DvGYe7NTt689NoL3E7q6sVFhDfXq5tWGA46tmJdj2qZtmKYVzLkiHmNvRqgzvMPvadi6ZjE2ULwQNjodYEnFCU2yjRDTWLfCAN2HEM55JFUVgmuyeX1zBEaVGG6Ww4LAUP1ghPNyRdfstMMjZXEndRjeQnEhrYpCgkK6S7ofAzQxjj19uv6DTWfjviYium54t6aBJQmGtvDsmB17UsmdCq2grFf26s7uyTELn2gd7icBzrjFGJqGZEPRcuTAqu6VzKTTK8RCExwLKBHkMWeK7Ez5ip6XHX1ZehouArgTEDjm9YfkwcYHoB4UF9LQ9nB8iFF7V47ahbHKMcoTRbsfDieFpyQ7MAqdtYTANfXiqzZVKbHUayN8 2022-01-07 23:35:33.047086: [debug] 🀝 Device linking handshake: Step 3 2022-01-07 23:35:33.047147: [debug] πŸ“žπŸ‘‚ Listening for pubsub-over-websockets message... # i open auth.fission.codes and wait for several minutes with no changes ^C ```
fission setup -v output after interrupted setup ``` na@pu:/tmp/bup$ fission setup -v 2022-01-07 23:44:11.616756: [debug] πŸ‘€πŸ“– Reading global config.yaml 2022-01-07 23:44:11.616920: [debug] πŸ‘€πŸ“– Reading YAML from "/home/na/.config/fission/config.yaml" 2022-01-07 23:44:11.617002: [debug] πŸ›‘ Path does not exist 2022-01-07 23:44:11.617046: [warn] πŸ™‹ Cannot find file 2022-01-07 23:44:11.617556: [debug] No cached server DID. Fetching from _did.runfission.com 2022-01-07 23:44:11.647168: [debug] DID retrieved did:key:z6MkgYGF3thn8k1Fv4p4dWXKtsXCnLH7q9yw4QgNPULDmDKB 2022-01-07 23:44:11.647347: [debug] Setup (Options {forceOS = Nothing, maybeUsername = Nothing, maybeEmail = Nothing, maybeKeyFile = Nothing}) 2022-01-07 23:44:11.647462: [debug] πŸ‘€πŸ“– Reading global config.yaml 2022-01-07 23:44:11.647512: [debug] πŸ‘€πŸ“– Reading YAML from "/home/na/.config/fission/config.yaml" 2022-01-07 23:44:11.647573: [debug] πŸ›‘ Path does not exist 2022-01-07 23:44:11.647613: [warn] πŸ™‹ Cannot find file 2022-01-07 23:44:11.647660: [debug] Unable to parse config 2022-01-07 23:44:11.647710: [user] 🌱 Setting up environment 2022-01-07 23:44:11.647784: [user] πŸͺ Downloading managed IPFS for Linux 2022-01-07 23:44:11.647852: [debug] ⬇️ Downloading go-ipfs v0.9.0 for Linux πŸ•2022-01-07 23:44:11.647973: [debug] πŸ±πŸ™ Making request to GitHub πŸ•“2022-01-07 23:44:14.239965: [debug] πŸ’— Unpacking archive... 2022-01-07 23:44:14.240422: [debug] 🚎 Moving IPFS into place... 2022-01-07 23:44:14.240473: [debug] ✍️ Writing to /home/na/.config/fission/bin/fission-ipfs 2022-01-07 23:44:15.218306: [user] πŸŽ›οΈ Configuring managed IPFS 2022-01-07 23:44:15.218475: [debug] 🌌🎬 Running local IPFS 2022-01-07 23:44:15.218549: [debug] πŸ™ˆ Writing temp ignore file /home/na/.config/fission/tmp with: [] 2022-01-07 23:44:15.218605: [debug] ✍️ Writing to /home/na/.config/fission/tmp/9c9fbce3befe7d450fc16ee701d2168e49537d3d5f62b38abf73244c1fa90bc4 2022-01-07 23:44:15.268235: [debug] πŸŒŒβš™οΈ Running: IPFS_PATH=/home/na/.config/fission/ipfs /home/na/.config/fission/bin/fission-ipfs init --timeout=3600s with arg Nothing 2022-01-07 23:44:15.305043: [warn] πŸ™‹ "Error: ipfs configuration file already exists!\nReinitializing would overwrite your keys.\n\n" 2022-01-07 23:44:15.305171: [debug] 🌌🎬 Running local IPFS 2022-01-07 23:44:15.305227: [debug] πŸ™ˆ Writing temp ignore file /home/na/.config/fission/tmp with: [] 2022-01-07 23:44:15.305282: [debug] ✍️ Writing to /home/na/.config/fission/tmp/9c9fbce3befe7d450fc16ee701d2168e49537d3d5f62b38abf73244c1fa90bc4 2022-01-07 23:44:15.306566: [debug] πŸŒŒβš™οΈ Running: IPFS_PATH=/home/na/.config/fission/ipfs /home/na/.config/fission/bin/fission-ipfs config --bool Swarm.EnableRelayHop true --timeout=3600s with arg Nothing 2022-01-07 23:44:15.347691: [debug] 🌌 IPFS process completed successfully 2022-01-07 23:44:15.347798: [debug] 🌌🎬 Running local IPFS 2022-01-07 23:44:15.347873: [debug] πŸ™ˆ Writing temp ignore file /home/na/.config/fission/tmp with: [] 2022-01-07 23:44:15.347927: [debug] ✍️ Writing to /home/na/.config/fission/tmp/9c9fbce3befe7d450fc16ee701d2168e49537d3d5f62b38abf73244c1fa90bc4 2022-01-07 23:44:15.349140: [debug] πŸŒŒβš™οΈ Running: IPFS_PATH=/home/na/.config/fission/ipfs /home/na/.config/fission/bin/fission-ipfs config Addresses.API /ip4/0.0.0.0/tcp/10235 --timeout=3600s with arg Nothing 2022-01-07 23:44:15.390401: [debug] 🌌 IPFS process completed successfully 2022-01-07 23:44:15.390496: [debug] 🌌🎬 Running local IPFS 2022-01-07 23:44:15.390553: [debug] πŸ™ˆ Writing temp ignore file /home/na/.config/fission/tmp with: [] 2022-01-07 23:44:15.390615: [debug] ✍️ Writing to /home/na/.config/fission/tmp/9c9fbce3befe7d450fc16ee701d2168e49537d3d5f62b38abf73244c1fa90bc4 2022-01-07 23:44:15.391999: [debug] πŸŒŒβš™οΈ Running: IPFS_PATH=/home/na/.config/fission/ipfs /home/na/.config/fission/bin/fission-ipfs bootstrap add /dns4/node.runfission.com/tcp/4001/ipfs/QmVLEz2SxoNiFnuyLpbXsH6SvjPTrHNMU88vCQZyhgBzgw --timeout=3600s with arg Nothing 2022-01-07 23:44:15.430776: [debug] 🌌 IPFS process completed successfully 2022-01-07 23:44:15.430872: [debug] 🌌🎬 Running local IPFS 2022-01-07 23:44:15.430941: [debug] πŸ™ˆ Writing temp ignore file /home/na/.config/fission/tmp with: [] 2022-01-07 23:44:15.431016: [debug] ✍️ Writing to /home/na/.config/fission/tmp/9c9fbce3befe7d450fc16ee701d2168e49537d3d5f62b38abf73244c1fa90bc4 2022-01-07 23:44:15.432339: [debug] πŸŒŒβš™οΈ Running: IPFS_PATH=/home/na/.config/fission/ipfs /home/na/.config/fission/bin/fission-ipfs bootstrap add /ip4/3.226.224.78/tcp/4001/p2p/QmPeeeZZXxMBAPxxba7a6ggjDr5jLuD3RAFnmPPcvJ9fMS --timeout=3600s with arg Nothing 2022-01-07 23:44:15.472156: [debug] 🌌 IPFS process completed successfully 2022-01-07 23:44:15.472249: [debug] 🌌🎬 Running local IPFS 2022-01-07 23:44:15.472309: [debug] πŸ™ˆ Writing temp ignore file /home/na/.config/fission/tmp with: [] 2022-01-07 23:44:15.472376: [debug] ✍️ Writing to /home/na/.config/fission/tmp/9c9fbce3befe7d450fc16ee701d2168e49537d3d5f62b38abf73244c1fa90bc4 2022-01-07 23:44:15.473643: [debug] πŸŒŒβš™οΈ Running: IPFS_PATH=/home/na/.config/fission/ipfs /home/na/.config/fission/bin/fission-ipfs bootstrap add /ip4/3.226.224.78/udp/4001/quic/p2p/QmPeeeZZXxMBAPxxba7a6ggjDr5jLuD3RAFnmPPcvJ9fMS --timeout=3600s with arg Nothing 2022-01-07 23:44:15.512175: [debug] 🌌 IPFS process completed successfully 2022-01-07 23:44:15.512273: [debug] 🌌🎬 Running local IPFS 2022-01-07 23:44:15.512328: [debug] πŸ™ˆ Writing temp ignore file /home/na/.config/fission/tmp with: [] 2022-01-07 23:44:15.512378: [debug] ✍️ Writing to /home/na/.config/fission/tmp/9c9fbce3befe7d450fc16ee701d2168e49537d3d5f62b38abf73244c1fa90bc4 2022-01-07 23:44:15.514236: [debug] πŸŒŒβš™οΈ Running: IPFS_PATH=/home/na/.config/fission/ipfs /home/na/.config/fission/bin/fission-ipfs config Addresses.Gateway /ip4/0.0.0.0/tcp/11235 --timeout=3600s with arg Nothing 2022-01-07 23:44:15.553884: [debug] 🌌 IPFS process completed successfully 2022-01-07 23:44:15.553994: [warn] πŸ™‹ "Error: ipfs configuration file already exists!\nReinitializing would overwrite your keys.\n\n" na@pu:/tmp/bup$ echo $? # fission exits with error code 1 1 ```
fission whoami -v after interrupted setup ``` na@pu:/tmp/bup$ fission whoami -v 2022-01-07 23:45:14.530599: [debug] πŸ‘€πŸ“– Reading global config.yaml 2022-01-07 23:45:14.530774: [debug] πŸ‘€πŸ“– Reading YAML from "/home/na/.config/fission/config.yaml" 2022-01-07 23:45:14.530855: [debug] πŸ›‘ Path does not exist 2022-01-07 23:45:14.530918: [warn] πŸ™‹ Cannot find file 2022-01-07 23:45:14.531691: [debug] No cached server DID. Fetching from _did.runfission.com 2022-01-07 23:45:14.560561: [debug] DID retrieved did:key:z6MkgYGF3thn8k1Fv4p4dWXKtsXCnLH7q9yw4QgNPULDmDKB 2022-01-07 23:45:14.560725: [debug] User (WhoAmI CommandOnly) 2022-01-07 23:45:14.560788: [debug] πŸ‘€πŸ“– Reading global config.yaml 2022-01-07 23:45:14.560839: [debug] πŸ‘€πŸ“– Reading YAML from "/home/na/.config/fission/config.yaml" 2022-01-07 23:45:14.560901: [debug] πŸ›‘ Path does not exist 2022-01-07 23:45:14.560941: [warn] πŸ™‹ Cannot find file 2022-01-07 23:45:14.560987: [debug] Unable to parse config 2022-01-07 23:45:14.561077: [debug] App interpreter 2022-01-07 23:45:14.561152: [debug] πŸ’ͺπŸ›‚ Getting root UCAN 2022-01-07 23:45:14.561202: [debug] πŸ›‚πŸšš Loading UCAN store 2022-01-07 23:45:14.561250: [debug] πŸ‘€πŸ“– Reading JSON from "/home/na/.config/fission/ucan/store.json" 2022-01-07 23:45:14.561317: [debug] πŸ›‘ File path does not exist 2022-01-07 23:45:14.561361: [warn] πŸ™‹ Cannot find file 2022-01-07 23:45:14.561421: [debug] πŸ‘€πŸ“– Reading global config.yaml 2022-01-07 23:45:14.561465: [debug] πŸ‘€πŸ“– Reading YAML from "/home/na/.config/fission/config.yaml" 2022-01-07 23:45:14.561516: [debug] πŸ›‘ Path does not exist 2022-01-07 23:45:14.561556: [warn] πŸ™‹ Cannot find file 2022-01-07 23:45:14.561609: [warn] πŸ™‹ Cannot find file na@pu:/tmp/bup$ echo $? # fission exits with error code 1 1 ```
fission app register -v after interrupted setup ``` na@pu:/tmp/bup/hello-universe$ fission app register -v 2022-01-07 23:53:24.231470: [debug] πŸ‘€πŸ“– Reading global config.yaml 2022-01-07 23:53:24.231627: [debug] πŸ‘€πŸ“– Reading YAML from "/home/na/.config/fission/config.yaml" 2022-01-07 23:53:24.231685: [debug] πŸ›‘ Path does not exist 2022-01-07 23:53:24.231727: [warn] πŸ™‹ Cannot find file 2022-01-07 23:53:24.232252: [debug] No cached server DID. Fetching from _did.runfission.com 2022-01-07 23:53:24.243213: [debug] DID retrieved did:key:z6MkgYGF3thn8k1Fv4p4dWXKtsXCnLH7q9yw4QgNPULDmDKB 2022-01-07 23:53:24.243373: [debug] App (Init (Options {appDir = ".", buildDir = Nothing, mayAppName = Nothing, ipfsCfg = Config {binPath = Nothing, timeoutSeconds = Timeout {getSeconds = 1800}}})) 2022-01-07 23:53:24.243450: [debug] πŸ‘€πŸ“– Reading global config.yaml 2022-01-07 23:53:24.243506: [debug] πŸ‘€πŸ“– Reading YAML from "/home/na/.config/fission/config.yaml" 2022-01-07 23:53:24.243575: [debug] πŸ›‘ Path does not exist 2022-01-07 23:53:24.243618: [warn] πŸ™‹ Cannot find file 2022-01-07 23:53:24.243670: [debug] Unable to parse config 2022-01-07 23:53:24.243726: [debug] App interpreter 2022-01-07 23:53:24.243797: [debug] πŸ‘€πŸ“– Reading YAML from "/tmp/bup/hello-universe/fission.yaml" 2022-01-07 23:53:24.243856: [debug] πŸ›‘ Path does not exist 2022-01-07 23:53:24.243906: [warn] πŸ™‹ Cannot find file 2022-01-07 23:53:24.243981: [debug] Setting up new app 2022-01-07 23:53:24.244091: [debug] πŸ§¬πŸ”¬ Parsing signing key 2022-01-07 23:53:24.244142: [info] πŸ§¬πŸ‘ Loaded signing key 2022-01-07 23:53:24.244186: [debug] Ed25519 key loaded 2022-01-07 23:53:24.244229: [debug] βš™οΈ πŸ†” Loaded Server DID: did:key:z6MkgYGF3thn8k1Fv4p4dWXKtsXCnLH7q9yw4QgNPULDmDKB 2022-01-07 23:53:24.244296: [debug] πŸ‘€πŸ“– Reading global config.yaml 2022-01-07 23:53:24.244342: [debug] πŸ‘€πŸ“– Reading YAML from "/home/na/.config/fission/config.yaml" 2022-01-07 23:53:24.244394: [debug] πŸ›‘ Path does not exist 2022-01-07 23:53:24.244432: [warn] πŸ™‹ Cannot find file 2022-01-07 23:53:24.244483: [warn] πŸ™‹ Cannot find file 2022-01-07 23:53:24.244533: [warn] πŸ™‹ Cannot find file na@pu:/tmp/bup/hello-universe$ echo $? # fission exits with error code 1 1 ```

Expected behavior

Desktop (please complete the following information):

github-actions[bot] commented 2 years ago

Thank you for submitting an issue! It means a lot that you took the time -- it helps us be better πŸ™