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

Is there anyone could find a helm chart to install pgvector? #495

Closed
LinuxSuRen opened this issue Mar 19, 2024 · 4 comments
Closed

Is there anyone could find a helm chart to install pgvector? #495

LinuxSuRen opened this issue Mar 19, 2024 · 4 comments

Comments

@LinuxSuRen
Copy link

As mentioned in the title.

@ankane
Copy link
Member

ankane commented Mar 19, 2024

Hi @LinuxSuRen, there doesn't seem to be one on Artifact Hub. You could try using a Postgres one like this with a custom image with pgvector installed.

@LinuxSuRen
Copy link
Author

LinuxSuRen commented Mar 19, 2024

I got the following error when I install it via pgvector/pgvector:0.6.2-pg16. I'm wonderfing if I missed anything. Nothing changed exepct the custom image.

chmod: changing permissions of '/var/run/postgresql': Read-only file system
PostgreSQL Database directory appears to contain a database; Skipping initialization
2024-03-19 06:54:18.285 UTC [1] LOG:  starting PostgreSQL 15.4 (Debian 15.4-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
2024-03-19 06:54:18.285 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2024-03-19 06:54:18.285 UTC [1] LOG:  listening on IPv6 address "::", port 5432
2024-03-19 06:54:18.296 UTC [1] FATAL:  could not create lock file "/var/run/postgresql/.s.PGSQL.5432.lock": Read-only file system
2024-03-19 06:54:18.300 UTC [1] LOG:  database system is shut down

@ankane
Copy link
Member

ankane commented Mar 19, 2024

You'll probably want to add it to the default chart image (bitnami/postgresql) rather than replace it (bitnami/containers#32677). This is beyond the scope of the project, so please use other resources for help.

@ankane ankane closed this as completed Mar 19, 2024
@LinuxSuRen
Copy link
Author

Consider someone might have the similar situation, I just created an image which include this extension. Hopefully it is helpful to someone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants