Skip to content

Process for setting up immich on shared postgres without super user? #8327

Answered by cbc02009
cbc02009 asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks!

GRANT ALL ON SCHEMA vectors TO <immich username>;
GRANT SELECT ON TABLE pg_vector_index_stat to <immich username>;

finally did the trick!

So the final full list of commands is:

CREATE EXTENSION IF NOT EXISTS vectors;
CREATE EXTENSION IF NOT EXISTS earthdistance CASCADE;
ALTER DATABASE immich SET search_path TO "$user", public, vectors;
GRANT ALL ON SCHEMA vectors TO <immich username>;
GRANT SELECT ON TABLE pg_vector_index_stat to <immich username>;

It's possible one or more of them are unnecessary, but this worked for me.

Replies: 2 comments 24 replies

Comment options

You must be logged in to vote
18 replies
@mmomjian
Comment options

@cbc02009
Comment options

@mmomjian
Comment options

@cbc02009
Comment options

Answer selected by cbc02009
@mmomjian
Comment options

@cbc02009
Comment options

@mertalev
Comment options

Comment options

You must be logged in to vote
6 replies
@mmomjian
Comment options

@mertalev
Comment options

@mmomjian
Comment options

@mertalev
Comment options

@mmomjian
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants