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
Is your feature request related to a problem? Please describe.
If the Steampipe Service is running on your local workstation when you do an upgrade, then weird errors pop up in the console. The Steampipe client also would not start with this error message: Error: rpc error: code = Unknown desc = no config loaded for connection
Describe the solution you'd like
Have the Linux and MacOS installation scripts be able to discover and halt the Steampipe service.
Have the Steampipe client report a version mismatch between itself and the Steampipe service instead of bombing out with cryptic errors.
Describe alternatives you've considered
The alternative is remember to stop the service before upgrading.
Additional context
Got these errors when upgradeing from 0.10.0 to 0.11.0
Reproduction steps:
Deploy Steampipe 0.10.0
Start the Steampipe service.
Upgrade to Steampipe 0.11.0
Try to start the Steampipe 0.11.0 client.
Get errors.
Restart the steampipe service.
Try to start the Steampipe 0.11.0 client.
No errors. Steampipe is happy.
Trace logs from Steampipe client with the mismatched client/service.
Welcome to Steampipe v0.11.0
For more information, type .help
> 2021-12-23T09:30:37.093-0500 [TRACE] steampipe: status: {"Pid":16313,"Port":9193,"Listen":["localhost","127.0.0.1","192.168.2.147","172.17.0.1"],"ListenType":"network","Invoker":"service","Password":"XXXX-XXXX-XXXX","User":"steampipe","Database":"steampipe"}
2021-12-23T09:30:37.093-0500 [TRACE] steampipe: Connection string: host=localhost port=9193 user=root dbname=steampipe sslmode=require
2021-12-23T09:30:37.136-0500 [TRACE] steampipe: createDbClient
2021-12-23T09:30:37.187-0500 [TRACE] steampipe: created local client 0xc000556120
2021-12-23T09:30:37.191-0500 [TRACE] steampipe: getSchemaHashesForDynamicSchemas
2021-12-23T09:30:37.191-0500 [TRACE] steampipe: CreateConnectionPlugin creating 0 connections
2021-12-23T09:30:37.193-0500 [TRACE] steampipe: plugin manager is running - returning client
Error: rpc error: code = Unknown desc = no config loaded for connection
2021-12-23T09:30:37.215-0500 [TRACE] steampipe: close local client 0xc000556120
2021-12-23T09:30:37.215-0500 [TRACE] steampipe: local client not NIL
2021-12-23T09:30:37.215-0500 [TRACE] steampipe: DbClient.Close &{0 0xc00070dba8 0 {0 0} [0xc0001883f0] map[] 0 1 0xc0003222a0 false map[0xc0001883f0:map[0xc0001883f0:true]] map[] 1 1 0 0 <nil> 0 0 0 0 0x52a9c0}
2021-12-23T09:30:37.216-0500 [TRACE] steampipe: local client close complete
2021-12-23T09:30:37.216-0500 [TRACE] steampipe: shutdown local service query
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
If the Steampipe Service is running on your local workstation when you do an upgrade, then weird errors pop up in the console. The Steampipe client also would not start with this error message:
Error: rpc error: code = Unknown desc = no config loaded for connection
Describe the solution you'd like
Describe alternatives you've considered
The alternative is remember to stop the service before upgrading.
Additional context
Got these errors when upgradeing from 0.10.0 to 0.11.0
Reproduction steps:
Trace logs from Steampipe client with the mismatched client/service.
The text was updated successfully, but these errors were encountered: