From 74493d3043d95eacf8f0524c4edb8eb20e628466 Mon Sep 17 00:00:00 2001 From: Victor Lin <13424970+victorlin@users.noreply.github.com> Date: Sun, 28 Apr 2024 08:36:24 -0700 Subject: [PATCH] Give PostgreSQL role login permissions Fixes an error upon running the first script: FATAL: role "kemal" is not permitted to log in --- docs/installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/installation.md b/docs/installation.md index 6cfbfe3..338faf7 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -192,7 +192,7 @@ cd invidious ```bash brew services start postgresql createdb -psql -c "CREATE ROLE kemal WITH PASSWORD 'kemal';" # Change 'kemal' here to a stronger password, and update `password` in config/config.yml +psql -c "CREATE ROLE kemal WITH LOGIN PASSWORD 'kemal';" # Change 'kemal' here to a stronger password, and update `password` in config/config.yml createdb -O kemal invidious psql invidious kemal < config/sql/channels.sql psql invidious kemal < config/sql/videos.sql