-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting FTL Error when we run stf local #521
Comments
If you don't did, run 'rethinkdb' command to create the stf database, if you already did, run 'stf migrate' once before 'stf local'. This may solve your problem. |
I still will prompt this,How to solve? |
@goddess520 |
FTL/reaper 19485 [reaper001] Unable to load initial state { ReqlOpFailedError: Database
stf
does not exist in:r.table("devices").getAll(true, {"index": "present"})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
at ReqlOpFailedError.ReqlError [as constructor] (/Users/qualitest/Desktop/Shreyas083/stf/node_modules/rethinkdb/errors.js:23:13)
at ReqlOpFailedError.ReqlRuntimeError [as constructor] (/Users/qualitest/Desktop/Shreyas083/stf/node_modules/rethinkdb/errors.js:90:51)
at ReqlOpFailedError.ReqlAvailabilityError [as constructor] (/Users/qualitest/Desktop/Shreyas083/stf/node_modules/rethinkdb/errors.js:167:56)
at new ReqlOpFailedError (/Users/qualitest/Desktop/Shreyas083/stf/node_modules/rethinkdb/errors.js:178:52)
at mkErr (/Users/qualitest/Desktop/Shreyas083/stf/node_modules/rethinkdb/util.js:177:10)
at TcpConnection.Connection._processResponse (/Users/qualitest/Desktop/Shreyas083/stf/node_modules/rethinkdb/net.js:152:16)
at TcpConnection.Connection._data (/Users/qualitest/Desktop/Shreyas083/stf/node_modules/rethinkdb/net.js:122:12)
at Socket. (/Users/qualitest/Desktop/Shreyas083/stf/node_modules/rethinkdb/net.js:689:32)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at Socket.Readable.push (_stream_readable.js:134:10)
at TCP.onread (net.js:548:20)
From previous event:
at GetAll.TermBase.run (/Users/qualitest/Desktop/Shreyas083/stf/node_modules/rethinkdb/ast.js:135:12)
at /Users/qualitest/Desktop/Shreyas083/stf/lib/db/index.js:110:14
at runCallback (timers.js:649:20)
at tryOnImmediate (timers.js:622:5)
at processImmediate [as _immediateCallback] (timers.js:594:5)
From previous event:
at db.run (/Users/qualitest/Desktop/Shreyas083/stf/lib/db/index.js:109:23)
at dbapi.loadPresentDevices (/Users/qualitest/Desktop/Shreyas083/stf/lib/db/api.js:333:13)
at loadInitialState (/Users/qualitest/Desktop/Shreyas083/stf/lib/units/reaper/index.js:80:18)
at module.exports (/Users/qualitest/Desktop/Shreyas083/stf/lib/units/reaper/index.js:122:3)
at Object.module.exports.handler (/Users/qualitest/Desktop/Shreyas083/stf/lib/cli/reaper/index.js:42:39)
at Object.self.runCommand (/Users/qualitest/Desktop/Shreyas083/stf/node_modules/yargs/lib/command.js:170:22)
at parseArgs (/Users/qualitest/Desktop/Shreyas083/stf/node_modules/yargs/yargs.js:920:28)
at Object.get [as argv] (/Users/qualitest/Desktop/Shreyas083/stf/node_modules/yargs/yargs.js:860:16)
at Object. (/Users/qualitest/Desktop/Shreyas083/stf/lib/cli/index.js:40:3)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3
name: 'ReqlOpFailedError',
msg: 'Database
stf
does not exist.',frames: [],
message: 'Database
stf
does not exist in:\nr.table("devices").getAll(true, {"index": "present"})\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' }FTL/util:lifecycle 19485 [reaper001] Shutting down due to fatal error
FTL/cli:local 19479 [] Child process had an error ExitError: Exit code "1"
at ChildProcess. (/Users/qualitest/Desktop/Shreyas083/stf/lib/util/procutil.js:49:23)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
INF/cli:local 19479 [] Shutting down all child processes
INF/util:lifecycle 19481 [app001] Winding down for graceful exit
INF/util:lifecycle 19482 [dev001] Winding down for graceful exit
INF/util:lifecycle 19484 [proc002] Winding down for graceful exit
INF/util:lifecycle 19483 [proc001] Winding down for graceful exit
WRN/db 19484 [proc002] Connection closed
INF/db 19484 [proc002] Connecting to 127.0.0.1:28015
WRN/db 19483 [proc001] Connection closed
INF/db 19483 [proc001] Connecting to 127.0.0.1:28015
How to proceed further?
The text was updated successfully, but these errors were encountered: