Skip to content
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

steampipe fresh installation not working on Ubuntu 20.04 LTS #4117

Closed
paolo-losi opened this issue Feb 6, 2024 · 9 comments
Closed

steampipe fresh installation not working on Ubuntu 20.04 LTS #4117

paolo-losi opened this issue Feb 6, 2024 · 9 comments
Labels
bug Something isn't working stale No recent activity has been detected on this issue/PR and it will be closed

Comments

@paolo-losi
Copy link

Describe the bug
Fresh installation is install script does not work on ubuntu 20.04 LTS

Steampipe version (steampipe -v)
$ steampipe -v
Steampipe v0.21.5

To reproduce
$ steampipe plugin install steampipe

steampipe [====================================================================] Done

Installed plugin: steampipe@latest v0.10.0
Documentation: https://hub.steampipe.io/plugins/turbot/steampipe

$ steampipe query "select name from steampipe_registry_plugin;"
Warning: You have a mod.sp file in your home directory. This is not recommended.
As a result, steampipe will try to load all the files in home and its sub-directories, which can cause performance issues.
Best practice is to put mod.sp files in their own directories.
Hit Ctrl+C to stop.

Error: no rows in result set
$ find . -name "mod.sp"
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal

Additional context
recompiling from source with go 1.21.6 the warning disappears but the query still returns no rows

@paolo-losi paolo-losi added the bug Something isn't working label Feb 6, 2024
@paolo-losi paolo-losi changed the title steampipe fresh installation not working steampipe fresh installation not working on Ubuntu 20.04 LTS Feb 6, 2024
@pskrbasu
Copy link
Contributor

pskrbasu commented Feb 6, 2024

@paolo-losi Thank you for reporting.

I'll try to install it in Ubuntu 20.04 LTS and see if I can reproduce it.

@pskrbasu
Copy link
Contributor

pskrbasu commented Feb 6, 2024

@paolo-losi Seems like a bug we introduced in v0.21.5. We are working on a fix. Thanks ✌️

@pskrbasu
Copy link
Contributor

pskrbasu commented Feb 6, 2024

@paolo-losi v0.21.6 is released. I tried it out - seems to be working now!

@paolo-losi
Copy link
Author

I can confirm that I get no warnings now.
But I still get no rows:

`$ which steampipe
/usr/local/bin/steampipe
$ steampipe -v
Steampipe v0.21.6
$ steampipe plugin install steampipe

steampipe [====================================================================] Already installed

To update this plugin: steampipe plugin update steampipe
To update all plugins: steampipe plugin update --all

$ steampipe plugin update --all

turbot/net [====================================================================] Latest already installed
turbot/steampipe [====================================================================] Latest already installed

$ steampipe query "select name from steampipe_registry_plugin;"
Error: no rows in result set
$
`

@pskrbasu
Copy link
Contributor

pskrbasu commented Feb 7, 2024

@paolo-losi I ran the same query as above, but I did not get the error. I do get the result.

Can you try with STEAMPIPE_LOG=trace steampipe query "select name from steampipe_registry_plugin;" and check the logs in ~/.steampipe/logs/plugin-yyyy-mm-dd.log file? You might see some errors or warnings there.

@paolo-losi
Copy link
Author

here you have the logs for the command:

$ STEAMPIPE_LOG=trace steampipe query "select name from steampipe_registry_plugin;"

Thanks!

database-2024-02-07.log
steampipe-2024-02-07.log

@pskrbasu
Copy link
Contributor

pskrbasu commented Feb 12, 2024

@paolo-losi Do you not have any plugin-yyyy-mm-dd.log file?

Can you uninstall the steampipe plugin and re-install and try again with steampipe v0.21.7?

Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the stale No recent activity has been detected on this issue/PR and it will be closed label Apr 12, 2024
Copy link

This issue was closed because it has been stalled for 90 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale No recent activity has been detected on this issue/PR and it will be closed
Projects
None yet
Development

No branches or pull requests

2 participants