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

Raspberry PI: initializing database failed #4272

Closed
andushow opened this issue May 12, 2024 · 5 comments
Closed

Raspberry PI: initializing database failed #4272

andushow opened this issue May 12, 2024 · 5 comments
Labels
bug Something isn't working stale No recent activity has been detected on this issue/PR and it will be closed

Comments

@andushow
Copy link

Describe the bug
Tryiong to start stemapipe as a process in raspberry pi


PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

Steampipe version (steampipe -v)
v0.23.1

To reproduce
steampipe service start

Expected behavior
service starts

Additional context

2024-05-12 09:21:06.689 UTC [INFO]  steampipe [a487]: steampipe start [a487]
2024-05-12 09:21:06.689 UTC [INFO]  steampipe [a487]: Version:   v0.23.1
2024-05-12 09:21:06.689 UTC [INFO]  steampipe [a487]: Log level: TRACE
2024-05-12 09:21:06.689 UTC [INFO]  steampipe [a487]: Log date:  2024-05-12
2024-05-12 09:21:06.689 UTC [INFO]  steampipe [a487]: ********************************************************
2024-05-12 09:21:06.691 UTC [TRACE] steampipe [a487]: parse complete after 1 decode passes
2024-05-12 09:21:06.691 UTC [TRACE] steampipe [a487]: ensureInstallDir /home/pi/.steampipe
2024-05-12 09:21:06.691 UTC [INFO]  steampipe [a487]: ensureDefaultConfigFile
2024-05-12 09:21:06.691 UTC [INFO]  steampipe [a487]: loadConfig is loading connection config
2024-05-12 09:21:06.692 UTC [INFO]  steampipe [a487]: loadConfig calling initializePlugins
2024-05-12 09:21:06.693 UTC [INFO]  steampipe [a487]: loadConfig is loading connection config
2024-05-12 09:21:06.694 UTC [TRACE] steampipe [a487]: startService - listenAddresses=["*"]
2024-05-12 09:21:06.738 UTC [TRACE] steampipe [a487]: initdb start: /home/pi/.steampipe/db/14.2.0/postgres/bin/initdb --auth=trust --username=root --pgdata=/home/pi/.steampipe/db/14.2.0/data --encoding=UTF-8
2024-05-12 09:21:06.739 UTC [TRACE] steampipe [a487]: initdb failed:
2024-05-12 09:21:06.739 UTC [TRACE] steampipe [a487]: initDatabase failed: fork/exec /home/pi/.steampipe/db/14.2.0/postgres/bin/initdb: no such file or directory
@andushow andushow added the bug Something isn't working label May 12, 2024
@e-gineer
Copy link
Contributor

Hey @andushow ... sorry to hear you hit a bump running Steampipe.

Questions:

  1. I'm curious, why are you using raspberry pi to run steampipe? Any specific use case?
  2. Does the /home/pi/.steampipe/db/14.2.0/postgres/bin/initdb file actually exist? The error says it does not.
  3. If you delete the entire /home/pi/.steampipe directory and try again, do you see the same error?

@andushow
Copy link
Author

First of all, is steampipe supposed to work on raspberry ?

@kaidaguerre
Copy link
Contributor

we have not tested Steampipe on a Raspberry Pi

Copy link

github-actions bot commented Aug 3, 2024

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 Aug 3, 2024
Copy link

github-actions bot commented Sep 2, 2024

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 Sep 2, 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

3 participants